diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:09:43 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:09:43 +0200 |
commit | 694c7e47ece2cd322b0d2b57b88933a22d2734db (patch) | |
tree | c098b2104f1b76db60dd1f50de060c4439437fd8 | |
parent | 6824050190585821a13ce0f52d314986a25d6c2a (diff) | |
parent | b076314018e4b53d745823754a26eb6fb73a2801 (diff) |
Merge tag 'upstream/0.24.1'
Upstream version 0.24.1
324 files changed, 16138 insertions, 14968 deletions
@@ -1,6 +1,171 @@ -commit 2d300134b66139f3dc18577bedf83266a3e0b13c +commit c52724c3d00e0aecaf98402c83b51e0cd5c9a6be Author: Jens Georg <mail@jensge.org> -Date: Sun Sep 18 20:02:34 2016 +0200 +Date: Sun Oct 16 22:32:17 2016 +0200 + + Prepare Shotwell 0.24.1 + + Signed-off-by: Jens Georg <mail@jensge.org> + +M NEWS +M configure.ac +M debian/changelog + +commit 0be5c1be430cdc6b4ee7af0d0e52e10888b07a55 +Author: Jens Georg <mail@jensge.org> +Date: Sun Oct 16 22:20:14 2016 +0200 + + Enable SQL debugging through environment variable + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/db/DatabaseTable.vala + +commit f79f3dd46473655b17bcf52ca3a8fadcf58502a5 +Author: Jens Georg <mail@jensge.org> +Date: Sun Oct 9 18:42:17 2016 +0200 + + piwigo: Fix creation of new albums + + Boolean is hard, to many states. Regression introduced by + 9d2b698023366e95baddbb677118a50e27bd6e8e + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=772648 + +M plugins/shotwell-publishing/PiwigoPublishing.vala + +commit 42a2189a53163391f4776ba6e6c433d1aabbdf5e +Author: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Sat Oct 8 17:27:59 2016 +0200 + + photos: Fix build with vala git + + Default values must be at least as accessible as the methods which + require + them. + +M src/photos/PhotoMetadata.vala + +commit e8c60ee6ca74977bc28e1d5650f9c9d5c09e5e71 +Author: Jens Georg <mail@jensge.org> +Date: Mon Oct 3 22:12:01 2016 +0200 + + piwigo: Prevent a critical + + Signed-off-by: Jens Georg <mail@jensge.org> + +M plugins/shotwell-publishing/PiwigoPublishing.vala + +commit 0dd5368e0b33c22e3fb196b2776d56988aca0572 +Author: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Fri Sep 30 18:58:54 2016 +0200 + + Fix non-matching generic types of inferface implementations + +M src/Tag.vala + +commit 15fb6e8945c27915d1d3b934f2a3ee81daaea63d +Author: Jens Georg <mail@jensge.org> +Date: Wed Sep 28 23:32:01 2016 +0200 + + Remove warning about obsolete style property + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/Resources.vala + +commit a9104c1cf1ab2c586f1639536a50823019d026eb +Author: Jens Georg <mail@jensge.org> +Date: Wed Sep 28 23:11:32 2016 +0200 + + Fix focus handling of fullscreen viewer + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=771969 + +M src/AppWindow.vala + +commit 147b6c87a0a6be6fa0d0e7b93313a13679ba2614 +Author: Jens Georg <mail@jensge.org> +Date: Sat Sep 17 08:33:23 2016 +0200 + + Fix side-casting issues in generics handling + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/MediaDataRepresentation.vala +M src/MediaMonitor.vala +M src/PhotoPage.vala +M src/Tag.vala +M src/core/ContainerSourceCollection.vala +M src/core/ViewCollection.vala + +commit 7424c5ddadfaee627641cd884423a32fa5afc330 +Author: Jens Georg <mail@jensge.org> +Date: Wed Sep 21 21:00:47 2016 +0200 + + Add debug output of shotwell's current timezone + + Support debugging of date/time related issues + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/main.vala + +commit 7c1872f9353b1c0c067c1599f74460571db35145 +Author: Jens Georg <mail@jensge.org> +Date: Wed Sep 21 20:56:07 2016 +0200 + + Add debug log when shifting events + + This is to better be able to determine whether the event duplication + reported + in several bugs is happening due to event shifting + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/Event.vala + +commit 230a0b28eb7b0a671ac549e85329beefddbc06eb +Author: Mario Blättermann <mario.blaettermann@gmail.com> +Date: Sun Sep 25 17:16:35 2016 +0000 + + Updated German translation + +M help/de/de.po + +commit f4b68102e46f3fa896438db753b39f4b413107bb +Author: Rafael Fontenelle <rafaelff@gnome.org> +Date: Fri Sep 23 00:32:10 2016 +0000 + + Updated Brazilian Portuguese translation + +M po/pt_BR.po + +commit 3fca18c23cb133590be1b472cc4b22f8effc81a7 +Author: Anders Jonsson <anders.jonsson@norsjovallen.se> +Date: Wed Sep 21 11:30:53 2016 +0000 + + Updated Swedish translation + +M help/sv/sv.po + +commit 332173cf4a3e7110afc2a42b127f9e8c37b33369 +Author: Jens Georg <mail@jensge.org> +Date: Tue Sep 20 21:02:10 2016 +0200 + + Prepare Shotwell 0.24 + + Signed-off-by: Jens Georg <mail@jensge.org> + +M NEWS +M configure.ac + +commit 4b1dd6efebe919772914bffd8e6597e7780d378c +Author: Jens Georg <mail@jensge.org> +Date: Sun Sep 18 20:02:34 2016 +0200 Fix leak while scrolling @@ -8,43 +173,33 @@ Date: Sun Sep 18 20:02:34 2016 +0200 M src/core/DataObject.vala -commit 14b8ae055f24b81b802ec83fcd2487c03a17630f +commit 728b17e779c2c27941ecfa74037beb1025f85fe6 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 611ccd55e58b40ab6a4a718a154ea0d001d8e433 +commit 792debb70a038c4a4ae0ef7c68999aace045c516 Author: Marek Černocký <marek@manet.cz> -Date: Mon Sep 19 08:50:33 2016 +0200 +Date: Mon Sep 19 08:52:56 2016 +0200 Updated Czech translation M po/cs.po -commit c569aec6cd42816b39c81c0da65c5e8790915bd5 +commit 0f346cc9cc410ede68f8b8d6abe113792f87a3e1 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 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 +commit 5ffc5577fddd4bcfab878ec06df7b980afd0a3fc Author: Marek Černocký <marek@manet.cz> -Date: Tue Sep 13 11:17:45 2016 +0200 +Date: Tue Sep 13 11:17:14 2016 +0200 Updated Czech translation @@ -14181,7 +14336,7 @@ Date: Tue Oct 18 12:10:10 2011 -0700 Updates NEWS, debian/changelog, and Makefile for the 0.11.5 release. Conflicts: - Makefile + Makefile M Makefile M NEWS @@ -14205,7 +14360,7 @@ Date: Thu Oct 13 13:01:31 2011 -0700 preparation for the Shotwell 0.11.4 release. Conflicts: - Makefile + Makefile M Makefile M NEWS diff --git a/Makefile.in b/Makefile.in index 2967050..7768d35 100644 --- a/Makefile.in +++ b/Makefile.in @@ -5899,15 +5899,6 @@ thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.ob @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='thumbnailer/shotwell-video-thumbnailer.c' object='thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(thumbnailer_shotwell_video_thumbnailer_CFLAGS) $(CFLAGS) -c -o thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj `if test -f 'thumbnailer/shotwell-video-thumbnailer.c'; then $(CYGPATH_W) 'thumbnailer/shotwell-video-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c'; fi` -$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c: $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \ - fi -$(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwell-video-thumbnailer.vala - $(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)/src/unit/Unit.c: $(srcdir)/shotwell_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/shotwell_vala.stamp; fi @if test -f $@; then :; else \ @@ -6867,29 +6858,102 @@ $(srcdir)/shotwell_vala.stamp: src/unit/Unit.vala src/util/Util.vala src/util/fi $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(shotwell_VALAFLAGS) $(VALAFLAGS) -C src/unit/Unit.vala src/util/Util.vala src/util/file.vala src/util/image.vala src/util/misc.vala src/util/string.vala src/util/system.vala src/util/KeyValueMap.vala src/util/ui.vala src/threads/Threads.vala src/threads/Workers.vala src/threads/BackgroundJob.vala src/threads/Semaphore.vala src/db/Db.vala src/db/DatabaseTable.vala src/db/PhotoTable.vala src/db/EventTable.vala src/db/TagTable.vala src/db/TombstoneTable.vala src/db/VideoTable.vala src/db/VersionTable.vala src/db/SavedSearchDBTable.vala src/editing_tools/EditingTools.vala src/editing_tools/StraightenTool.vala src/slideshow/Slideshow.vala src/slideshow/TransitionEffects.vala src/photos/Photos.vala src/photos/PhotoFileAdapter.vala src/photos/PhotoFileFormat.vala src/photos/PhotoFileSniffer.vala src/photos/PhotoMetadata.vala src/photos/GRaw.vala src/photos/GdkSupport.vala src/photos/JfifSupport.vala src/photos/BmpSupport.vala src/photos/RawSupport.vala src/photos/PngSupport.vala src/photos/TiffSupport.vala src/plugins/Plugins.vala src/plugins/StandardHostInterface.vala src/plugins/ManifestWidget.vala src/publishing/Publishing.vala src/publishing/PublishingUI.vala src/publishing/PublishingPluginHost.vala src/publishing/APIGlue.vala src/library/Library.vala src/library/LibraryWindow.vala src/library/Branch.vala src/library/TrashSidebarEntry.vala src/library/OfflineSidebarEntry.vala src/library/FlaggedSidebarEntry.vala src/library/LastImportSidebarEntry.vala src/library/ImportQueueSidebarEntry.vala src/library/FlaggedPage.vala src/library/ImportQueuePage.vala src/library/LastImportPage.vala src/library/OfflinePage.vala src/library/TrashPage.vala src/direct/Direct.vala src/direct/DirectWindow.vala src/direct/DirectPhoto.vala src/direct/DirectPhotoPage.vala src/direct/DirectView.vala src/core/Core.vala src/core/DataCollection.vala src/core/DataSet.vala src/core/util.vala src/core/SourceCollection.vala src/core/SourceHoldingTank.vala src/core/DatabaseSourceCollection.vala src/core/ContainerSourceCollection.vala src/core/ViewCollection.vala src/core/DataObject.vala src/core/Alteration.vala src/core/DataSource.vala src/core/DataSourceTypes.vala src/core/DataView.vala src/core/DataViewTypes.vala src/core/Tracker.vala src/core/SourceInterfaces.vala src/sidebar/Sidebar.vala src/sidebar/Branch.vala src/sidebar/Entry.vala src/sidebar/Tree.vala src/sidebar/common.vala src/events/Events.vala src/events/Branch.vala src/events/EventsDirectoryPage.vala src/events/EventPage.vala src/events/EventDirectoryItem.vala src/tags/Tags.vala src/tags/Branch.vala src/tags/TagPage.vala src/tags/HierarchicalTagIndex.vala src/tags/HierarchicalTagUtilities.vala src/camera/Camera.vala src/camera/Branch.vala src/camera/CameraTable.vala src/camera/GPhoto.vala src/camera/ImportPage.vala src/searches/Searches.vala src/searches/Branch.vala src/searches/SearchBoolean.vala src/searches/SavedSearchPage.vala src/searches/SavedSearchDialog.vala src/config/Config.vala src/config/ConfigurationInterfaces.vala src/config/GSettingsEngine.vala src/data_imports/DataImports.vala src/data_imports/DataImportsPluginHost.vala src/data_imports/DataImportsUI.vala src/data_imports/DataImportJob.vala src/data_imports/DataImportSource.vala src/folders/Folders.vala src/folders/Branch.vala src/folders/Page.vala src/main.vala src/AppWindow.vala src/CollectionPage.vala src/NaturalCollate.vala src/Thumbnail.vala src/ThumbnailCache.vala src/CheckerboardLayout.vala src/PhotoPage.vala src/Page.vala src/SortedList.vala src/Dimensions.vala src/Box.vala src/Photo.vala src/Orientation.vala src/BatchImport.vala src/Dialogs.vala src/Resources.vala src/Debug.vala src/ColorTransformation.vala src/Properties.vala src/CustomComponents.vala src/Event.vala src/International.vala src/AppDirs.vala src/PixbufCache.vala src/CommandManager.vala src/Commands.vala src/SlideshowPage.vala src/LibraryFiles.vala src/Printing.vala src/Tag.vala src/Screensaver.vala src/Exporter.vala src/DirectoryMonitor.vala src/LibraryMonitor.vala src/VideoSupport.vala src/Tombstone.vala src/MetadataWriter.vala src/Application.vala src/TimedQueue.vala src/MediaPage.vala src/MediaDataRepresentation.vala src/DesktopIntegration.vala src/MediaInterfaces.vala src/MediaMetadata.vala src/VideoMetadata.vala src/MediaMonitor.vala src/PhotoMonitor.vala src/VideoMonitor.vala src/SearchFilter.vala src/MediaViewTracker.vala src/UnityProgressBar.vala src/Upgrades.vala src/.unitize/_UnitInternals.vala src/.unitize/_UtilInternals.vala src/.unitize/_ThreadsInternals.vala src/.unitize/_DbInternals.vala src/.unitize/_EditingToolsInternals.vala src/.unitize/_PluginsInternals.vala src/.unitize/_SlideshowInternals.vala src/.unitize/_PhotosInternals.vala src/.unitize/_PublishingInternals.vala src/.unitize/_LibraryInternals.vala src/.unitize/_DirectInternals.vala src/.unitize/_CoreInternals.vala src/.unitize/_SidebarInternals.vala src/.unitize/_EventsInternals.vala src/.unitize/_TagsInternals.vala src/.unitize/_CameraInternals.vala src/.unitize/_SearchesInternals.vala src/.unitize/_ConfigInternals.vala src/.unitize/_DataImportsInternals.vala src/.unitize/_FoldersInternals.vala src/.unitize/_Library_unitize_entry.vala src/.unitize/_Direct_unitize_entry.vala plugins/shotwell-plugin-dev-1.0.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 +$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c: $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \ fi -$(srcdir)/src/plugins/TransitionsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi +$(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwell-video-thumbnailer.vala + $(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-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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ fi -$(srcdir)/src/plugins/PublishingInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ fi -$(srcdir)/src/plugins/DataImportsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-data-imports/FSpotDatabase.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ fi -$(srcdir)/src_plugins_libplugin_la_vala.stamp: src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala +$(srcdir)/plugins/shotwell-data-imports/FSpotImporter.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotMetaTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotPhotosTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotPhotoTagsTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotRollsTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotTableBehavior.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/FSpotTagsTable.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/shotwell-data-imports.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/SqliteSupport.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-data-imports/VersionNumber.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 \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ + fi +$(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp: plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala plugins/shotwell-data-imports/FSpotDatabaseTable.vala plugins/shotwell-data-imports/FSpotDatabase.vala plugins/shotwell-data-imports/FSpotImporter.vala plugins/shotwell-data-imports/FSpotMetaTable.vala plugins/shotwell-data-imports/FSpotPhotosTable.vala plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala plugins/shotwell-data-imports/FSpotRollsTable.vala plugins/shotwell-data-imports/FSpotTableBehavior.vala plugins/shotwell-data-imports/FSpotTagsTable.vala plugins/shotwell-data-imports/shotwell-data-imports.vala plugins/shotwell-data-imports/SqliteSupport.vala plugins/shotwell-data-imports/VersionNumber.vala plugins/shotwell-plugin-common.vapi $(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_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_data_imports_shotwell_data_imports_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala plugins/shotwell-data-imports/FSpotDatabaseTable.vala plugins/shotwell-data-imports/FSpotDatabase.vala plugins/shotwell-data-imports/FSpotImporter.vala plugins/shotwell-data-imports/FSpotMetaTable.vala plugins/shotwell-data-imports/FSpotPhotosTable.vala plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala plugins/shotwell-data-imports/FSpotRollsTable.vala plugins/shotwell-data-imports/FSpotTableBehavior.vala plugins/shotwell-data-imports/FSpotTagsTable.vala plugins/shotwell-data-imports/shotwell-data-imports.vala plugins/shotwell-data-imports/SqliteSupport.vala plugins/shotwell-data-imports/VersionNumber.vala plugins/shotwell-plugin-common.vapi + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/common/RESTSupport.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_common_libshotwell_plugin_common_la_vala.stamp; \ + fi +$(srcdir)/plugins/common/Resources.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_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 @@ -6950,6 +7014,30 @@ $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugi $(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_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 + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/TransitionsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/PublishingInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/DataImportsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src_plugins_libplugin_la_vala.stamp: src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala + $(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 @if test -f $@; then :; else \ @@ -6979,94 +7067,6 @@ $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala. $(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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotDatabase.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotImporter.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotMetaTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotPhotosTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotPhotoTagsTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotRollsTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotTableBehavior.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/FSpotTagsTable.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/shotwell-data-imports.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/SqliteSupport.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-data-imports/VersionNumber.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 \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; \ - fi -$(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp: plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala plugins/shotwell-data-imports/FSpotDatabaseTable.vala plugins/shotwell-data-imports/FSpotDatabase.vala plugins/shotwell-data-imports/FSpotImporter.vala plugins/shotwell-data-imports/FSpotMetaTable.vala plugins/shotwell-data-imports/FSpotPhotosTable.vala plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala plugins/shotwell-data-imports/FSpotRollsTable.vala plugins/shotwell-data-imports/FSpotTableBehavior.vala plugins/shotwell-data-imports/FSpotTagsTable.vala plugins/shotwell-data-imports/shotwell-data-imports.vala plugins/shotwell-data-imports/SqliteSupport.vala plugins/shotwell-data-imports/VersionNumber.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_data_imports_shotwell_data_imports_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala plugins/shotwell-data-imports/FSpotDatabaseTable.vala plugins/shotwell-data-imports/FSpotDatabase.vala plugins/shotwell-data-imports/FSpotImporter.vala plugins/shotwell-data-imports/FSpotMetaTable.vala plugins/shotwell-data-imports/FSpotPhotosTable.vala plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala plugins/shotwell-data-imports/FSpotRollsTable.vala plugins/shotwell-data-imports/FSpotTableBehavior.vala plugins/shotwell-data-imports/FSpotTagsTable.vala plugins/shotwell-data-imports/shotwell-data-imports.vala plugins/shotwell-data-imports/SqliteSupport.vala plugins/shotwell-data-imports/VersionNumber.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/common/RESTSupport.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_common_libshotwell_plugin_common_la_vala.stamp; \ - fi -$(srcdir)/plugins/common/Resources.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_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-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 \ @@ -1,3 +1,36 @@ +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 + +Bugs fixed in this release: + - https://bugzilla.gnome.org/show_bug.cgi?id=771969 + - https://bugzilla.gnome.org/show_bug.cgi?id=772648 + +All contributors to this release: + - Jens Georg <mail@jensge.org> + - Rico Tzschichholz <ricotz@ubuntu.com> + - Marek Černocký <marek@manet.cz> + - Rafael Fontenelle <rafaelff@gnome.org> + - Mario Blättermann <mario.blaettermann@gmail.com> + - Christian Kirbach <Christian.Kirbach@gmail.com> + - Bernd Homuth <dev@hmt.im> + - Anders Jonsson <anders.jonsson@norsjovallen.se> + +Added/updated translations + - cs, courtesy of Marek Černocký + - de, courtesy of Bernd Homuth + - de, courtesy of Christian Kirbach + - pt_BR, courtesy of Rafael Fontenelle + - sv, courtesy of Anders Jonsson + Shotwell 0.24.0 - 20 Sep 2016 * Fix a memory leak in library mode * Translation updates diff --git a/build-aux/config.guess b/build-aux/config.guess index 1659250..0967f2a 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2015 Free Software Foundation, Inc. +# Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2015-08-20' +timestamp='2016-04-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ timestamp='2015-08-20' # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to <config-patches@gnu.org>. @@ -50,7 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2015 Free Software Foundation, Inc. +Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -237,6 +237,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} + exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; @@ -268,42 +272,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; + UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; + UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; + UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; + UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; + UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; + UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; + UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; + UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; + UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 @@ -376,16 +380,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build - SUN_ARCH="i386" + SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then - SUN_ARCH="x86_64" + SUN_ARCH=x86_64 fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` @@ -410,7 +414,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} @@ -635,13 +639,13 @@ EOF sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi @@ -680,11 +684,11 @@ EOF exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac - if [ ${HP_ARCH} = "hppa2.0w" ] + if [ ${HP_ARCH} = hppa2.0w ] then eval $set_cc_for_build @@ -697,12 +701,12 @@ EOF # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then - HP_ARCH="hppa2.0w" + HP_ARCH=hppa2.0w else - HP_ARCH="hppa64" + HP_ARCH=hppa64 fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} @@ -807,14 +811,14 @@ EOF echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) @@ -896,7 +900,7 @@ EOF exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix @@ -919,7 +923,7 @@ EOF EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) @@ -965,6 +969,9 @@ EOF ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; + k1om:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; @@ -1120,7 +1127,7 @@ EOF # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that + # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; @@ -1269,6 +1276,9 @@ EOF SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; @@ -1282,9 +1292,9 @@ EOF UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in @@ -1306,7 +1316,7 @@ EOF exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then + if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi @@ -1337,7 +1347,7 @@ EOF # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. - if test "$cputype" = "386"; then + if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" @@ -1379,7 +1389,7 @@ EOF echo i386-pc-xenix exit ;; i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos @@ -1390,6 +1400,9 @@ EOF x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; esac cat >&2 <<EOF @@ -1399,9 +1412,9 @@ This script, last modified $timestamp, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If the version you run ($0) is already up to date, please send the following data and any information you think might be diff --git a/build-aux/config.sub b/build-aux/config.sub index 1acc966..8d39c4b 100755 --- a/build-aux/config.sub +++ b/build-aux/config.sub @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2015 Free Software Foundation, Inc. +# Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2015-08-20' +timestamp='2016-03-30' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ timestamp='2015-08-20' # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -53,8 +53,7 @@ timestamp='2015-08-20' me=`echo "$0" | sed -e 's,.*/,,'` usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS +Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. @@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>." version="\ GNU config.sub ($timestamp) -Copyright 1992-2015 Free Software Foundation, Inc. +Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -521,7 +520,7 @@ case $basic_machine in basic_machine=i386-pc os=-aros ;; - asmjs) + asmjs) basic_machine=asmjs-unknown ;; aux) @@ -1383,7 +1382,7 @@ case $os in | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -bitrig* | -openbsd* | -solidbsd* \ + | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ @@ -1399,7 +1398,8 @@ case $os in | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ + | -onefs* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1531,6 +1531,8 @@ case $os in ;; -nacl*) ;; + -ios) + ;; -none) ;; *) diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh index 147d758..2ad8be8 100644 --- a/build-aux/ltmain.sh +++ b/build-aux/ltmain.sh @@ -31,7 +31,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION="2.4.6 Debian-2.4.6-0.1" +VERSION="2.4.6 Debian-2.4.6-1" package_revision=2.4.6 @@ -1977,7 +1977,7 @@ func_version () # End: # Set a version string. -scriptversion='(GNU libtool) 2.4.6' +scriptversion='(GNU libtool) 2.4.6 Debian-2.4.6-1' # func_echo ARG... @@ -2068,7 +2068,7 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname (GNU libtool) 2.4.6 + version: $progname $scriptversion automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` @@ -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.0. +# Generated by GNU Autoconf 2.69 for shotwell 0.24.1. # # 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.0' -PACKAGE_STRING='shotwell 0.24.0' +PACKAGE_VERSION='0.24.1' +PACKAGE_STRING='shotwell 0.24.1' 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.0 to adapt to many kinds of systems. +\`configure' configures shotwell 0.24.1 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.0:";; + short | recursive ) echo "Configuration of shotwell 0.24.1:";; 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.0 +shotwell configure 0.24.1 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.0, which was +It was created by shotwell $as_me 0.24.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2459,12 +2459,12 @@ MAJOR_VERSION=0 MINOR_VERSION=24 -MICRO_VERSION=0 +MICRO_VERSION=1 API_VERSION=0 -GITVER=2d300134b66139f3dc18577bedf83266a3e0b13c +GITVER=fe5852f0f0767240c61872b0fdc3994f2dd23f63 if test "x$GITVER" != "x"; then @@ -2962,7 +2962,7 @@ fi # Define the identity of the package. PACKAGE='shotwell' - VERSION='0.24.0' + VERSION='0.24.1' cat >>confdefs.h <<_ACEOF @@ -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.0, which was +This file was extended by shotwell $as_me 0.24.1, 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.0 +shotwell config.status 0.24.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -18929,7 +18929,6 @@ $as_echo X"$file" | cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. diff --git a/configure.ac b/configure.ac index 16868bc..febc024 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl Define Versioning Information dnl *********************************************************************** m4_define([major_version],[0]) m4_define([minor_version],[24]) -m4_define([micro_version],[0]) +m4_define([micro_version],[1]) 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]) diff --git a/help/cs/cs.po b/help/cs/cs.po index c5a71d8..5041148 100644 --- a/help/cs/cs.po +++ b/help/cs/cs.po @@ -5,8 +5,8 @@ # msgid "" msgstr "" -"Project-Id-Version: shotwell master\n" -"POT-Creation-Date: 2016-09-04 08:44+0000\n" +"Project-Id-Version: shotwell shotwell-0.24\n" +"POT-Creation-Date: 2016-09-12 19:32+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/help/de/de.po b/help/de/de.po index 5681a4a..8bd848e 100644 --- a/help/de/de.po +++ b/help/de/de.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: shotwell shotwell-0.20\n" -"POT-Creation-Date: 2016-08-18 20:06+0000\n" -"PO-Revision-Date: 2016-08-23 20:48+0200\n" +"POT-Creation-Date: 2016-09-23 00:32+0000\n" +"PO-Revision-Date: 2016-09-25 11:04+0200\n" "Last-Translator: Christian Kirbach <christian.kirbach@gmail.com>\n" "Language-Team: German <gnome-de@gnome.org>\n" "Language: de\n" @@ -17,7 +17,7 @@ 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.8\n" +"X-Generator: Poedit 1.8.9\n" #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 msgctxt "_" @@ -46,6 +46,11 @@ msgid "" "intensity thresholds of the photograph, expanding the contrast of the middle " "range." msgstr "" +"Der <gui>Anpassen</gui>-Knopf öffnet ein schwebendes Fenster mit einem " +"Histogramm und Schiebereglern zum Verändern der Belichtung, Sättigung, " +"Farbton, Farbtemperatur und Schatten. Das Histogramm verfügt außerdem über " +"Schieberegler zum Anpassen der oberen und unteren Intensitäts-Schwellwerte " +"des Fotos, wodurch der Mittenkontrast erweitert wird." #. (itstool) path: page/p #: C/edit-adjustments.page:16 @@ -53,6 +58,8 @@ msgid "" "The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to " "improve the quality of a photo." msgstr "" +"Der <gui>Verbessern</gui>-Knopf passt das Histogramm und die Schatten-" +"Schieberegler an, um die Qualität eines Fotos zu verbessern." #. (itstool) path: page/p #: C/edit-adjustments.page:18 @@ -61,6 +68,11 @@ msgid "" "to save the changes. <gui>Reset</gui> will return the image to its original " "state. <gui>Cancel</gui> discards all changes you've made." msgstr "" +"Wenn die Farben und der Kontrast des Fotos Ihren Vorstellungen entsprechen, " +"klicken Sie auf <gui>OK</gui>, um die Änderungen zu speichern. Durch " +"<gui>Zurücksetzen</gui> wird das Bild in seinen ursprünglichen Zustand " +"zurückversetzt. <gui>Abbrechen</gui> verwirft alle von Ihnen vorgenommenen " +"Änderungen." #. (itstool) path: section/title #: C/edit-adjustments.page:21 @@ -93,6 +105,10 @@ msgid "" "Changes how vivid colors look. If your photo looks gray and washed out, try " "increasing the saturation. If colors look too bold, try decreasing it." msgstr "" +"Dadurch wird bestimmt, wie lebendig Farben wirken. Wenn Ihr Foto grau und " +"ausgewaschen erscheint, sollten Sie die Sättigung erhöhen. Wenn sich Farben " +"zu sehr in den Vordergrund setzen, sollten Sie versuchen, die Sättigung zu " +"verringern." #. (itstool) path: item/title #: C/edit-adjustments.page:32 @@ -107,6 +123,10 @@ msgid "" "color cast. For example, photos taken outdoors with the white balance set to " "\"Tungsten\" may have a blue cast." msgstr "" +"Dies färbt das Foto mit einer Farbe ein. Es ist sinnvoll beim Korrigieren " +"von Fotos mit falschen Weißabgleich-Einstellungen, die typischerweise " +"unnatürliche Farbstiche hervorrufen. Beispielsweise werden im Freien mit der " +"Einstellung »Glühlampenlicht« aufgenommene Fotos einen Blaustich aufweisen." #. (itstool) path: item/title #: C/edit-adjustments.page:36 @@ -119,6 +139,8 @@ msgid "" "Changes how \"warm\" or \"cool\" the picture looks. Use this to make cold, " "depressing scenes look more lively, for example." msgstr "" +"Dadurch wird bestimmt, wie »warm« oder »kühl« das Bild aussieht. Sie können " +"damit beispielsweise kühle, depressive Szenen lebendiger wirken lassen." #. (itstool) path: item/title #: C/edit-adjustments.page:40 @@ -131,11 +153,13 @@ msgid "" "This makes shadowy areas appear lighter. Use this to make detail more " "visible if it's obscured by the darkness of a shadow." msgstr "" +"Dadurch erscheinen Schattenbereiche heller. Sie können damit Strukturen " +"hervorheben, die in einem Schattenbereich verdeckt sind." #. (itstool) path: item/title #: C/edit-adjustments.page:44 msgid "Intensity Threshold (sliders on the histogram)" -msgstr "" +msgstr "Schwellwert der Intensität (Schieberegler im Histogramm)" #. (itstool) path: item/p #: C/edit-adjustments.page:45 @@ -144,6 +168,10 @@ msgid "" "darkest black is. Use them to change the contrast of the photo. Photos which " "look washed out should particularly benefit from changing these settings." msgstr "" +"Diese Schieberegler bestimmen, wie hell das hellste Weiß und wie dunkel das " +"dunkelste Schwarz dargestellt werden. Sie können damit den Kontrast eines " +"Fotos verändern. Insbesondere ausgewaschen erscheinende Bilder werden von " +"diesen Einstellungen profitieren." #. (itstool) path: media #. This is a reference to an external file such as an image or video. When @@ -151,9 +179,6 @@ msgstr "" #. update your localized copy. The msgstr is not used at all. Set it to #. whatever you like once you have updated your copy of the file. #: C/edit-crop.page:42 -#, fuzzy -#| msgid "" -#| "@@image: 'figures/crop_thirds.jpg'; md5=4cf0a026bb812c7eab0c9db8210a9524" msgctxt "_" msgid "" "external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'" @@ -163,11 +188,12 @@ msgstr "original" #: C/edit-crop.page:7 msgid "Improve the composition of a photo by cutting out parts of it." msgstr "" +"Verbessern Sie die Bildkomposition, indem Sie Teile davon herausschneiden." #. (itstool) path: page/title #: C/edit-crop.page:12 msgid "Cropping" -msgstr "Bild wird zugeschnitten" +msgstr "Zuschneiden" #. (itstool) path: page/p #: C/edit-crop.page:14 @@ -176,6 +202,10 @@ msgid "" "smaller portion of it, use the Crop tool. The crop tool is only available in " "full-window or fullscreen mode." msgstr "" +"Um den sichtbaren Bereich eines Bildes zu verkleinern und so das Interesse " +"des Betrachters auf einen kleineren Bereich zu lenken, verwenden Sie das " +"Zuschneidewerkzeug. Dieses Werkzeug ist nur im Vollfenster- oder " +"Vollbildmodus verfügbar." #. (itstool) path: item/p #: C/edit-crop.page:19 @@ -183,6 +213,9 @@ msgid "" "Double-click on a photo to enter full-window mode, then press the <gui>Crop</" "gui> button on the toolbar." msgstr "" +"Klicken Sie doppelt auf ein Foto, um den Vollfenstermodus zu aktivieren und " +"klicken Sie anschließend auf den <gui>Zuschneiden</gui>-Knopf in der " +"Werkzeugleiste." #. (itstool) path: item/p #: C/edit-crop.page:22 @@ -191,6 +224,9 @@ msgid "" "portion of the photo within the crop rectangle represents what the photo " "will look like when you crop it." msgstr "" +"Ein weißer rechteckiger Zuschnittrahmen wird über das Foto gelegt. Der etwas " +"hellere Bereich des Bildes innerhalb des Zuschnittrahmens repräsentiert das " +"Foto, wie es nach dem Zuschneiden aussehen würde." #. (itstool) path: item/p #: C/edit-crop.page:25 @@ -200,6 +236,11 @@ msgid "" "move and adjust the crop box, you'll see four lines appear inside it, like a " "tic-tac-toe grid. These are <em>rule of thirds</em> lines." msgstr "" +"Wenn Sie den Mauszeiger in der Mitte des Zuschnittrahmens platzieren, können " +"Sie den gesamten Rahmen verschieben. Beim Ziehen der Rahmenecken mit der " +"Maus wird dessen Größe verändert. Während Sie die Größe oder Lage des " +"Zuschnittrahmens verändern, werden darin vier Linien wie in einem Tic-Tac-" +"Toe-Spielfeld angezeigt. Diese entsprechen der <em>Drittelregel</em>." #. (itstool) path: item/p #: C/edit-crop.page:26 @@ -209,6 +250,10 @@ msgid "" "button next to it, the orientation of the constraint will switch (from " "landscape to portrait)." msgstr "" +"Sie können den Zuschnittrahmen auf zahlreiche gängige Größen eingrenzen. " +"Wählen Sie eine Größe aus der Auswahlliste, die Ihren Erfordernissen " +"entspricht. Wenn Sie auf den Umdrehen-Knopf daneben klicken, wechselt die " +"Ausrichtung der ausgewählten Form (von Quer- auf Hochformat)." #. (itstool) path: item/p #: C/edit-crop.page:29 @@ -216,6 +261,9 @@ msgid "" "When you're happy with your crop outline, apply it by pressing the " "<gui>Crop</gui> button. Shotwell will display the cropped photo." msgstr "" +"Sobald Sie mit Größe und Bereich des Zuschnittrahmens zufrieden sind, " +"klicken Sie auf den <gui>Zuschneiden</gui>-Knopf. Shotwell zeigt nun das " +"zugeschnittene Bild an." #. (itstool) path: item/p #: C/edit-crop.page:32 @@ -223,6 +271,8 @@ msgid "" "If you change your mind, press the <gui>Crop</gui> button again and fine-" "tune the crop." msgstr "" +"Sollten Sie noch etwas ändern wollen, klicken Sie nochmals auf den " +"<gui>Zuschneiden</gui>-Knopf und passen den Rahmen erneut an." #. (itstool) path: item/p #: C/edit-crop.page:33 @@ -230,6 +280,8 @@ msgid "" "If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will " "return to the photo's previous crop dimensions." msgstr "" +"Wenn Sie auf <gui>Abbrechen</gui> statt auf <gui>Anwenden</gui> klicken, " +"kehrt Shotwell zu den vorherigen Abmessungen zurück." #. (itstool) path: section/title #: C/edit-crop.page:38 @@ -254,6 +306,13 @@ msgid "" "Paying attention to the way features flow from one part of the grid to " "another can also help." msgstr "" +"Gehen wir davon aus, dass die Szene durch zwei horizontale und zwei " +"vertikale Linien in ein 3x3-Raster mit gleichen Flächen unterteilt ist. " +"Entsprechend der Drittelregel erhalten Sie sehr wahrscheinlich eine " +"ansprechendere Bildkomposition, wenn Sie bestimmte Anhaltspunkte, wie den " +"Horizont oder den Körper einer Person, an einer dieser Linien ausrichten. " +"Außerdem kann es hilfreich sein, darauf zu achten, wie markante Bildteile " +"von einem Bereich des Rasters in einen anderen übergehen." #. (itstool) path: section/p #: C/edit-crop.page:41 @@ -261,6 +320,8 @@ msgid "" "Cropping a photo so that it conforms to the rule of thirds often results in " "a more visually appealing image." msgstr "" +"Das Zuschneiden eines Fotos so, dass die Bildobjekte der Drittelregel " +"folgen, führt oft zu einem optisch ansprechenderen Bild." #. (itstool) path: media/p #: C/edit-crop.page:43 @@ -268,12 +329,16 @@ msgid "" "Cropping a photo, using the \"rule of thirds\" lines to improve the " "composition." msgstr "" +"Schneiden Sie ein Foto mit den Hilfslinien der »Drittelregel« zu, um die " +"Komposition zu verbessern." #. (itstool) path: info/desc #: C/edit-enhance.page:7 msgid "" "Let Shotwell improve the brightness and contrast of a photo automatically." msgstr "" +"Lassen Sie die Helligkeit und den Kontrast eines Fotos durch Shotwell " +"automatisch anpassen." #. (itstool) path: page/title #: C/edit-enhance.page:14 @@ -288,16 +353,21 @@ msgid "" "photo that is correctly exposed. You can also use it as a starting point and " "then improve the adjustments by clicking on the <gui>Adjust</gui> button." msgstr "" +"Ein Klick auf den <gui>Verbessern</gui>-Knopf ist eine schnelle Möglichkeit, " +"die Helligkeit und den Kontrast eines Bildes automatisch anpassen zu lassen. " +"Dadurch erhalten Sie in vielen Fällen bereits ein korrekt belichtetes Foto. " +"Sie können dieses auch als Ausgangspunkt verwenden und weitere Anpassungen " +"vornehmen, indem Sie auf den <gui>Anpassen</gui>-Knopf klicken." #. (itstool) path: info/desc #: C/edit-external.page:7 msgid "Use a different program to edit a photo." -msgstr "" +msgstr "Verwenden Sie ein anderes Programm zum Bearbeiten eines Fotos." #. (itstool) path: page/title #: C/edit-external.page:12 msgid "Edit photos with an external program" -msgstr "" +msgstr "Bearbeiten von Fotos mit einem externen Programm" #. (itstool) path: page/p #: C/edit-external.page:16 @@ -309,6 +379,14 @@ msgid "" "gui><gui>Preferences</gui></guiseq> and selecting editors from drop-down " "menus of installed applications." msgstr "" +"Gelegentlich wollen Sie vielleicht einen externen Editor verwenden, um ein " +"Foto zu bearbeiten. Sofern installiert, sind Gimp und UFRaw die " +"voreingestellten externen Programme für Foto- beziehungsweise RAW-" +"Bearbeitung. Wenn diese Programme nicht installiert sind, müssen Sie Ihre " +"bevorzugten Editoren selbst einrichten. Wählen Sie hierzu " +"<guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq> und wählen " +"Sie die entsprechenden Programme aus der Auswahlliste der installierten " +"Anwendungen aus." #. (itstool) path: page/p #: C/edit-external.page:24 @@ -319,6 +397,11 @@ msgid "" "a RAW file, select <guiseq><gui>Photos</gui><gui>Open With RAW Editor</gui></" "guiseq> to edit the RAW file directly with the set RAW editor." msgstr "" +"Sobald Ihre Editoren eingerichtet sind, wählen Sie ein Foto aus und wählen " +"Sie <guiseq><gui>Fotos</gui> <gui>Mit externem Editor öffnen</gui></guiseq>. " +"Wenn das Originalbild als RAW-Datei vorliegt, wählen Sie <guiseq><gui>Fotos</" +"gui> <gui>Mit RAW-Editor öffnen</gui></guiseq>, um die RAW-Datei direkt mit " +"dem gewählten RAW-Editor zu bearbeiten." #. (itstool) path: page/p #: C/edit-external.page:31 @@ -328,11 +411,17 @@ msgid "" "hold the <key>Shift</key> key in full-window view to show the original photo " "rather than the externally-edited one." msgstr "" +"Wenn Ihre Bearbeitungen abgeschlossen sind, erkennt Shotwell die Änderungen " +"und aktualisiert das Foto. Wenn die Änderungen extern vorgenommen wurden, " +"drücken Sie im Vollfenster-Modus die <key>Umschalttaste</key> und halten Sie " +"diese gedrückt, um statt des extern bearbeiteten Bildes das Originalbild zu " +"sehen." #. (itstool) path: page/p #: C/edit-external.page:38 msgid "Reverting to original will erase any external edits." msgstr "" +"Zurücksetzen auf das Original löscht alle externen Bearbeitungsvorgänge." #. (itstool) path: note/p #: C/edit-external.page:43 @@ -341,6 +430,10 @@ msgid "" "such as a JPEG or PNG, Shotwell cannot automatically determine that the " "original RAW and the new image should be paired." msgstr "" +"Wenn Sie ein RAW-Foto extern bearbeiten und das Ergebnis in einem anderen " +"Bildformat wie JPEG oder PNG speichern, kann Shotwell nicht automatisch " +"erkennen, dass das ursprüngliche RAW-Bild und das neue Bild gepaart werden " +"sollen." #. (itstool) path: note/p #: C/edit-external.page:49 @@ -348,6 +441,8 @@ msgid "" "If you want to work within the resulting image within Shotwell, you'll need " "to import it yourself." msgstr "" +"Wenn Sie das Ergebnisbild mit Shotwell bearbeiten wollen, werden Sie es " +"selbst importieren müssen." #. (itstool) path: info/desc #: C/edit-nondestructive.page:7 @@ -355,11 +450,13 @@ msgid "" "Shotwell is a non-destructive photo editor - it does not modify your " "original photos." msgstr "" +"Shotwell ist ein zerstörungsfreier Fotoeditor – Ihre Originalbilder werden " +"nicht verändert." #. (itstool) path: page/title #: C/edit-nondestructive.page:12 msgid "What happens to the original when I edit a photo?" -msgstr "" +msgstr "Was passiert mit dem Original, wenn ich ein Foto bearbeite?" #. (itstool) path: page/p #: C/edit-nondestructive.page:14 @@ -370,6 +467,13 @@ msgid "" "database and applies them on the fly as necessary. This means you can undo " "any alterations you make to a photograph." msgstr "" +"Shotwell ist ein zerstörungsfreier Fotoeditor. Ihre Originalbilder werden " +"nicht verändert. Wenn Sie beispielsweise ein Foto zuschneiden oder dessen " +"Farben verändern, bleibt das eigentliche Bild auf dem Datenträger davon " +"unberührt. Shotwell speichert Ihre Bearbeitungen in einer Datenbank und " +"wendet diese erst an, wenn es erforderlich ist. Das bedeutet, dass Sie " +"sämtliche von Ihnen an einem Foto vorgenommenen Änderungen rückgängig machen " +"können." #. (itstool) path: page/p #: C/edit-nondestructive.page:16 C/edit-undo.page:18 @@ -378,6 +482,9 @@ msgid "" "the <key>Shift</key> key. The original photo will be displayed as long as " "you hold the key down." msgstr "" +"Wenn Sie sehen wollen, wie ein Foto vor Ihren Änderungen aussah, drücken Sie " +"die <key>Umschalttaste</key>. Das Originalbild wird angezeigt, so lange Sie " +"diese Taste gedrückt halten." #. (itstool) path: page/p #: C/edit-nondestructive.page:18 @@ -386,17 +493,22 @@ msgid "" "to photo files. For more information, see the section <link xref=\"other-" "files\">Photo files</link>." msgstr "" +"Beachten Sie, dass Shotwell optional Metadaten, wie Stichwörter und Titel, " +"in Fotodateien schreiben kann. Weitere Informationen finden Sie im Abschnitt " +"<link xref=\"other-files\">Fotodateien</link>." #. (itstool) path: info/desc #: C/edit-redeye.page:7 msgid "" "Correct photos where people have red eyes because of the camera's flash." msgstr "" +"Korrigieren Sie Fotos mit roten Augen, die durch den Kamerablitz verursacht " +"wurden." #. (itstool) path: page/title #: C/edit-redeye.page:12 msgid "Removing red-eye" -msgstr "Rote Augen werden entfernt" +msgstr "Rote Augen entfernen" #. (itstool) path: page/p #: C/edit-redeye.page:14 @@ -404,11 +516,14 @@ msgid "" "Red-eye occurs when the camera's flash reflects off the pupil of someone's " "eye. To eliminate this in a photo, use the Red-eye tool." msgstr "" +"Rote Augen erscheinen durch einen Reflex des Kamerablitzes auf der Netzhaut " +"des Auges. Um dies in einem Foto zu korrigieren, verwenden Sie das Rote-" +"Augen-Entfernungswerkzeug." #. (itstool) path: item/p #: C/edit-redeye.page:17 msgid "Click <gui>Red-eye</gui>. A circle will appear on the photo." -msgstr "" +msgstr "Klicken Sie auf <gui>Rote Augen</gui>. Ein Kreis erscheint im Foto." #. (itstool) path: item/p #: C/edit-redeye.page:20 @@ -416,6 +531,9 @@ msgid "" "Drag the circle over the affected pupil, adjust its size with the slider " "control, and press <gui>Apply</gui>. The redness will be removed." msgstr "" +"Ziehen Sie den Kreis über das betroffene Auge und passen Sie dessen Größe " +"mit dem Schieberegler an. Klicken Sie dann auf <gui>Anwenden</gui> und die " +"Rötung wird entfernt." #. (itstool) path: item/p #: C/edit-redeye.page:23 @@ -423,6 +541,8 @@ msgid "" "Repeat this process for all red pupils in your photo. Press <gui>Close</gui> " "when finished." msgstr "" +"Wiederholen Sie diesen Vorgang für alle roten Augen in Ihrem Foto. Klicken " +"Sie auf <gui>Schließen</gui>, wenn Sie fertig sind." #. (itstool) path: info/desc #: C/edit-rotate.page:7 @@ -430,11 +550,13 @@ msgid "" "Click the <gui>Rotate</gui> button, or choose one of the commands in the " "<gui>Photo</gui> menu." msgstr "" +"Klicken Sie auf <gui>Drehen</gui> oder wählen Sie einen der Befehle im " +"<gui>Foto</gui>-Menü." #. (itstool) path: page/title #: C/edit-rotate.page:12 msgid "Rotate or flip a photo" -msgstr "" +msgstr "Ein Foto drehen oder spiegeln" #. (itstool) path: page/p #: C/edit-rotate.page:14 @@ -443,6 +565,9 @@ msgid "" "with the <gui>Rotate</gui> button on the toolbar of most views. You can also " "make a mirror image of any photo." msgstr "" +"Drehen Sie Ihre Fotos im oder gegen den Uhrzeigersinn mit dem Knopf " +"<gui>Drehen</gui> in der Werkzeugleiste der meisten Ansichten. Sie können " +"auch jedes beliebige Fotos spiegeln." #. (itstool) path: page/p #: C/edit-rotate.page:16 @@ -452,6 +577,11 @@ msgid "" "commands are available in the <gui>Photos</gui> menu too. Alternatively, use " "the following keyboard shortcuts:" msgstr "" +"Um im Uhrzeigersinn zu drehen klicken Sie auf den <gui>Drehen</gui>-Knopf. " +"Um gegen den Uhrzeigersinn zu drehen halten Sie die Taste <key>Strg</key> " +"gedrückt und klicken Sie auf den Knopf. Beide Befehle sind auch im Menü " +"<gui>Fotos</gui> verfügbar. Alternativ können Sie die folgenden " +"Tastenkombinationen verwenden:" #. (itstool) path: item/p #: C/edit-rotate.page:18 @@ -459,12 +589,16 @@ msgid "" "rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or " "<key>[</key>" msgstr "" +"gegen den Uhrzeigersinn drehen: <keyseq><key>Umschalttaste</key><key>Strg</" +"key><key>R</key></keyseq> oder <key>[</key>" #. (itstool) path: item/p #: C/edit-rotate.page:19 msgid "" "rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key>" msgstr "" +"im Uhrzeigersinn drehen: <keyseq><key>Strg</key><key>R</key></keyseq> oder " +"<key>]</key>" #. (itstool) path: page/p #: C/edit-rotate.page:21 @@ -473,6 +607,9 @@ msgid "" "command in the <gui>Photos</gui> menu. To flip an image vertically, use the " "<gui>Flip Vertically</gui> command in the same menu." msgstr "" +"Um ein seitenverkehrtes Bild zu erzeugen, wählen Sie <gui>Horizontal " +"spiegeln</gui> im Menü <gui>Fotos</gui>. Um ein Bild vertikal zu spiegeln, " +"wählen Sie <gui>Vertikal spiegeln</gui> im gleichen Menü." #. (itstool) path: note/p #: C/edit-rotate.page:24 @@ -480,16 +617,17 @@ msgid "" "If you select more than one image, you can rotate all of them at the same " "time." msgstr "" +"Wenn Sie mehr als ein Bild auswählen, können Sie alle gleichzeitig drehen." #. (itstool) path: info/desc #: C/edit-straighten.page:7 msgid "Straighten a photo so that its horizon appears level." -msgstr "" +msgstr "Ein Foto begradigen, so dass dessen Horizont in Waage erscheint." #. (itstool) path: page/title #: C/edit-straighten.page:12 msgid "Straighten photos" -msgstr "" +msgstr "Fotos ausrichten" #. (itstool) path: page/p #: C/edit-straighten.page:14 @@ -497,6 +635,9 @@ msgid "" "The straighten tools allows photos to be leveled and straightened. The " "straighten tool is only available in full-window or fullscreen mode." msgstr "" +"Das Werkzeug zum Ausrichten ermöglicht das Begradigen und Ausrichten von " +"Fotos. Das Werkzeug zum Ausrichten ist nur im Vollbild- oder " +"Vollbildschirmmodus verfügbar." #. (itstool) path: item/p #: C/edit-straighten.page:18 @@ -505,28 +646,31 @@ msgid "" "Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</" "key></keyseq>." msgstr "" +"Klicken Sie auf <gui>Ausrichten</gui>. Daraufhin erscheint der Schieberegler " +"zum Ausrichten. Drücken Sie alternativ die Tastenkombination " +"<keyseq><key>Strg</key><key>A</key></keyseq>." #. (itstool) path: item/p #: C/edit-straighten.page:21 msgid "Drag the slider to achieve the desired degree of straightening." msgstr "" +"Positionieren Sie den Schieberegler so, dass die gewünschte Begradigung " +"erzielt wird." #. (itstool) path: item/p #: C/edit-straighten.page:24 -#, fuzzy -#| msgid "Press <gui>OK</gui> when finished." msgid "Press <gui>Straighten</gui> when finished." -msgstr "Klicken Sie auf <gui>OK</gui>, sobald Sie fertig sind." +msgstr "Klicken Sie auf <gui>Ausrichten</gui>, sobald Sie fertig sind." #. (itstool) path: info/desc #: C/edit-date-time.page:7 msgid "Change the date and time of photos if those details are incorrect." -msgstr "" +msgstr "Ändern Sie Datum und Zeit von Fotos, wenn diese nicht stimmen." #. (itstool) path: page/title #: C/edit-date-time.page:12 msgid "Adjust the date and time of photos" -msgstr "" +msgstr "Datum und Zeit von Fotos anpassen" #. (itstool) path: page/p #: C/edit-date-time.page:14 @@ -568,6 +712,8 @@ msgid "" "Because Shotwell is a non-destructive photo editor, you can undo any " "alterations you make to a photograph." msgstr "" +"Weil Shotwell ein zerstörungsfreier Foto-Editor ist, können Sie alle " +"Bearbeitungsschritte an einem Foto zurücknehmen." #. (itstool) path: page/p #: C/edit-undo.page:20 @@ -576,6 +722,10 @@ msgid "" "<guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only " "exception is that time and date adjustments will not be reverted." msgstr "" +"Um alle von Ihnen an einem Foto vorgenommenen Änderungen zurückzunehmen, " +"wählen Sie <guiseq><gui>Fotos</gui><gui>Zurück zum Original</gui></guiseq>. " +"Als einzige Ausnahme werden Anpassungen von Datum und Zeit nicht " +"zurückgenommen." #. (itstool) path: info/desc #: C/formats.page:7 @@ -627,7 +777,7 @@ msgstr "" #. (itstool) path: item/p #: C/formats.page:25 msgid "Container formats: Ogg, QuickTime, MP4, AVI." -msgstr "" +msgstr "Containerformate: Ogg, QuickTime, MP4, AVI." #. (itstool) path: item/p #: C/formats.page:26 @@ -636,6 +786,9 @@ msgid "" "systems may not include all codecs listed here due to legal or licensing " "restrictions.</em>" msgstr "" +"Codecs: Theora, Quicktime, MPEG-4 und Motion JPEG. <em>Beachten Sie, dass " +"einige Betriebssysteme aufgrund von gesetzlichen oder Lizenzbestimmungen " +"eventuell nicht alle hier aufgeführten Codecs unterstützen.</em>" #. (itstool) path: page/p #: C/formats.page:30 @@ -668,6 +821,8 @@ msgid "" "Connect the camera to your computer and switch it on. Shotwell will detect " "it and list it in the sidebar." msgstr "" +"Verbinden Sie die Kamera mit Ihrem Rechner und schalten Sie sie ein. " +"Shotwell wird sie erkennen und in der Seitenleiste anzeigen." #. (itstool) path: item/p #: C/import-camera.page:22 @@ -675,6 +830,8 @@ msgid "" "Select the camera in the sidebar. Previews of each photo on the camera will " "be displayed." msgstr "" +"Wählen Sie die Kamera in der Seitenleiste aus. Vorschaubilder werden für " +"jedes der in der Kamera befindlichen Fotos angezeigt." #. (itstool) path: item/p #: C/import-camera.page:25 @@ -715,6 +872,8 @@ msgid "" "To import photo files from your hard disk into Shotwell, just drag them from " "your file browser into the Shotwell window." msgstr "" +"Um Fotodateien von Ihrer Festplatte in Shotwell zu importieren, ziehen Sie " +"sie einfach aus der Dateiverwaltung in das Shotwell-Fenster." #. (itstool) path: page/p #: C/import-file.page:16 @@ -722,6 +881,9 @@ msgid "" "Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</" "gui></guiseq> and select the folder containing the photos you want to import." msgstr "" +"Wählen Sie alternativ <guiseq><gui>Datei</gui><gui>Aus Ordner importieren …</" +"gui></guiseq> und wählen Sie den Ordner mit den Fotos aus, die Sie " +"importieren wollen." #. (itstool) path: page/p #: C/import-file.page:18 @@ -871,7 +1033,7 @@ msgctxt "_" msgid "" "external ref='figures/shotwell_logo.png' " "md5='4b333499555b4e496b1a38f7899067f3'" -msgstr "" +msgstr "original" #. (itstool) path: info/title #: C/index.page:6 @@ -955,6 +1117,9 @@ msgid "" "Group photos together that were taken at the same time. Learn how to rename, " "merge, and sort events." msgstr "" +"Gruppieren Sie Fotos, die etwa zur gleichen Zeit aufgenommen wurden. " +"Erfahren Sie, wie Sie diese umbenennen, zusammenführen und nach Ereignissen " +"sortieren." #. (itstool) path: page/title #: C/organize-event.page:12 @@ -1470,12 +1635,9 @@ msgstr "" #. (itstool) path: item/p #: C/organize-tag.page:28 -#, fuzzy -#| msgid "" -#| "Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>." msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>." msgstr "" -"Wählen Sie <guiseq><gui>Datei</gui><gui>Importieren aus F-Spot</gui></" +"Wählen Sie <guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen …</gui></" "guiseq>." #. (itstool) path: item/p @@ -1487,9 +1649,12 @@ msgstr "Drücken Sie <keyseq><key>Strg</key><key>T</key></keyseq>." #: C/organize-tag.page:30 msgid "Drag the selected photos and drop them on the desired tag." msgstr "" +"Ziehen Sie die gewählten Fotos und legen Sie diese auf das gewünschte " +"Stichwort ab." #. (itstool) path: page/p #: C/organize-tag.page:33 +#, fuzzy msgid "" "When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or " "<guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq> you can type in the " @@ -1499,6 +1664,13 @@ msgid "" "rightclicking on it and choose <gui>Rename...</gui> or double-click on the " "tag in the sidebar." msgstr "" +"Wenn Sie <keyseq><key>Strg</key><key>T</key></keyseq> oder " +"<guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen...</gui></guiseq> " +"you can type in the names of one or more tags, separated by commas. Once you " +"have created a tag, you can rename it by selecting that tag in the sidebar " +"and choosing <guiseq><gui>Stichworte</gui><gui>Rename Tag \"[name]\"...</" +"gui></guiseq>, by rightclicking on it and choose <gui>Rename...</gui> or " +"double-click on the tag in the sidebar." #. (itstool) path: page/p #: C/organize-tag.page:44 @@ -1542,7 +1714,7 @@ msgstr "" #. (itstool) path: section/title #: C/organize-tag.page:73 msgid "Hierarchical Tags" -msgstr "" +msgstr "Hierarchische Stichworte" #. (itstool) path: section/p #: C/organize-tag.page:74 @@ -1586,18 +1758,13 @@ msgstr "" #. (itstool) path: page/p #: C/organize-title.page:17 -#, fuzzy -#| msgid "" -#| "To see a sideshow of any collection in Shotwell, navigate to that " -#| "collection and select <guiseq><gui>View</gui><gui>Slideshow</gui></" -#| "guiseq> or press <key>F5</key>." msgid "" "To change a photo's title, select the photo and click <guiseq><gui>Photos</" "gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>." msgstr "" -"Um eine Diaschau einer Sammlung in Shotwell zu sehen, wählen Sie diese " -"Sammlung und dann <guiseq><gui>Ansicht</gui><gui>Diaschau</gui></guiseq> " -"oder drücken Sie <key>F5</key>." +"Um den Titel eines Fotos zu ändern, wählen Sie das Foto und anschließend " +"<guiseq><gui>Fotos</gui><gui>Titel bearbeiten …</gui></guiseq> oder drücken " +"Sie <key>F2</key>." #. (itstool) path: info/desc #: C/other-files.page:7 @@ -1647,21 +1814,17 @@ msgstr "" #. (itstool) path: td/p #: C/other-files.page:38 msgid "<em>Symbol</em>" -msgstr "" +msgstr "<em>Symbol</em>" #. (itstool) path: td/p #: C/other-files.page:38 -#, fuzzy -#| msgid "Meaning" msgid "<em>Meaning</em>" -msgstr "Bedeutung" +msgstr "<em>Bedeutung</em>" #. (itstool) path: td/p #: C/other-files.page:38 -#, fuzzy -#| msgid "Example" msgid "<em>Example</em>" -msgstr "Beispiel" +msgstr "<em>Beispiel</em>" #. (itstool) path: td/p #: C/other-files.page:43 @@ -2305,13 +2468,6 @@ msgstr "" #. (itstool) path: page/p #: C/share-export.page:18 -#, fuzzy -#| msgid "" -#| "Alternatively, select a set of photos and choose the <guiseq><gui>File</" -#| "gui><gui>Export</gui></guiseq> command or press <keyseq><key>Shift</" -#| "key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while " -#| "letting you fine-tune the size and dimensions of your photo files. A " -#| "window will appear allowing you to make several choices:" msgid "" "Alternatively, select a set of photos and choose the <guiseq><gui>File</" "gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</" @@ -2322,8 +2478,8 @@ msgstr "" "Alternativ wählen Sie eine Gruppe Fotos und wählen Sie <guiseq><gui>Datei</" "gui><gui>Exportieren</gui></guiseq> oder drücken Sie " "<keyseq><key>Umschalttaste</key><key>Strg</key><key>E</key></keyseq>, um " -"Fotos zu exportieren und dabei die Größe der Fotodateien zu bestimmen. " -"Daraufhin erscheint ein Fenster mit mehreren Wahlmöglichkeiten:" +"Fotos zu exportieren und dabei die Größe und Abmessung der Fotodateien zu " +"bestimmen. Daraufhin erscheint ein Fenster mit mehreren Wahlmöglichkeiten:" #. (itstool) path: item/p #: C/share-export.page:24 @@ -2555,13 +2711,11 @@ msgstr "" #. (itstool) path: item/p #: C/share-upload.page:18 -#| msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" msgid "<link href=\"http://facebook.com\">Facebook</link>" msgstr "<link href=\"http://facebook.com\">Facebook</link>" #. (itstool) path: item/p #: C/share-upload.page:19 -#| msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" msgid "<link href=\"http://flickr.com\">Flickr</link>" msgstr "<link href=\"http://flickr.com\">Flickr</link>" diff --git a/help/de/edit-adjustments.page b/help/de/edit-adjustments.page index a9a3908..0fca22b 100644 --- a/help/de/edit-adjustments.page +++ b/help/de/edit-adjustments.page @@ -28,11 +28,11 @@ <title>Farbanpassungen</title> -<p>The <gui>Adjust</gui> button opens a floating window with a histogram and sliders to adjust a photo's exposure, saturation, tint, temperature, and shadows. The histogram also has sliders to reduce the upper and lower intensity thresholds of the photograph, expanding the contrast of the middle range.</p> +<p>Der <gui>Anpassen</gui>-Knopf öffnet ein schwebendes Fenster mit einem Histogramm und Schiebereglern zum Verändern der Belichtung, Sättigung, Farbton, Farbtemperatur und Schatten. Das Histogramm verfügt außerdem über Schieberegler zum Anpassen der oberen und unteren Intensitäts-Schwellwerte des Fotos, wodurch der Mittenkontrast erweitert wird.</p> -<p>The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to improve the quality of a photo.</p> +<p>Der <gui>Verbessern</gui>-Knopf passt das Histogramm und die Schatten-Schieberegler an, um die Qualität eines Fotos zu verbessern.</p> -<p>When the photo's colors and contrast are to your liking, press <gui>OK</gui> to save the changes. <gui>Reset</gui> will return the image to its original state. <gui>Cancel</gui> discards all changes you've made.</p> +<p>Wenn die Farben und der Kontrast des Fotos Ihren Vorstellungen entsprechen, klicken Sie auf <gui>OK</gui>, um die Änderungen zu speichern. Durch <gui>Zurücksetzen</gui> wird das Bild in seinen ursprünglichen Zustand zurückversetzt. <gui>Abbrechen</gui> verwirft alle von Ihnen vorgenommenen Änderungen.</p> <section> <title>Was bewirken die Farbregler?</title> @@ -43,23 +43,23 @@ </item> <item> <title>Sättigung</title> - <p>Changes how vivid colors look. If your photo looks gray and washed out, try increasing the saturation. If colors look too bold, try decreasing it.</p> + <p>Dadurch wird bestimmt, wie lebendig Farben wirken. Wenn Ihr Foto grau und ausgewaschen erscheint, sollten Sie die Sättigung erhöhen. Wenn sich Farben zu sehr in den Vordergrund setzen, sollten Sie versuchen, die Sättigung zu verringern.</p> </item> <item> <title>Farbton</title> - <p>This tints the photo with a color. It's useful for correcting photos taken with the wrong white balance setting, which typically have an unnatural color cast. For example, photos taken outdoors with the white balance set to "Tungsten" may have a blue cast.</p> + <p>Dies färbt das Foto mit einer Farbe ein. Es ist sinnvoll beim Korrigieren von Fotos mit falschen Weißabgleich-Einstellungen, die typischerweise unnatürliche Farbstiche hervorrufen. Beispielsweise werden im Freien mit der Einstellung »Glühlampenlicht« aufgenommene Fotos einen Blaustich aufweisen.</p> </item> <item> <title>Temperatur</title> - <p>Changes how "warm" or "cool" the picture looks. Use this to make cold, depressing scenes look more lively, for example.</p> + <p>Dadurch wird bestimmt, wie »warm« oder »kühl« das Bild aussieht. Sie können damit beispielsweise kühle, depressive Szenen lebendiger wirken lassen.</p> </item> <item> <title>Schatten</title> - <p>This makes shadowy areas appear lighter. Use this to make detail more visible if it's obscured by the darkness of a shadow.</p> + <p>Dadurch erscheinen Schattenbereiche heller. Sie können damit Strukturen hervorheben, die in einem Schattenbereich verdeckt sind.</p> </item> <item> - <title>Intensity Threshold (sliders on the histogram)</title> - <p>These sliders change how light the brightest white is and how dark the darkest black is. Use them to change the contrast of the photo. Photos which look washed out should particularly benefit from changing these settings.</p> + <title>Schwellwert der Intensität (Schieberegler im Histogramm)</title> + <p>Diese Schieberegler bestimmen, wie hell das hellste Weiß und wie dunkel das dunkelste Schwarz dargestellt werden. Sie können damit den Kontrast eines Fotos verändern. Insbesondere ausgewaschen erscheinende Bilder werden von diesen Einstellungen profitieren.</p> </item> </terms> </section> diff --git a/help/de/edit-crop.page b/help/de/edit-crop.page index 774173e..a522d8f 100644 --- a/help/de/edit-crop.page +++ b/help/de/edit-crop.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Improve the composition of a photo by cutting out parts of it.</desc> + <desc>Verbessern Sie die Bildkomposition, indem Sie Teile davon herausschneiden.</desc> <link type="next" xref="edit-external"/> @@ -26,38 +26,37 @@ </mal:credit> </info> - <title>Bild wird zugeschnitten</title> + <title>Zuschneiden</title> - <p>To reduce the area of a photo and concentrate the viewer's attention on a smaller portion of it, use the Crop tool. - The crop tool is only available in full-window or fullscreen mode.</p> + <p>Um den sichtbaren Bereich eines Bildes zu verkleinern und so das Interesse des Betrachters auf einen kleineren Bereich zu lenken, verwenden Sie das Zuschneidewerkzeug. Dieses Werkzeug ist nur im Vollfenster- oder Vollbildmodus verfügbar.</p> <steps> <item> - <p>Double-click on a photo to enter full-window mode, then press the <gui>Crop</gui> button on the toolbar.</p> + <p>Klicken Sie doppelt auf ein Foto, um den Vollfenstermodus zu aktivieren und klicken Sie anschließend auf den <gui>Zuschneiden</gui>-Knopf in der Werkzeugleiste.</p> </item> <item> - <p>A white box, the crop rectangle, will appear over the photo. The lighter portion of the photo within the crop rectangle represents what the photo will look like when you crop it.</p> + <p>Ein weißer rechteckiger Zuschnittrahmen wird über das Foto gelegt. Der etwas hellere Bereich des Bildes innerhalb des Zuschnittrahmens repräsentiert das Foto, wie es nach dem Zuschneiden aussehen würde.</p> </item> <item> - <p>If you place your cursor in the middle of the box, you can move the box around. If you drag the edges of the box, you can adjust its size. As you move and adjust the crop box, you'll see four lines appear inside it, like a tic-tac-toe grid. These are <em>rule of thirds</em> lines.</p> - <p>You can also constrain the crop box to one of many common sizes. Choose a size from the drop-down list that suits your needs. If you press the flip button next to it, the orientation of the constraint will switch (from landscape to portrait).</p> + <p>Wenn Sie den Mauszeiger in der Mitte des Zuschnittrahmens platzieren, können Sie den gesamten Rahmen verschieben. Beim Ziehen der Rahmenecken mit der Maus wird dessen Größe verändert. Während Sie die Größe oder Lage des Zuschnittrahmens verändern, werden darin vier Linien wie in einem Tic-Tac-Toe-Spielfeld angezeigt. Diese entsprechen der <em>Drittelregel</em>.</p> + <p>Sie können den Zuschnittrahmen auf zahlreiche gängige Größen eingrenzen. Wählen Sie eine Größe aus der Auswahlliste, die Ihren Erfordernissen entspricht. Wenn Sie auf den Umdrehen-Knopf daneben klicken, wechselt die Ausrichtung der ausgewählten Form (von Quer- auf Hochformat).</p> </item> <item> - <p>When you're happy with your crop outline, apply it by pressing the <gui>Crop</gui> button. Shotwell will display the cropped photo.</p> + <p>Sobald Sie mit Größe und Bereich des Zuschnittrahmens zufrieden sind, klicken Sie auf den <gui>Zuschneiden</gui>-Knopf. Shotwell zeigt nun das zugeschnittene Bild an.</p> </item> <item> - <p>If you change your mind, press the <gui>Crop</gui> button again and fine-tune the crop.</p> - <p>If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will return to the photo's previous crop dimensions.</p> + <p>Sollten Sie noch etwas ändern wollen, klicken Sie nochmals auf den <gui>Zuschneiden</gui>-Knopf und passen den Rahmen erneut an.</p> + <p>Wenn Sie auf <gui>Abbrechen</gui> statt auf <gui>Anwenden</gui> klicken, kehrt Shotwell zu den vorherigen Abmessungen zurück.</p> </item> </steps> <section> <title>Was ist die Drittelregel?</title> <p>Die <em>Drittelregel</em> hilft, ein Foto optisch ansprechend zu gestalten.</p> - <p>Imagine that the scene is divided up into a 3x3 grid by two equally-spaced vertical lines and two equally-spaced horizontal lines. According to the rule, you're more likely to get a pleasing composition if you align major features (like the horizon, or a person's body) with one of the lines. Paying attention to the way features flow from one part of the grid to another can also help.</p> - <p>Cropping a photo so that it conforms to the rule of thirds often results in a more visually appealing image.</p> + <p>Gehen wir davon aus, dass die Szene durch zwei horizontale und zwei vertikale Linien in ein 3x3-Raster mit gleichen Flächen unterteilt ist. Entsprechend der Drittelregel erhalten Sie sehr wahrscheinlich eine ansprechendere Bildkomposition, wenn Sie bestimmte Anhaltspunkte, wie den Horizont oder den Körper einer Person, an einer dieser Linien ausrichten. Außerdem kann es hilfreich sein, darauf zu achten, wie markante Bildteile von einem Bereich des Rasters in einen anderen übergehen.</p> + <p>Das Zuschneiden eines Fotos so, dass die Bildobjekte der Drittelregel folgen, führt oft zu einem optisch ansprechenderen Bild.</p> <media type="image" src="figures/crop_thirds.jpg"> - <p>Cropping a photo, using the "rule of thirds" lines to improve the composition.</p> + <p>Schneiden Sie ein Foto mit den Hilfslinien der »Drittelregel« zu, um die Komposition zu verbessern.</p> </media> </section> </page> diff --git a/help/de/edit-date-time.page b/help/de/edit-date-time.page index e3862c6..599f3f4 100644 --- a/help/de/edit-date-time.page +++ b/help/de/edit-date-time.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Change the date and time of photos if those details are incorrect.</desc> + <desc>Ändern Sie Datum und Zeit von Fotos, wenn diese nicht stimmen.</desc> <link type="next" xref="edit-enhance"/> @@ -26,7 +26,7 @@ </mal:credit> </info> - <title>Adjust the date and time of photos</title> + <title>Datum und Zeit von Fotos anpassen</title> <p>To adjust the date and time of photos, select the photos you would like to adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Date and Time...</gui></guiseq> and select a new date and time.</p> diff --git a/help/de/edit-enhance.page b/help/de/edit-enhance.page index 173f040..59dac3a 100644 --- a/help/de/edit-enhance.page +++ b/help/de/edit-enhance.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Let Shotwell improve the brightness and contrast of a photo automatically.</desc> + <desc>Lassen Sie die Helligkeit und den Kontrast eines Fotos durch Shotwell automatisch anpassen.</desc> <link type="seealso" xref="edit-adjustments"/> @@ -30,5 +30,5 @@ <title>Automatisch verbessern</title> - <p>Clicking on the <gui>Enhance</gui> button is a quick way to automatically adjust the brightness and contrast of your photo. It will often give you a photo that is correctly exposed. You can also use it as a starting point and then improve the adjustments by clicking on the <gui>Adjust</gui> button.</p> + <p>Ein Klick auf den <gui>Verbessern</gui>-Knopf ist eine schnelle Möglichkeit, die Helligkeit und den Kontrast eines Bildes automatisch anpassen zu lassen. Dadurch erhalten Sie in vielen Fällen bereits ein korrekt belichtetes Foto. Sie können dieses auch als Ausgangspunkt verwenden und weitere Anpassungen vornehmen, indem Sie auf den <gui>Anpassen</gui>-Knopf klicken.</p> </page> diff --git a/help/de/edit-external.page b/help/de/edit-external.page index 1946f71..ed65354 100644 --- a/help/de/edit-external.page +++ b/help/de/edit-external.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Use a different program to edit a photo.</desc> + <desc>Verwenden Sie ein anderes Programm zum Bearbeiten eines Fotos.</desc> <link type="next" xref="edit-redeye"/> @@ -26,46 +26,19 @@ </mal:credit> </info> - <title> - Edit photos with an external program - </title> + <title>Bearbeiten von Fotos mit einem externen Programm</title> - <p> - You might want to use an external editor to do additional work on a photo. - If installed, GIMP and UFRaw are the default external editors for photo and RAW editing, - respectively. If these programs are not installed, you must select your preferred - editors by choosing <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq> and selecting - editors from drop-down menus of installed applications. - </p> + <p>Gelegentlich wollen Sie vielleicht einen externen Editor verwenden, um ein Foto zu bearbeiten. Sofern installiert, sind Gimp und UFRaw die voreingestellten externen Programme für Foto- beziehungsweise RAW-Bearbeitung. Wenn diese Programme nicht installiert sind, müssen Sie Ihre bevorzugten Editoren selbst einrichten. Wählen Sie hierzu <guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq> und wählen Sie die entsprechenden Programme aus der Auswahlliste der installierten Anwendungen aus.</p> - <p> - Once your editors have been set, select a photo and choose <guiseq><gui>Photos</gui> - <gui>Open With External Editor</gui></guiseq> to open the photo with the external editor. - Likewise, if the original photo is a RAW file, select <guiseq><gui>Photos</gui><gui>Open - With RAW Editor</gui></guiseq> to edit the RAW file directly with the set RAW editor. - </p> + <p>Sobald Ihre Editoren eingerichtet sind, wählen Sie ein Foto aus und wählen Sie <guiseq><gui>Fotos</gui> <gui>Mit externem Editor öffnen</gui></guiseq>. Wenn das Originalbild als RAW-Datei vorliegt, wählen Sie <guiseq><gui>Fotos</gui> <gui>Mit RAW-Editor öffnen</gui></guiseq>, um die RAW-Datei direkt mit dem gewählten RAW-Editor zu bearbeiten.</p> - <p> - When you complete your edits and save the file, Shotwell will detect the changes and - update the photo. When external edits have been made, press and hold the - <key>Shift</key> key in full-window view to show the original photo rather than the - externally-edited one. - </p> + <p>Wenn Ihre Bearbeitungen abgeschlossen sind, erkennt Shotwell die Änderungen und aktualisiert das Foto. Wenn die Änderungen extern vorgenommen wurden, drücken Sie im Vollfenster-Modus die <key>Umschalttaste</key> und halten Sie diese gedrückt, um statt des extern bearbeiteten Bildes das Originalbild zu sehen.</p> - <p> - Reverting to original will erase any external edits. - </p> + <p>Zurücksetzen auf das Original löscht alle externen Bearbeitungsvorgänge.</p> <note> - <p> - If you externally edit a RAW photo and save the result to another image, such as a - JPEG or PNG, Shotwell cannot automatically determine that the original RAW and the - new image should be paired. - </p> + <p>Wenn Sie ein RAW-Foto extern bearbeiten und das Ergebnis in einem anderen Bildformat wie JPEG oder PNG speichern, kann Shotwell nicht automatisch erkennen, dass das ursprüngliche RAW-Bild und das neue Bild gepaart werden sollen.</p> - <p> - If you want to work within the resulting image within Shotwell, you'll need to - import it yourself. - </p> + <p>Wenn Sie das Ergebnisbild mit Shotwell bearbeiten wollen, werden Sie es selbst importieren müssen.</p> </note> </page> diff --git a/help/de/edit-nondestructive.page b/help/de/edit-nondestructive.page index 1f38391..63744c7 100644 --- a/help/de/edit-nondestructive.page +++ b/help/de/edit-nondestructive.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Shotwell is a non-destructive photo editor - it does not modify your original photos.</desc> + <desc>Shotwell ist ein zerstörungsfreier Fotoeditor – Ihre Originalbilder werden nicht verändert.</desc> <link type="next" xref="edit-date-time"/> @@ -26,13 +26,12 @@ </mal:credit> </info> - <title>What happens to the original when I edit a photo?</title> + <title>Was passiert mit dem Original, wenn ich ein Foto bearbeite?</title> -<p>Shotwell is a non-destructive photo editor. It does not modify your original photographs. That is to say, if you crop a photo or adjust its colors, the photo file on disc remains untouched. Shotwell stores your edits in a database and applies them on the fly as necessary. This means you can undo any alterations you make to a photograph.</p> +<p>Shotwell ist ein zerstörungsfreier Fotoeditor. Ihre Originalbilder werden nicht verändert. Wenn Sie beispielsweise ein Foto zuschneiden oder dessen Farben verändern, bleibt das eigentliche Bild auf dem Datenträger davon unberührt. Shotwell speichert Ihre Bearbeitungen in einer Datenbank und wendet diese erst an, wenn es erforderlich ist. Das bedeutet, dass Sie sämtliche von Ihnen an einem Foto vorgenommenen Änderungen rückgängig machen können.</p> -<p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p> +<p>Wenn Sie sehen wollen, wie ein Foto vor Ihren Änderungen aussah, drücken Sie die <key>Umschalttaste</key>. Das Originalbild wird angezeigt, so lange Sie diese Taste gedrückt halten.</p> -<p>Note that Shotwell can optionally write metadata (such as tags and titles) to photo files. -For more information, see the section <link xref="other-files">Photo files</link>.</p> +<p>Beachten Sie, dass Shotwell optional Metadaten, wie Stichwörter und Titel, in Fotodateien schreiben kann. Weitere Informationen finden Sie im Abschnitt <link xref="other-files">Fotodateien</link>.</p> </page> diff --git a/help/de/edit-redeye.page b/help/de/edit-redeye.page index cd94aa1..4d7c585 100644 --- a/help/de/edit-redeye.page +++ b/help/de/edit-redeye.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Correct photos where people have red eyes because of the camera's flash.</desc> + <desc>Korrigieren Sie Fotos mit roten Augen, die durch den Kamerablitz verursacht wurden.</desc> <link type="next" xref="edit-rotate"/> @@ -26,18 +26,18 @@ </mal:credit> </info> - <title>Rote Augen werden entfernt</title> + <title>Rote Augen entfernen</title> - <p>Red-eye occurs when the camera's flash reflects off the pupil of someone's eye. To eliminate this in a photo, use the Red-eye tool.</p> + <p>Rote Augen erscheinen durch einen Reflex des Kamerablitzes auf der Netzhaut des Auges. Um dies in einem Foto zu korrigieren, verwenden Sie das Rote-Augen-Entfernungswerkzeug.</p> <steps> <item> - <p>Click <gui>Red-eye</gui>. A circle will appear on the photo.</p> + <p>Klicken Sie auf <gui>Rote Augen</gui>. Ein Kreis erscheint im Foto.</p> </item> <item> - <p>Drag the circle over the affected pupil, adjust its size with the slider control, and press <gui>Apply</gui>. The redness will be removed.</p> + <p>Ziehen Sie den Kreis über das betroffene Auge und passen Sie dessen Größe mit dem Schieberegler an. Klicken Sie dann auf <gui>Anwenden</gui> und die Rötung wird entfernt.</p> </item> <item> - <p>Repeat this process for all red pupils in your photo. Press <gui>Close</gui> when finished.</p> + <p>Wiederholen Sie diesen Vorgang für alle roten Augen in Ihrem Foto. Klicken Sie auf <gui>Schließen</gui>, wenn Sie fertig sind.</p> </item> </steps> </page> diff --git a/help/de/edit-rotate.page b/help/de/edit-rotate.page index 1fcceed..aa3a946 100644 --- a/help/de/edit-rotate.page +++ b/help/de/edit-rotate.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Click the <gui>Rotate</gui> button, or choose one of the commands in the <gui>Photo</gui> menu.</desc> + <desc>Klicken Sie auf <gui>Drehen</gui> oder wählen Sie einen der Befehle im <gui>Foto</gui>-Menü.</desc> <link type="next" xref="edit-straighten"/> @@ -26,19 +26,19 @@ </mal:credit> </info> - <title>Rotate or flip a photo</title> + <title>Ein Foto drehen oder spiegeln</title> - <p>You can rotate your photos left and right (clockwise and counterclockwise) with the <gui>Rotate</gui> button on the toolbar of most views. You can also make a mirror image of any photo.</p> + <p>Drehen Sie Ihre Fotos im oder gegen den Uhrzeigersinn mit dem Knopf <gui>Drehen</gui> in der Werkzeugleiste der meisten Ansichten. Sie können auch jedes beliebige Fotos spiegeln.</p> - <p>To rotate right, click on the <gui>Rotate</gui> button. To rotate left, press and hold the <key>Ctrl</key> key and then click the button. Both commands are available in the <gui>Photos</gui> menu too. Alternatively, use the following keyboard shortcuts:</p> + <p>Um im Uhrzeigersinn zu drehen klicken Sie auf den <gui>Drehen</gui>-Knopf. Um gegen den Uhrzeigersinn zu drehen halten Sie die Taste <key>Strg</key> gedrückt und klicken Sie auf den Knopf. Beide Befehle sind auch im Menü <gui>Fotos</gui> verfügbar. Alternativ können Sie die folgenden Tastenkombinationen verwenden:</p> <list> - <item><p>rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or <key>[</key></p></item> - <item><p>rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key></p></item> + <item><p>gegen den Uhrzeigersinn drehen: <keyseq><key>Umschalttaste</key><key>Strg</key><key>R</key></keyseq> oder <key>[</key></p></item> + <item><p>im Uhrzeigersinn drehen: <keyseq><key>Strg</key><key>R</key></keyseq> oder <key>]</key></p></item> </list> - <p>To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> command in the <gui>Photos</gui> menu. To flip an image vertically, use the <gui>Flip Vertically</gui> command in the same menu.</p> + <p>Um ein seitenverkehrtes Bild zu erzeugen, wählen Sie <gui>Horizontal spiegeln</gui> im Menü <gui>Fotos</gui>. Um ein Bild vertikal zu spiegeln, wählen Sie <gui>Vertikal spiegeln</gui> im gleichen Menü.</p> <note> - <p>If you select more than one image, you can rotate all of them at the same time.</p> + <p>Wenn Sie mehr als ein Bild auswählen, können Sie alle gleichzeitig drehen.</p> </note> </page> diff --git a/help/de/edit-straighten.page b/help/de/edit-straighten.page index 051946e..60cd50d 100644 --- a/help/de/edit-straighten.page +++ b/help/de/edit-straighten.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Straighten a photo so that its horizon appears level.</desc> + <desc>Ein Foto begradigen, so dass dessen Horizont in Waage erscheint.</desc> <link type="next" xref="edit-undo"/> @@ -26,19 +26,19 @@ </mal:credit> </info> - <title>Straighten photos</title> + <title>Fotos ausrichten</title> -<p>The straighten tools allows photos to be leveled and straightened. The straighten tool is only available in full-window or fullscreen mode. </p> +<p>Das Werkzeug zum Ausrichten ermöglicht das Begradigen und Ausrichten von Fotos. Das Werkzeug zum Ausrichten ist nur im Vollbild- oder Vollbildschirmmodus verfügbar.</p> <steps> <item> - <p>Click <gui>Straighten</gui>. The straighten slider will appear. Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</key></keyseq>.</p> + <p>Klicken Sie auf <gui>Ausrichten</gui>. Daraufhin erscheint der Schieberegler zum Ausrichten. Drücken Sie alternativ die Tastenkombination <keyseq><key>Strg</key><key>A</key></keyseq>.</p> </item> <item> - <p>Drag the slider to achieve the desired degree of straightening.</p> + <p>Positionieren Sie den Schieberegler so, dass die gewünschte Begradigung erzielt wird.</p> </item> <item> - <p>Press <gui>Straighten</gui> when finished.</p> + <p>Klicken Sie auf <gui>Ausrichten</gui>, sobald Sie fertig sind.</p> </item> </steps> diff --git a/help/de/edit-undo.page b/help/de/edit-undo.page index 55d3632..d71878c 100644 --- a/help/de/edit-undo.page +++ b/help/de/edit-undo.page @@ -30,10 +30,10 @@ <title>Änderungen rückgängig machen</title> - <p>Because Shotwell is a non-destructive photo editor, you can undo any alterations you make to a photograph.</p> + <p>Weil Shotwell ein zerstörungsfreier Foto-Editor ist, können Sie alle Bearbeitungsschritte an einem Foto zurücknehmen.</p> - <p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p> + <p>Wenn Sie sehen wollen, wie ein Foto vor Ihren Änderungen aussah, drücken Sie die <key>Umschalttaste</key>. Das Originalbild wird angezeigt, so lange Sie diese Taste gedrückt halten.</p> - <p>To completely undo all the changes you've made to a photo, click <guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only exception is that time and date adjustments will not be reverted.</p> + <p>Um alle von Ihnen an einem Foto vorgenommenen Änderungen zurückzunehmen, wählen Sie <guiseq><gui>Fotos</gui><gui>Zurück zum Original</gui></guiseq>. Als einzige Ausnahme werden Anpassungen von Datum und Zeit nicht zurückgenommen.</p> </page> diff --git a/help/de/formats.page b/help/de/formats.page index b1c4ec9..7ac7f9f 100644 --- a/help/de/formats.page +++ b/help/de/formats.page @@ -39,9 +39,8 @@ the <link type="guide" xref="other-raw">RAW</link> section. <p>Shotwell also supports video files in any format supported by the GStreamer media library on the system where Shotwell is running. This typically includes the following formats among others:</p> <list> -<item><p>Container formats: Ogg, QuickTime, MP4, AVI.</p></item> -<item><p>Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating systems may not include all -codecs listed here due to legal or licensing restrictions.</em></p></item> +<item><p>Containerformate: Ogg, QuickTime, MP4, AVI.</p></item> +<item><p>Codecs: Theora, Quicktime, MPEG-4 und Motion JPEG. <em>Beachten Sie, dass einige Betriebssysteme aufgrund von gesetzlichen oder Lizenzbestimmungen eventuell nicht alle hier aufgeführten Codecs unterstützen.</em></p></item> </list> <p>Shotwell supports both photos and videos, but for simplicity, this documentation uses just the term "photos" diff --git a/help/de/import-camera.page b/help/de/import-camera.page index 1384a48..2467ab6 100644 --- a/help/de/import-camera.page +++ b/help/de/import-camera.page @@ -32,11 +32,10 @@ <steps> <item> - <p>Connect the camera to your computer and switch it on. - Shotwell will detect it and list it in the sidebar.</p> + <p>Verbinden Sie die Kamera mit Ihrem Rechner und schalten Sie sie ein. Shotwell wird sie erkennen und in der Seitenleiste anzeigen.</p> </item> <item> - <p>Select the camera in the sidebar. Previews of each photo on the camera will be displayed.</p> + <p>Wählen Sie die Kamera in der Seitenleiste aus. Vorschaubilder werden für jedes der in der Kamera befindlichen Fotos angezeigt.</p> </item> <item> <p>If you like, you can choose a set of specific photos to import. To do this, hold down the <key>Ctrl</key> key and click to select individual photos. You can hold down <key>Shift</key> and click to select a range of photos too.</p> diff --git a/help/de/import-file.page b/help/de/import-file.page index ebf40b9..ead0aec 100644 --- a/help/de/import-file.page +++ b/help/de/import-file.page @@ -28,9 +28,9 @@ <title>Importieren von Ihrer Festplatte</title> - <p>To import photo files from your hard disk into Shotwell, just drag them from your file browser into the Shotwell window.</p> + <p>Um Fotodateien von Ihrer Festplatte in Shotwell zu importieren, ziehen Sie sie einfach aus der Dateiverwaltung in das Shotwell-Fenster.</p> - <p>Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</gui></guiseq> and select the folder containing the photos you want to import.</p> + <p>Wählen Sie alternativ <guiseq><gui>Datei</gui><gui>Aus Ordner importieren …</gui></guiseq> und wählen Sie den Ordner mit den Fotos aus, die Sie importieren wollen.</p> <p>Shotwell will ask whether you want to copy the photo files to your library folder (usually this is the <file>Pictures</file> folder in your home directory) or to import them in place without copying the files.</p> diff --git a/help/de/organize-event.page b/help/de/organize-event.page index a687f0f..46e9717 100644 --- a/help/de/organize-event.page +++ b/help/de/organize-event.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#organize"/> - <desc>Group photos together that were taken at the same time. Learn how to rename, merge, and sort events.</desc> + <desc>Gruppieren Sie Fotos, die etwa zur gleichen Zeit aufgenommen wurden. Erfahren Sie, wie Sie diese umbenennen, zusammenführen und nach Ereignissen sortieren.</desc> <link type="next" xref="flag"/> diff --git a/help/de/organize-tag.page b/help/de/organize-tag.page index 0898c59..4f9c363 100644 --- a/help/de/organize-tag.page +++ b/help/de/organize-tag.page @@ -42,9 +42,9 @@ </p> <list> - <item><p>Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>.</p></item> + <item><p>Wählen Sie <guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen …</gui></guiseq>.</p></item> <item><p>Drücken Sie <keyseq><key>Strg</key><key>T</key></keyseq>.</p></item> - <item><p>Drag the selected photos and drop them on the desired tag.</p></item> + <item><p>Ziehen Sie die gewählten Fotos und legen Sie diese auf das gewünschte Stichwort ab.</p></item> </list> <p> @@ -87,7 +87,7 @@ </p> <section id="hierarchaicaltags"> - <title>Hierarchical Tags</title> + <title>Hierarchische Stichworte</title> <p> Shotwell supports also hierarchial tags. You can rearrange your tags by drag and drop a tag onto another. diff --git a/help/de/organize-title.page b/help/de/organize-title.page index 0b83cd7..8ac3f16 100644 --- a/help/de/organize-title.page +++ b/help/de/organize-title.page @@ -31,7 +31,6 @@ <p>The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the display of titles beneath each photo. By default, a photo's title is its filename.</p> -<p>To change a photo's title, -select the photo and click <guiseq><gui>Photos</gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>.</p> +<p>Um den Titel eines Fotos zu ändern, wählen Sie das Foto und anschließend <guiseq><gui>Fotos</gui><gui>Titel bearbeiten …</gui></guiseq> oder drücken Sie <key>F2</key>.</p> </page> diff --git a/help/de/other-files.page b/help/de/other-files.page index f298d28..09f2584 100644 --- a/help/de/other-files.page +++ b/help/de/other-files.page @@ -47,7 +47,7 @@ <table frame="all" rules="rowgroups"> <tbody> <tr> - <td><p> </p></td> <td><p><em>Symbol</em></p></td> <td><p><em>Meaning</em></p></td> <td><p><em>Example</em></p></td> + <td><p> </p></td> <td><p><em>Symbol</em></p></td> <td><p><em>Bedeutung</em></p></td> <td><p><em>Beispiel</em></p></td> </tr> </tbody> <tbody> diff --git a/help/de/share-export.page b/help/de/share-export.page index c6e7888..cd7dbc9 100644 --- a/help/de/share-export.page +++ b/help/de/share-export.page @@ -30,10 +30,7 @@ <p>Um Fotos aus Shotwell mittels Ziehen-und-Ablegen zu exportieren, ziehen Sie die Fotos aus Shotwell in das Fenster einer Dateiverwaltung oder auf Ihre Arbeitsfläche. Die neuen Dateien entsprechen dann einer Kopie der Fotos Ihrer Bibliothek in Originalgröße.</p> -<p> -Alternatively, select a set of photos and choose the <guiseq><gui>File</gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting you fine-tune the size and dimensions of your photo files. -A window will appear allowing you to make several choices: -</p> +<p>Alternativ wählen Sie eine Gruppe Fotos und wählen Sie <guiseq><gui>Datei</gui><gui>Exportieren</gui></guiseq> oder drücken Sie <keyseq><key>Umschalttaste</key><key>Strg</key><key>E</key></keyseq>, um Fotos zu exportieren und dabei die Größe und Abmessung der Fotodateien zu bestimmen. Daraufhin erscheint ein Fenster mit mehreren Wahlmöglichkeiten:</p> <list> <item><p>Ein Format für den Export.</p> diff --git a/help/sv/edit-adjustments.page b/help/sv/edit-adjustments.page index 1f34ddc..fe2015c 100644 --- a/help/sv/edit-adjustments.page +++ b/help/sv/edit-adjustments.page @@ -6,7 +6,19 @@ <desc>Ändra exponering, mättnad, färgton och skuggorna för en bild.</desc> <link type="next" xref="edit-crop"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Färgjusteringar</title> @@ -14,7 +26,7 @@ <p>Knappen <gui>Förbättra</gui> justerar histogram- och skuggskjutreglagen för att förbättra kvaliteten på en bild.</p> -<p>When the photo's colors and contrast are to your liking, press <gui>OK</gui> to save the changes. <gui>Reset</gui> will return the image to its original state. <gui>Cancel</gui> discards all changes you've made.</p> +<p>När du är nöjd med bildens färg och kontrast, tryck <gui>OK</gui> för att spara ändringarna. <gui>Återställ</gui> kommer att återställa bilden till dess ursprungliga tillstånd. <gui>Avbryt</gui> förkastar alla ändringar du har gjort.</p> <section> <title>Vad gör färgjusteringarna?</title> diff --git a/help/sv/edit-crop.page b/help/sv/edit-crop.page index b38136d..19368d0 100644 --- a/help/sv/edit-crop.page +++ b/help/sv/edit-crop.page @@ -6,7 +6,19 @@ <desc>Förbättra sammansättningen för en bild genom att klippa bort delar från den.</desc> <link type="next" xref="edit-external"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Beskär</title> @@ -24,7 +36,7 @@ <p>Du kan också begränsa beskärningsrutan till en av många vanliga storlekar. Välj en storlek från rullgardinsmenyn som passar dig. Om du trycker vändknappen bredvid den kommer riktningen av begränsningen att växla (från landskap till porträtt).</p> </item> <item> - <p>When you're happy with your crop outline, apply it by pressing the <gui>Crop</gui> button. Shotwell will display the cropped photo.</p> + <p>Verkställ din beskärning när du är nöjd med den genom att trycka på knappen <gui>Beskär</gui>. Shotwell kommer att visa den beskurna bilden.</p> </item> <item> <p>Om du ändrar dig, tryck knappen <gui>Beskär</gui> igen och finjustera beskärningen.</p> diff --git a/help/sv/edit-date-time.page b/help/sv/edit-date-time.page index 757360e..52d41b3 100644 --- a/help/sv/edit-date-time.page +++ b/help/sv/edit-date-time.page @@ -3,17 +3,29 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Change the date and time of photos if those details are incorrect.</desc> + <desc>Ändra datum och tid för bilder om de inte stämmer.</desc> <link type="next" xref="edit-enhance"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> - <title>Adjust the date and time of photos</title> + <title>Justera datum och tid för bilder</title> -<p>To adjust the date and time of photos, select the photos you would like to adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Date and Time...</gui></guiseq> and select a new date and time.</p> +<p>För att justera datum och tid för bilder, markera de bilder du vill justera, välj <guiseq><gui>Bilder</gui><gui>Justera datum och tid…</gui></guiseq> och markera nytt datum och tid.</p> <p>Om du ändrar datum och tid för flera bilder samtidigt kan du välja att ändra tiden för alla bilder eller ange samma tid för alla bilder samtidigt.</p> -<p>By default, the date and time are only changed inside Shotwell. You can also choose to modify the date and time in the original file, but this cannot be undone once you exit Shotwell.</p> +<p>Som standard ändras datum och tid endast i Shotwell. Du kan också välja att ändra datum och tid i originalfilen, men det kan inte ångras när du väl har avslutat Shotwell.</p> </page> diff --git a/help/sv/edit-enhance.page b/help/sv/edit-enhance.page index c4b33b0..65ca72a 100644 --- a/help/sv/edit-enhance.page +++ b/help/sv/edit-enhance.page @@ -8,7 +8,19 @@ <link type="seealso" xref="edit-adjustments"/> <link type="next" xref="edit-adjustments"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Autoförbättra</title> diff --git a/help/sv/edit-external.page b/help/sv/edit-external.page index c53aa3a..35f28e2 100644 --- a/help/sv/edit-external.page +++ b/help/sv/edit-external.page @@ -6,18 +6,25 @@ <desc>Använda ett annat program för att redigera en bild.</desc> <link type="next" xref="edit-redeye"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Redigera bilder med ett externt program</title> <p>Du kan vilja använda en extern redigerare för att utföra ytterligare arbete på en bild. Om installerade så är GIMP och UFRaw de externa standardredigerarna för bilder och RAW-redigering. Om dessa program inte är installerade måste du välja dina föredragna redigerare genom att välja <guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq> och markera redigerare från rullgardinsmenyn för installerade program.</p> - <p> - Once your editors have been set, select a photo and choose <guiseq><gui>Photos</gui> - <gui>Open With External Editor</gui></guiseq> to open the photo with the external editor. - Likewise, if the original photo is a RAW file, select <guiseq><gui>Photos</gui><gui>Open - With RAW Editor</gui></guiseq> to edit the RAW file directly with the set RAW editor. - </p> + <p>När redigerare väl har angetts, markera en bild och väljs <guiseq><gui>Bilder</gui> <gui>Öppna med extern redigerare</gui></guiseq> för att öppna bilden med den externa redigeraren. På samma sätt, om originalbilden är en RAW-fil, välj <guiseq><gui>Bilder</gui><gui>Öppna med RAW-redigerare</gui></guiseq> för att redigera RAW-filen med den valda RAW-redigeraren.</p> <p>När du är klar med redigering och sparar filen kommer Shotwell att upptäcka ändringarna och uppdatera bilden. Om externa ändringar har skett, tryck och håll <key>Skift</key>-tangenten i helskärmsvyn för att visa originalbilden istället för den externt redigerade.</p> diff --git a/help/sv/edit-nondestructive.page b/help/sv/edit-nondestructive.page index 87134b5..1c8f713 100644 --- a/help/sv/edit-nondestructive.page +++ b/help/sv/edit-nondestructive.page @@ -6,7 +6,19 @@ <desc>Shotwell är en förlustfri bildredigerare - den ändrar inte dina originalbilder.</desc> <link type="next" xref="edit-date-time"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Vad händer med originalet när jag redigerar en bild?</title> diff --git a/help/sv/edit-redeye.page b/help/sv/edit-redeye.page index ec97be0..45a94d7 100644 --- a/help/sv/edit-redeye.page +++ b/help/sv/edit-redeye.page @@ -6,7 +6,19 @@ <desc>Rätta till bilder där personer har röda ögon på grund av kamerans blixt.</desc> <link type="next" xref="edit-rotate"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Ta bort röda ögon</title> diff --git a/help/sv/edit-rotate.page b/help/sv/edit-rotate.page index b16fb83..6efbcfa 100644 --- a/help/sv/edit-rotate.page +++ b/help/sv/edit-rotate.page @@ -6,7 +6,19 @@ <desc>Klicka knappen <gui>Rotera</gui> eller välj en av kommandona i <gui>Bild</gui>-menyn.</desc> <link type="next" xref="edit-straighten"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Rotera eller vänd en bild</title> diff --git a/help/sv/edit-straighten.page b/help/sv/edit-straighten.page index a0eb448..f44b272 100644 --- a/help/sv/edit-straighten.page +++ b/help/sv/edit-straighten.page @@ -6,7 +6,19 @@ <desc>Räta ut en bild så att dess horisont blir rak.</desc> <link type="next" xref="edit-undo"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Räta ut bilder</title> @@ -20,7 +32,7 @@ <p>Dra i skjutreglaget för att uppnå önska grad av uträtning.</p> </item> <item> - <p>Press <gui>Straighten</gui> when finished.</p> + <p>Tryck <gui>Räta ut</gui> när klar.</p> </item> </steps> diff --git a/help/sv/edit-undo.page b/help/sv/edit-undo.page index f128f61..619628d 100644 --- a/help/sv/edit-undo.page +++ b/help/sv/edit-undo.page @@ -8,7 +8,19 @@ <link type="seealso" xref="edit-nondestructive"/> <link type="next" xref="edit-nondestructive"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Ånga ändringar</title> diff --git a/help/sv/formats.page b/help/sv/formats.page index def7946..62d730e 100644 --- a/help/sv/formats.page +++ b/help/sv/formats.page @@ -6,7 +6,19 @@ <desc>Shotwell stödjer JPEG, PNG, TIFF, BMP och RAW-bilder såväl som filmfiler.</desc> <link type="next" xref="running"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Bild- och videoformat som stöds</title> diff --git a/help/sv/import-camera.page b/help/sv/import-camera.page index 3cdeac2..b8da370 100644 --- a/help/sv/import-camera.page +++ b/help/sv/import-camera.page @@ -6,7 +6,19 @@ <desc>Kopiera bilder från en digital kamera.</desc> <link type="next" xref="import-memorycard"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Importera från en kamera</title> diff --git a/help/sv/import-f-spot.page b/help/sv/import-f-spot.page index 3c841af..4fdaba7 100644 --- a/help/sv/import-f-spot.page +++ b/help/sv/import-f-spot.page @@ -6,7 +6,19 @@ <desc>Shotwell kan importera alla dina bilder och taggar från bildhanteraren F-Spot.</desc> <link type="next" xref="import-camera"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Importera från F-Spot</title> diff --git a/help/sv/import-file.page b/help/sv/import-file.page index 43521a7..d73b040 100644 --- a/help/sv/import-file.page +++ b/help/sv/import-file.page @@ -6,13 +6,25 @@ <desc>Importera bilder som redan är sparade på din dator.</desc> <link type="next" xref="import-f-spot"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Importera från din hårddisk</title> <p>För att importera bildfiler från din hårddisk till Shotwell, dra dem från din filhanterare till Shotwell-fönstret.</p> - <p>Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</gui></guiseq> and select the folder containing the photos you want to import.</p> + <p>Alternativt, klicka <guiseq><gui>Arkiv</gui><gui>Importera från mapp…</gui></guiseq> och markera mappen som innehåller de bilder du vill importera.</p> <p>Shotwell kommer att fråga huruvida du vill kopiera bildfiler till din biblioteksmapp (vanligtvis mappen <file>Bilder</file> i din hemkatalog) eller importera dem direkt utan att kopiera filerna.</p> diff --git a/help/sv/import-memorycard.page b/help/sv/import-memorycard.page index 3c7a691..ca3c37a 100644 --- a/help/sv/import-memorycard.page +++ b/help/sv/import-memorycard.page @@ -6,7 +6,19 @@ <desc>Importera bilder från en digitalkameras minneskort.</desc> <link type="next" xref="import-file"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Importera från ett minneskort</title> @@ -20,7 +32,7 @@ <p>Kortläsaren och kortet bör upptäckas automatiskt.</p> </item> <item> - <p>Follow the instructions for <link xref="import-file">importing photos from your hard disk</link>. If you click <guiseq><gui>File</gui><gui>Import From Folder...</gui></guiseq>, the memory card should be visible as a folder in the side bar of the file selection window.</p> + <p>Följ instruktionerna för att <link xref="import-file">importera bilder från din hårddisk</link>. Om du klickar <guiseq><gui>Arkiv</gui><gui>Importera från mapp…</gui></guiseq> bör minneskortet synas som en mapp i sidopanelen för filväljarfönstret.</p> </item> </steps> diff --git a/help/sv/index.page b/help/sv/index.page index befb57f..97f2681 100644 --- a/help/sv/index.page +++ b/help/sv/index.page @@ -16,7 +16,19 @@ <name>Phil Bull</name> <email>philbull@gmail.com</email> </credit> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title><media type="image" src="figures/shotwell_logo.png"/>Shotwell bildhanterare</title> diff --git a/help/sv/organize-event.page b/help/sv/organize-event.page index 325c7bf..59e822a 100644 --- a/help/sv/organize-event.page +++ b/help/sv/organize-event.page @@ -6,7 +6,19 @@ <desc>Gruppera bilder som tagits samtidigt. Lär dig att byta namn, sammanfoga och sortera händelser.</desc> <link type="next" xref="flag"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Händelser</title> @@ -19,7 +31,7 @@ <section> <title>Byta namn på händelser</title> - <p>To give an event a name rather than referring to it by its date, select the event, click <guiseq><gui>Events</gui><gui>Rename Event...</gui></guiseq> and enter a new name. Another way of renaming an event is to double-click its name in the sidebar; type a new name and then press <key>Enter</key>.</p> + <p>För att ge en händelse ett namn istället för att hänvisa till den med datum, markera händelsen, klicka <guiseq><gui>Redigera</gui><gui>Byt namn på händelse…</gui></guiseq> och ange ett nytt namn. Ett annat sätt att byta namn på en händelse är att dubbelklicka på dess namn i sidopanelen, skriva ett nytt namn och sedan trycka <key>Retur</key>.</p> </section> <section> @@ -44,7 +56,7 @@ <section> <title>Ändra bilden som representerar varje händelse.</title> - <p>If you select the <gui>Events</gui> item in the sidebar, you'll see a single photo which represents each event. This is called the key photo.</p> + <p>Om du väljer <gui>Händelser</gui> i sidopanelen kommer du att se en ensam bild som representerar var händelse. Det kallas nyckelbilden.</p> <p>Som standard använder Shotwell den första bilden i varje händelse som dess nyckelbild. För att använda en annan nyckelbild, markera bilden och välj <guiseq><gui>Bilder</gui><gui>Skapa nyckelbild för händelse</gui></guiseq>.</p> diff --git a/help/sv/organize-flag.page b/help/sv/organize-flag.page index 9a3e768..3f9d823 100644 --- a/help/sv/organize-flag.page +++ b/help/sv/organize-flag.page @@ -6,7 +6,19 @@ <desc>Flagga bilder för att markera dem som speciella eller för att arbeta med dem som en samling.</desc> <link type="next" xref="rating"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Flagga bilder</title> diff --git a/help/sv/organize-rating.page b/help/sv/organize-rating.page index 7d9b699..bb3707e 100644 --- a/help/sv/organize-rating.page +++ b/help/sv/organize-rating.page @@ -6,7 +6,19 @@ <desc>Ge bilderna ett betyg mellan en och fem stjärnor. Du kan avvisa dåliga bilder och dölja dem från visning.</desc> <link type="next" xref="delete"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Betyg</title> <p>Du kan ger varje bild ett betyg från 1-5 stjärnor, eller sätta den som avvisad, vilket medför att Shotwell som standard kommer att dölja bilden.</p> @@ -16,7 +28,7 @@ <list> <item><p>Markera bilden och välj sedan betygsätt från den översta menyn <guiseq><gui>Bilder</gui><gui>Betygsätt</gui></guiseq>.</p></item> <item><p>Högerklicka på bilden/rna och välj sedan ett betyg från snabbmenyn Betygsätt.</p></item> -<item><p>Markera bilden/erna och tryck sedan på någon av snabbtangenterna <key>1</key>, <key>2</key>, <key>3</key>, <key>4</key> eller <key>5</key> för att tilldela ett betyg. Eller, tryck <key>9</key> för att markera bilden/erna som avvisade eller<key>0</key> för att rensa betyg.</p></item> +<item><p>Markera bilden/erna och tryck sedan på någon av snabbtangenterna <key>1</key>, <key>2</key>, <key>3</key>, <key>4</key> eller <key>5</key> för att tilldela ett betyg. Eller, tryck <key>9</key> för att markera bilden/erna som avvisade eller <key>0</key> för att rensa betyg.</p></item> </list> <p>Vanligtvis visar Shotwell alla bilder förutom avvisade bilder. Du kan ange ett annat betygsfilter genom att använda <guiseq><gui>Visa</gui><gui>Filtrera bilder</gui></guiseq>-menyn - till exempel kan du visa bilder betygsatta med tre stjärnor eller högre, eller du kan visa alla bilder inklusive de som markerats avvisade. Shotwell-ikonen på verktygsfältet visar aktuellt betygsfilter och kan också användas för att aktivera filtret.</p> diff --git a/help/sv/organize-remove.page b/help/sv/organize-remove.page index f0c27c6..82943af 100644 --- a/help/sv/organize-remove.page +++ b/help/sv/organize-remove.page @@ -6,7 +6,19 @@ <desc>Ta bort bilder från biblioteket eller radera dem fullständigt från din dator.</desc> <link type="next" xref="search"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Ta bort och radera bilder</title> diff --git a/help/sv/organize-search.page b/help/sv/organize-search.page index b3ec6e1..56af52a 100644 --- a/help/sv/organize-search.page +++ b/help/sv/organize-search.page @@ -6,7 +6,19 @@ <desc>Hitta bilder och filmer i din samling med blandade kriterier.</desc> <link type="next" xref="tag"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Söka</title> @@ -25,17 +37,9 @@ <title>Sparad sökning</title> <p>En sparad sökning lagras över Shotwell-sessioner och uppdateras då bilder och filmer läggs till och tas bort från ditt Shotwell-bibliotek.</p> - <p> - Create a new saved search with <guiseq><gui>Edit</gui><gui>New Saved Search...</gui></guiseq> or by hitting - <keyseq><key>Ctrl</key><key>S</key></keyseq>. The dialog box allows you to enter a name for the - search and select whether you want to meet Any, All, or None of the criteria in the following rows. - </p> + <p>Skapa en ny sparad sökning med <guiseq><gui>Redigera</gui><gui>Ny sökning…</gui></guiseq> eller genom att trycka <keyseq><key>Ctrl</key><key>S</key></keyseq>. Dialogrutan låter dig ange ett namn för sökningen och välja huruvida du vill uppfylla några, alla eller inga av kriterierna i följande rader.</p> - <p> - Each row represents a search criterion. Use the <gui>+</gui> button to add more rows, and the - <gui>-</gui> button to remove a specific row. The combo box on the left of each row selects the type - of criteria. Criteria must be entered correctly before the <gui>OK</gui> button becomes available. - </p> + <p>Varje rad representerar ett sökkriterium. Använd <gui>+</gui>-knappen för att lägga till flera rader och <gui>-</gui>knappen för att ta bort en specifik rad. Komborutan till vänster för varje rad väljer kriterietyp. Kriterier måste anges korrekt innan <gui>OK</gui>-knappen blir tillgänglig.</p> </section> </page> diff --git a/help/sv/organize-tag.page b/help/sv/organize-tag.page index b90c03e..6a378fa 100644 --- a/help/sv/organize-tag.page +++ b/help/sv/organize-tag.page @@ -8,7 +8,19 @@ <link type="seealso" xref="event"/> <link type="next" xref="title"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Tagga bilder</title> @@ -17,45 +29,18 @@ <p>För att lägga till taggar till bilder, markera bilderna du skulle vilja lägga tagga, och gör sedan följande:</p> <list> - <item><p>Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>.</p></item> + <item><p>Markera <guiseq><gui>Taggar</gui><gui>Lägg till taggar…</gui></guiseq>.</p></item> <item><p>Skriv in <keyseq><key>Ctrl</key><key>T</key></keyseq>.</p></item> <item><p>Dra de markerade bilderna och släpp dem på den önskade taggen.</p></item> </list> - <p> - When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or - <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq> you can type - in the names of one or more tags, separated by commas. - Once you have created a tag, you can rename it by selecting that - tag in the sidebar and choosing - <guiseq><gui>Tags</gui><gui>Rename Tag "[name]"...</gui></guiseq>, - by rightclicking on it and choose <gui>Rename...</gui> or - double-click on the tag in the sidebar. - </p> + <p>När du använder <keyseq><key>Ctrl</key><key>T</key></keyseq> eller <guiseq><gui>Taggar</gui><gui>Lägg till taggar…</gui></guiseq> kan du skriva in namnen på en eller flera taggar separerade med komman. När du väl har skapat en tagg kan du byta namn på den genom att markera taggen i sidopanelen och välja <guiseq><gui>Taggar</gui><gui>Byt namn på taggen "[namn]"…</gui></guiseq> genom att högerklicka på den och markera <gui>Byt namn…</gui> eller dubbelklicka på taggen i sidopanelen.</p> - <p> - To change which tags are associated with a particular photo, - select that photo, choose - <guiseq><gui>Tags</gui><gui>Modify Tags...</gui></guiseq> or - right-click on a photo and select <gui>Modify Tags...</gui> and - edit the comma separated list. - To remove a tag from one or more photos, first select that tag - in the sidebar, then select the photos you would like to remove, - and choose - <guiseq><gui>Tags</gui><gui>Remove Tag "[name]" from Photos</gui></guiseq> - or right-click on the photos an select - <gui>Remove Tag "[name]" from Photos</gui>. - </p> + <p>För att ändra taggar associerade med en speciell bild, markera bilden, välj <guiseq><gui>Taggar</gui><gui>Ändra taggar…</gui></guiseq> eller högerklicka på en bild och markera <gui>Ändra taggar…</gui> och redigera den kommaseparerade listan. För att ta bort en tagg från en eller flera bilder, välj först taggen i sidopanelen och markera sedan de bilder du vill ta bort, samt välj <guiseq><gui>Taggar</gui><gui>Ta bort taggen "[namn]" från bilderna</gui></guiseq> eller högerklicka på bilderna och välj <gui>Ta bort taggen "[namn]" från bilderna</gui>.</p> <p>För att fullständigt ta bort en tagg, markera taggen i sidopanelen och välj <guiseq><gui>Taggar</gui><gui>Ta bort tagg "[namn]"</gui></guiseq> eller högerklicka och välj <gui>Ta bort tagg "[namn]"</gui>.</p> - <p> - When you create a tag, it will appear in the sidebar under the - <gui>Tags</gui> item, which is hidden if there are no tags. Photos - can have multiple tags attached to them, and when you click on the - name of a given tag in the sidebar, you will see all the photos - associated with that tag. - </p> + <p>När du skapar en tagg kommer den att visas i sidopanelen under objektet <gui>Taggar</gui>, vilket döljs om det inte finns några taggar. Bilder kan ha flera taggar associerade med dem, och när du klickar på namnet för en given tagg i sidopanelen kommer du att se alla bilder associerade med denna tagg.</p> <section id="hierarchaicaltags"> <title>Hierarkiska taggar</title> diff --git a/help/sv/organize-title.page b/help/sv/organize-title.page index b718cff..ca71fd0 100644 --- a/help/sv/organize-title.page +++ b/help/sv/organize-title.page @@ -6,13 +6,24 @@ <desc>Namnge dina bilder.</desc> <link type="next" xref="event"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Namn</title> <p>Kryssrutan <guiseq><gui>Visa</gui><gui>Titlar</gui></guiseq> aktiverar visningen av titlar under varje bild. Som standard är en bilds namn dess filnamn.</p> -<p>To change a photo's title, -select the photo and click <guiseq><gui>Photos</gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>.</p> +<p>För att ändra en bilds titel, markera bilden och klicka <guiseq><gui>Bilder</gui><gui>Redigera titel…</gui></guiseq> eller tryck <key>F2</key>.</p> </page> diff --git a/help/sv/other-files.page b/help/sv/other-files.page index da68bfa..6c1374b 100644 --- a/help/sv/other-files.page +++ b/help/sv/other-files.page @@ -6,7 +6,19 @@ <desc>Håll Shotwell-biblioteket i synk med bildfiler på disk.</desc> <link type="next" xref="other-plugins"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Bildfiler</title> @@ -22,7 +34,7 @@ <table frame="all" rules="rowgroups"> <tbody> <tr> - <td><p> </p></td> <td><p><em>Symbol</em></p></td> <td><p><em>Meaning</em></p></td> <td><p><em>Example</em></p></td> + <td><p> </p></td> <td><p><em>Symbol</em></p></td> <td><p><em>Betydelse</em></p></td> <td><p><em>Exempel</em></p></td> </tr> </tbody> <tbody> diff --git a/help/sv/other-missing.page b/help/sv/other-missing.page index e577f95..1ba9201 100644 --- a/help/sv/other-missing.page +++ b/help/sv/other-missing.page @@ -6,7 +6,19 @@ <desc>Om Shotwell inte kan hitta en bild i ditt bibliotek kommer det att markera den som saknad.</desc> <link type="next" xref="other-multiple"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Saknade bilder</title> diff --git a/help/sv/other-multiple.page b/help/sv/other-multiple.page index 6214a85..230e6c8 100644 --- a/help/sv/other-multiple.page +++ b/help/sv/other-multiple.page @@ -6,7 +6,19 @@ <desc>Du kan öppna Shotwell med ett annat bildbibliotek genom att använda kommandoraden.</desc> <link type="next" xref="other-files"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Flera bibliotek</title> diff --git a/help/sv/other-plugins.page b/help/sv/other-plugins.page index a1a5a83..d8c1ac7 100644 --- a/help/sv/other-plugins.page +++ b/help/sv/other-plugins.page @@ -6,7 +6,19 @@ <desc>Utöka Shotwells funktionalitet dynamiskt.</desc> <link type="next" xref="other-missing"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Insticksmoduler</title> <p>Shotwell kan användas med <em>Insticksmoduler</em>, vilket är delade bibliotek som kan lägga till stöd för nya publiceringstyper eller nya övergångar vid bildspel.</p> diff --git a/help/sv/raw.page b/help/sv/raw.page index b8511ce..bc2aecf 100644 --- a/help/sv/raw.page +++ b/help/sv/raw.page @@ -6,7 +6,19 @@ <desc>Mer om RAW-stöd i Shotwell.</desc> <link type="next" xref="running"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>RAW-stöd i Shotwell</title> <p>En del kameror har förmågan att lagra data direkt från sensorn till en fil som innehåller extra färginformation, känt som ”RAW” eller ”Kamera-RAW”, och Shotwell stödjer även dessa filer.</p> diff --git a/help/sv/running.page b/help/sv/running.page index 7719df9..cfe592e 100644 --- a/help/sv/running.page +++ b/help/sv/running.page @@ -8,7 +8,19 @@ <link type="seealso" xref="other-multiple"/> <link type="next" xref="formats"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Köra Shotwell</title> diff --git a/help/sv/share-background.page b/help/sv/share-background.page index 9219005..560016e 100644 --- a/help/sv/share-background.page +++ b/help/sv/share-background.page @@ -6,16 +6,24 @@ <desc>Ställ in din skrivbordsbakgrund till att använda en enstaka bild eller ett bildspel.</desc> <link type="next" xref="share-slideshow"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Ange en skrivbordsbakgrund eller ett bildspel.</title> <p>För att ange en bild som din skrivbordsbakgrund, markera bilden och välj sedan <guiseq><gui>Arkiv</gui><gui>Använd som skrivbordsbakgrund</gui></guiseq>.</p> - <p>You can also set your background to a slideshow of photos. To do this, select the photos for - the slideshow and choose <guiseq><gui>File</gui><gui>Set as Desktop Slideshow...</gui></guiseq>. - Shotwell will prompt you for a slideshow delay, which can be any interval up to one day in length. - The background slideshow will proceed even when Shotwell is not running. - </p> + <p>Du kan också sätta din bakgrund till ett bildspel. För att göra detta, markera bilderna för bildspel och välj <guiseq><gui>Arkiv</gui><gui>Använd som bildspel för skrivbord…</gui></guiseq>. Shotwell kommer att fråga om bildspelsfördröjning, vilket kan vara vilket intervall som helst upp till en dags längd. Bildspelet i bakgrunden kommer att fortsätta även när Shotwell inte körs.</p> </page> diff --git a/help/sv/share-export.page b/help/sv/share-export.page index e4fdd87..3749189 100644 --- a/help/sv/share-export.page +++ b/help/sv/share-export.page @@ -6,16 +6,25 @@ <desc>Kopiera bilder från Shotwell så att du kan använda dem på andra ställen.</desc> <link type="next" xref="share-print"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Exportera bilder</title> <p>För att exportera bilder från Shotwell via dra-och-släpp, dra bilderna från Shotwell till ett filhanterarfönster eller ditt skrivbord. De nya filerna kommer att vara kopior av bilderna i ditt bibliotek.</p> -<p> -Alternatively, select a set of photos and choose the <guiseq><gui>File</gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting you fine-tune the size and dimensions of your photo files. -A window will appear allowing you to make several choices: -</p> +<p>Alternativt kan du markera några bilder och välja <guiseq><gui>Arkiv</gui><gui>Exportera…</gui></guiseq>-kommandot eller trycka <keyseq><key>Skift</key><key>Ctrl</key><key>E</key></keyseq> som exporterar bilderna under tiden du finjusterar storlek och dimensioner på dina bildfiler. Ett fönster visas och låter dig göra följande val:</p> <list> <item><p>Ett format för export.</p> diff --git a/help/sv/share-print.page b/help/sv/share-print.page index c864ea5..6b757de 100644 --- a/help/sv/share-print.page +++ b/help/sv/share-print.page @@ -3,21 +3,28 @@ <info> <link type="guide" xref="index#share"/> - <desc>Click <guiseq><gui>File</gui><gui>Print...</gui></guiseq>. For more printing options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog.</desc> + <desc>Välj <guiseq><gui>Arkiv</gui><gui>Skriv ut…</gui></guiseq>. För fler utskriftsalternativ, välj fliken <gui>Sidinställning</gui> i dialogen <gui>Skriv ut</gui>.</desc> <link type="next" xref="share-upload"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Skriva ut</title> - <p>To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print...</gui></guiseq>.</p> + <p>För att skriva ut en bild, markera den och välj <guiseq><gui>Arkiv</gui><gui>Skriv ut…</gui></guiseq>.</p> - <p> - Shotwell can also print multiple images in one page; to do this, select multiple images, - choose <guiseq><gui>File</gui><gui>Print...</gui></guiseq>, and in the <gui>Print</gui> dialog, - choose the <gui>Image Settings</gui> tab. In <gui>Image Settings</gui>, choose one of the - multiple-image-per-page options under <gui>Autosize</gui>. - </p> + <p>Shotwell kan också skriva ut flera bilder på en sida - för att göra detta, markera flera bilder, välj <guiseq><gui>Arkiv</gui><gui>Skriv ut…</gui></guiseq> och i dialogen <gui>Skriv ut</gui>, välj fliken <gui>Bildinställningar</gui>. I <gui>Bildinställningar</gui>, välj ett av alternativen för flera-bilder-per-sida under <gui>Automatisk storlek</gui>.</p> <p>Om du vill ställa in formatering, pappersstorlek och riktningsalternativ, välj fliken <gui>Sidinställning</gui> i dialogen <gui>Skriv ut</gui> innan utskrift.</p> </page> diff --git a/help/sv/share-send.page b/help/sv/share-send.page index 0df43ce..1a251f5 100644 --- a/help/sv/share-send.page +++ b/help/sv/share-send.page @@ -6,7 +6,19 @@ <desc>Skicka bilder via e-post, snabbmeddelanden eller på andra sätt.</desc> <link type="next" xref="share-background"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Skicka bilder</title> diff --git a/help/sv/share-slideshow.page b/help/sv/share-slideshow.page index 6ab2850..b2bb3db 100644 --- a/help/sv/share-slideshow.page +++ b/help/sv/share-slideshow.page @@ -6,7 +6,19 @@ <desc>Se en bildpresentation av dina bilder.</desc> <link type="next" xref="share-export"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Bildpresentationer</title> diff --git a/help/sv/share-upload.page b/help/sv/share-upload.page index ea461ae..c87b969 100644 --- a/help/sv/share-upload.page +++ b/help/sv/share-upload.page @@ -6,7 +6,19 @@ <desc>Publicera bilden till Facebook, Flickr, Picasa Web Albums eller andra webbplatser.</desc> <link type="next" xref="share-send"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Publicera på webben</title> @@ -23,10 +35,8 @@ <p>För att publicera markerade bilder i en samling, välj <guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq> och klicka på fliken <gui>Insticksmoduler</gui> för att aktivera insticket för tjänsten du vill publicera till. Välj sedan <guiseq><gui>Arkiv</gui><gui>Publicera</gui></guiseq>, tryck verktygsfältsknappen <gui>Publicera</gui> eller använd <keyseq><key>Ctrl</key><key>P</key></keyseq>. Du får då upp en dialog som låter dig välja en publiceringstjänst. Du måste sedan logga in eller skapa ett konto.</p> - <p>Publishing to Facebook requires you to grant certain permissions to the Shotwell Facebook application. - You only need to grant these permissions once, when you first associate Shotwell with your Facebook account. -</p> - <note style="advanced"><p>You will be only able to publish images with at most the permission you granted to the Shotwell Facebook application</p></note> + <p>Att publicera till Facebook kräver att du ger tillstånd för programmet Shotwell för Facebook. Du behöver bara ge dessa tillstånd en gång, då du först associerar Shotwell med ditt Facebook-konto.</p> + <note style="advanced"><p>Du kommer bara kunna publicera bilder med högst behörigheten du givit tillstånd till för programmet Shotwell för Facebook</p></note> <p>På liknande sätt kräver Flickr att du loggar in och tillåter Shotwell Connect att komma åt ditt konto.</p> diff --git a/help/sv/sv.po b/help/sv/sv.po index f7c69ca..b11fd4c 100644 --- a/help/sv/sv.po +++ b/help/sv/sv.po @@ -1,1432 +1,1486 @@ # Swedish translation for shotwell help -# Copyright © 2015 shotwell's COPYRIGHT HOLDER +# Copyright © 2015, 2016 shotwell's COPYRIGHT HOLDER # This file is distributed under the same license as the shotwell package. -# Josef Andersson <josef.andersson@fripost.org>, 2015 +# Josef Andersson <josef.andersson@fripost.org>, 2015. +# Anders Jonsson <anders.jonsson@norsjovallen.se>, 2016. msgid "" msgstr "" "Project-Id-Version: shotwell master\n" -"POT-Creation-Date: 2016-02-18 02:40+0000\n" -"PO-Revision-Date: 2015-07-20 18:10+0200\n" -"Last-Translator: Josef Andersson <josef.andersson@fripost.org>\n" +"POT-Creation-Date: 2016-07-01 22:30+0000\n" +"PO-Revision-Date: 2016-09-21 13:25+0200\n" +"Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n" "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" "Language: sv\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: Poedit 1.8.2\n" +"X-Generator: Poedit 1.8.9\n" -#: C/view-sidebar.page:7(desc) -msgid "" -"The sidebar on the left of the window lists various views of your library." +#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 +msgctxt "_" +msgid "translator-credits" msgstr "" -"Sidopanelen till vänster om fönstret listar olika vyer över ditt bibliotek." +"Josef Andersson <josef.andersson@fripost.org>, 2015\n" +"Anders Jonsson <anders.jonsson@norsjovallen.se>, 2016" -#: C/view-sidebar.page:21(title) -msgid "The sidebar" -msgstr "Sidopanelen" +#. (itstool) path: info/desc +#: C/edit-adjustments.page:7 +msgid "Change the exposure, saturation, tint, and shadows of a photo." +msgstr "Ändra exponering, mättnad, färgton och skuggorna för en bild." + +#. (itstool) path: page/title +#: C/edit-adjustments.page:12 +msgid "Color adjustments" +msgstr "Färgjusteringar" -#: C/view-sidebar.page:23(p) +#. (itstool) path: page/p +#: C/edit-adjustments.page:14 msgid "" -"The sidebar on the left side of the Shotwell window lists various views of " -"your library. Although you may see the same photo in multiple views, it's " -"only stored once on your hard drive." +"The <gui>Adjust</gui> button opens a floating window with a histogram and " +"sliders to adjust a photo's exposure, saturation, tint, temperature, and " +"shadows. The histogram also has sliders to reduce the upper and lower " +"intensity thresholds of the photograph, expanding the contrast of the middle " +"range." msgstr "" -"Sidopanelen på den vänstra sidan av Shotwell-fönstret listar olika vyer över " -"ditt bibliotek. Fastän du kan se samma bild i olika vyer är den endast " -"lagrad en gång på din hårddisk." +"Knappen <gui>Justera</gui> öppnar ett fönster med ett histogram och " +"skjutreglage för att justera en bilds exponering, mättnad, färgton, " +"temperatur och skuggor. Histogrammet har också skjutreglaget för att minska " +"de övre och lägre intensitetströsklarna för bilden, utökandes kontrasten för " +"mittenområdet." -#: C/view-sidebar.page:25(p) +#. (itstool) path: page/p +#: C/edit-adjustments.page:16 msgid "" -"The <gui>Last Import</gui> view lists your last imported photos no matter if " -"they are imported from F-Spot, your camera, a memory card or the hard disk." +"The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to " +"improve the quality of a photo." msgstr "" -"Vyn <gui>Senaste import</gui> listar dina senast importerade bilder oavsett " -"om de är importerade från F-Spot, din kamera, ett minneskort eller " -"hårddisken." +"Knappen <gui>Förbättra</gui> justerar histogram- och skuggskjutreglagen för " +"att förbättra kvaliteten på en bild." -#: C/view-sidebar.page:27(p) -msgid "The <gui>Flagged</gui> lists all photos you had previous flagged." -msgstr "<gui>Flaggade</gui> listar alla bilder du tidigare flaggat." +#. (itstool) path: page/p +#: C/edit-adjustments.page:18 +msgid "" +"When the photo's colors and contrast are to your liking, press <gui>OK</gui> " +"to save the changes. <gui>Reset</gui> will return the image to its original " +"state. <gui>Cancel</gui> discards all changes you've made." +msgstr "" +"När du är nöjd med bildens färg och kontrast, tryck <gui>OK</gui> för att " +"spara ändringarna. <gui>Återställ</gui> kommer att återställa bilden till " +"dess ursprungliga tillstånd. <gui>Avbryt</gui> förkastar alla ändringar du " +"har gjort." + +#. (itstool) path: section/title +#: C/edit-adjustments.page:21 +msgid "What do the color adjustments do?" +msgstr "Vad gör färgjusteringarna?" + +#. (itstool) path: item/title +#: C/edit-adjustments.page:24 +msgid "Exposure" +msgstr "Exponering" -#: C/view-sidebar.page:29(p) +#. (itstool) path: item/p +#: C/edit-adjustments.page:25 msgid "" -"The <gui>Saved Search</gui> allows you to sort your library by many criteria." +"Changes the brightness to make it look like the photo was exposed for a " +"longer or shorter time. Use this to correct under- or over-exposed photos." msgstr "" -"<gui>Sparad sökning</gui> låter dig sortera ditt bibliotek efter flera " -"kriterier." +"Ändra ljusstyrkan för att få det att se ut som att bilden exponerades en " +"längre eller kortare tid. Använd detta för att korrigera över- eller " +"underexponerade bilder." -#: C/view-sidebar.page:31(p) +#. (itstool) path: item/title +#: C/edit-adjustments.page:28 +msgid "Saturation" +msgstr "Mättnad" + +#. (itstool) path: item/p +#: C/edit-adjustments.page:29 msgid "" -"The <gui>Events</gui> folder lists all events in your library. An event is a " -"group of photos that were taken at approximately the same time." +"Changes how vivid colors look. If your photo looks gray and washed out, try " +"increasing the saturation. If colors look too bold, try decreasing it." msgstr "" -"Mappen <gui>Händelser</gui> listar alla händelser i ditt bibliotek. En " -"händelser är en grupp av bilder som tagits ungefär samtidigt." +"Ändrar hur levande färger uppfattas. Om din bild ser grå och urblekt ut, " +"prova att öka mättnaden. Om färgerna är för starka, prova att minska den." + +#. (itstool) path: item/title +#: C/edit-adjustments.page:32 +msgid "Tint" +msgstr "Tint" -#: C/view-sidebar.page:33(p) +#. (itstool) path: item/p +#: C/edit-adjustments.page:33 msgid "" -"The <gui>Tags</gui> folder lists all tags you've assigned to photos. Photos " -"can have multiple tags attached to them. When you click on the name of a tag " -"in the sidebar, you will see all the photos associated with that tag." +"This tints the photo with a color. It's useful for correcting photos taken " +"with the wrong white balance setting, which typically have an unnatural " +"color cast. For example, photos taken outdoors with the white balance set to " +"\"Tungsten\" may have a blue cast." msgstr "" -"Mappen <gui>Taggar</gui> listar alla taggar du tilldelat till bilder. Bilder " -"kan ha flera taggar kopplade till dem. När du klickar på namnet på en tagg i " -"sidopanelen kommer du att se alla bilder associerade med den taggen." +"Tonar bilden med en färg. Användbart för att korrigera bilder tagna med fel " +"vitbalansinställning, som vanligen har en onaturlig färg. Exempelvis, bilder " +"tagna utomhus med vitbalansen inställd till ”Tungsten” kan ha en blå toning." + +#. (itstool) path: item/title +#: C/edit-adjustments.page:36 +msgid "Temperature" +msgstr "Temperatur" -#: C/view-information.page:7(desc) +#. (itstool) path: item/p +#: C/edit-adjustments.page:37 msgid "" -"View more detailed information about photos, like the exposure mode used by " -"the camera." +"Changes how \"warm\" or \"cool\" the picture looks. Use this to make cold, " +"depressing scenes look more lively, for example." msgstr "" -"Visa detaljerad information om bilder, som exponeringsläge använt av kameran." +"Ändrar hur ”varm” eller ”kall” bilden ser ut. Använd exempelvis denna för " +"att få kalla, deprimerande motiv att se mer levande ut." -#: C/view-information.page:12(title) -msgid "Basic and extended information" -msgstr "Grundläggande och utökad information" +#. (itstool) path: item/title +#: C/edit-adjustments.page:40 +msgid "Shadows" +msgstr "Skuggor" -#: C/view-information.page:14(p) +#. (itstool) path: item/p +#: C/edit-adjustments.page:41 msgid "" -"The Basic Information pane appears at the bottom of the sidebar, and " -"displays a brief summary of the photos you've selected. If no photos are " -"selected, it displays a summary of the entire collection. You can toggle the " -"display of this pane using the <guiseq><gui>View</gui><gui>Basic " -"Information</gui></guiseq> command." +"This makes shadowy areas appear lighter. Use this to make detail more " +"visible if it's obscured by the darkness of a shadow." msgstr "" -"Panelen för grundläggande information visas längst ned i sidopanelen och ger " -"en kortfattad sammanfattning av de bilder du har markerat. Om inga bilder är " -"markerade visar den en sammanfattning av hela samlingen. Du kan växla " -"visningen av denna panel genom att använda <guiseq><gui>Visa</" -"gui><gui>Grundläggande information</gui></guiseq>-kommandot." +"Får skuggområden att se ljusare ut. Använd denna för att få fram fler " +"detaljer om något döljs av skuggor." + +#. (itstool) path: item/title +#: C/edit-adjustments.page:44 +msgid "Intensity Threshold (sliders on the histogram)" +msgstr "Intensitettröskelvärde (skjutreglage på histogrammet)" -#: C/view-information.page:16(p) +#. (itstool) path: item/p +#: C/edit-adjustments.page:45 msgid "" -"The floating Extended Information window displays more information about the " -"selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></" -"guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></" -"keyseq> toggles the display of this window." +"These sliders change how light the brightest white is and how dark the " +"darkest black is. Use them to change the contrast of the photo. Photos which " +"look washed out should particularly benefit from changing these settings." msgstr "" -"Fönstret Utökad information visar mer information om den markerade bilden. " -"Kommandot <guiseq><gui>Visa</gui><gui>Utökad information</gui></guiseq> " -"eller <keyseq><key>Ctrl</key><key>Skift</key><key>X</key></keyseq> växlar " -"visningen av detta fönster." +"Skjutreglagen ändrar hur ljus den ljusaste vit är, och hur mörk den mörkaste " +"svarta är. Använd dem för att ändra kontrasten på en bild. Speciellt bilder " +"som ser urblekta ut bör ha nytta av att ändra dessa inställningar." -#: C/view-displaying.page:7(desc) +#. (itstool) path: media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/edit-crop.page:42 +#| msgid "" +#| "@@image: 'figures/crop_thirds.jpg'; md5=4cf0a026bb812c7eab0c9db8210a9524" +msgctxt "_" msgid "" -"Learn about different ways of viewing your photos: in a grid, filling the " -"main window, or filling the whole screen." +"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'" msgstr "" -"Lär dig olika sätt att visa dina bilder: i ett rutnät som fyller " -"huvudfönstret eller hela skärmen." +"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'" -#: C/view-displaying.page:12(title) -msgid "Photo views" -msgstr "Bildvyer" +#. (itstool) path: info/desc +#: C/edit-crop.page:7 +msgid "Improve the composition of a photo by cutting out parts of it." +msgstr "" +"Förbättra sammansättningen för en bild genom att klippa bort delar från den." -#: C/view-displaying.page:14(p) +#. (itstool) path: page/title +#: C/edit-crop.page:12 +msgid "Cropping" +msgstr "Beskär" + +#. (itstool) path: page/p +#: C/edit-crop.page:14 msgid "" -"When you select any collection in the sidebar, Shotwell displays all photos " -"in the collection in the main window area. At the bottom right is a slider " -"which adjusts the viewing size of the thumbnails. You may also adjust the " -"thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) " -"or by pressing <key>Ctrl</key> while moving your mouse scroll wheel." +"To reduce the area of a photo and concentrate the viewer's attention on a " +"smaller portion of it, use the Crop tool. The crop tool is only available in " +"full-window or fullscreen mode." msgstr "" -"När du väljer en samling i sidopanelen visar Shotwell alla bilder i " -"samlingen i huvudfönstret. Längst ned till höger finns ett skjutreglage som " -"justerar vystorleken på miniatyrbilderna. Du kan också justera " -"miniatyrbildsstorleken genom att använda plus och minustangenterna (<key>+</" -"key> och <key>-</key>) eller genom att trycka <key>Ctrl</key> medan du rör " -"rullhjulet på musen." +"För att minska området för en bild och fånga betraktarens uppmärksamhet till " +"ett mindre område, använd verktyget beskär. Verktyget beskär är endast " +"tillgängligt i helfönster- eller helskärmsläge." -#: C/view-displaying.page:16(p) +#. (itstool) path: item/p +#: C/edit-crop.page:19 msgid "" -"You can view a photo full-window by double-clicking on it. From there you " -"may move to other photos in the collection with the Back and Forward " -"buttons. To return to the collection, double-click on the photo or press " -"<key>Esc</key>." +"Double-click on a photo to enter full-window mode, then press the <gui>Crop</" +"gui> button on the toolbar." msgstr "" -"Du kan visa en bild i helskärm genom att dubbelklicka på det. Därifrån kan " -"du gå vidare till andra bilden i samlingen med knapparna Bakåt och Framåt. " -"För att återvända till samlingen, dubbelklicka på bilden eller tryck " -"<key>Esc</key>." +"Dubbelklicka på en bild för att ange helskärmsläge och tryck sedan på " +"knappen <gui>Beskär</gui> i verktygsfältet." -#: C/view-displaying.page:18(p) +#. (itstool) path: item/p +#: C/edit-crop.page:22 msgid "" -"When viewing a photo in full-window mode, the slider on the toolbar controls " -"zoom. You can pan around by grabbing and dragging anywhere on the photo. You " -"can also zoom using your scroll wheel or by pressing the following keyboard " -"shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, " -"<keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), " -"and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen " -"pixels)." +"A white box, the crop rectangle, will appear over the photo. The lighter " +"portion of the photo within the crop rectangle represents what the photo " +"will look like when you crop it." msgstr "" -"När du visar en bild i helskärmsläge blir skjutreglaget i verktygsfältet " -"zoom. Du kan flytta runt genom att ta tag i och dra varsomhelst på bilden. " -"Du kan också zooma med ditt rullhjul eller genom att trycka följande " -"tangentbordsgenvägar:<keyseq><key>Ctrl</key>0</keyseq> för hela bilden, " -"<keyseq><key>Ctrl</key>1</keyseq> för 100% (1 bildpunkt i bilden = 1 " -"bildpunkt på skärm) och <keyseq><key>Ctrl</key>2</keyseq> för 200% (1 " -"bildpunkt för skärm = 2x2 skärmbildpunkter)." +"En vit ruta, beskärningsrektangeln kommer att visas på bilden. Den ljusare " +"delen av bilden inuti beskärningsrektangeln representerar hur bilden kommer " +"att se ut efter att den är beskuren." -#: C/view-displaying.page:20(p) +#. (itstool) path: item/p +#: C/edit-crop.page:25 msgid "" -"Shotwell offers a fullscreen mode to display photos. Choose " -"<guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</" -"key>. To see the fullscreen toolbar, move your mouse to the bottom of the " -"screen. The toolbar offers buttons to move through the collection, to pin " -"the toolbar down (so it isn't hidden when you move the mouse away), and to " -"leave fullscreen view." +"If you place your cursor in the middle of the box, you can move the box " +"around. If you drag the edges of the box, you can adjust its size. As you " +"move and adjust the crop box, you'll see four lines appear inside it, like a " +"tic-tac-toe grid. These are <em>rule of thirds</em> lines." msgstr "" -"Shotwell erbjuder ett helskärmsläge för att visa bilden. Välj " -"<guiseq><gui>Visa</gui><gui>Helskärm</gui></guiseq> eller tryck <key>F11</" -"key>. För att se verktygsfältet i helskärmsläge, flytta din mus till nedre " -"delen av skärmen. Verktygsfältet har knappar för att flytta genom samlingen, " -"att fästa verktygsfältet (så att det inte döljs när du flyttar musen) och " -"för att lämna helskärmsvyn." - -#: C/view-displaying.page:23(title) -msgid "Viewing videos" -msgstr "Visa filmer" +"Om du placerar din markör i mitten på rutan kan du också flytta runt rutan. " +"Om du drar i kanterna på rutan kan du justera dess storlek. När du flyttar " +"runt och justerar rutan kommer du att se fyra linjer inuti den, ungefär som " +"ett rutnät i luffarschack. Det är linjer för <em>tredelningsregeln</em>." -#: C/view-displaying.page:24(p) +#. (itstool) path: item/p +#: C/edit-crop.page:26 msgid "" -"When you double-click a video, Shotwell will launch an external video player " -"to play the video. It's not currently possible to display a video in full-" -"window mode in Shotwell or to play the video within Shotwell itself." +"You can also constrain the crop box to one of many common sizes. Choose a " +"size from the drop-down list that suits your needs. If you press the flip " +"button next to it, the orientation of the constraint will switch (from " +"landscape to portrait)." msgstr "" -"När du dubbelklickar på en film kommer Shotwell att starta en extern " -"videospelare för att spela filmen. Det är för närvarande inte möjligt att " -"visa en film i helskärmsläge i Shotwell, eller att spela upp en film i " -"själva Shotwell." +"Du kan också begränsa beskärningsrutan till en av många vanliga storlekar. " +"Välj en storlek från rullgardinsmenyn som passar dig. Om du trycker " +"vändknappen bredvid den kommer riktningen av begränsningen att växla (från " +"landskap till porträtt)." -#: C/share-upload.page:7(desc) -msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites." +#. (itstool) path: item/p +#: C/edit-crop.page:29 +msgid "" +"When you're happy with your crop outline, apply it by pressing the " +"<gui>Crop</gui> button. Shotwell will display the cropped photo." msgstr "" -"Publicera bilden till Facebook, Flickr, Picasa Web Albums eller andra " -"webbplatser." - -#: C/share-upload.page:12(title) -msgid "Publishing to the Web" -msgstr "Publicera på webben" +"Verkställ din beskärning när du är nöjd med den genom att trycka på knappen " +"<gui>Beskär</gui>. Shotwell kommer att visa den beskurna bilden." -#: C/share-upload.page:14(p) +#. (itstool) path: item/p +#: C/edit-crop.page:32 msgid "" -"Through the use of <link xref=\"other-plugins\">plugins</link>, Shotwell can " -"publish photos and videos to the following services, each of which requires " -"an account:" +"If you change your mind, press the <gui>Crop</gui> button again and fine-" +"tune the crop." msgstr "" -"Genom att använda <link xref=\"other-plugins\">insticksmoduler</link> kan " -"Shotwell publicera bilder och filmer till följande tjänster, som var och en " -"kräver ett konto:" - -#: C/share-upload.page:18(link) -msgid "Facebook" -msgstr "Facebook" - -#: C/share-upload.page:19(link) -msgid "Flickr" -msgstr "Flickr" +"Om du ändrar dig, tryck knappen <gui>Beskär</gui> igen och finjustera " +"beskärningen." -#: C/share-upload.page:20(p) +#. (itstool) path: item/p +#: C/edit-crop.page:33 msgid "" -"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> and " -"<link href=\"http://plus.google.com\">Google+</link>" +"If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will " +"return to the photo's previous crop dimensions." msgstr "" -"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> och " -"<link href=\"http://plus.google.com\">Google+</link>" +"Om du trycker <gui>Avbryt</gui> istället för <gui>Verkställ</gui> kommer " +"Shotwell att återgå till en bilds tidigare dimensioner." -#: C/share-upload.page:21(p) -msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" -msgstr "<link href=\"http://youtube.com\">YouTube</link> (endast video)" +#. (itstool) path: section/title +#: C/edit-crop.page:38 +msgid "What is the rule of thirds?" +msgstr "Vad är tredelningsregeln?" -#: C/share-upload.page:22(p) +#. (itstool) path: section/p +#: C/edit-crop.page:39 msgid "" -"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, a photo site " -"popular in Russia (photos only)" +"The <em>rule of thirds</em> helps you to choose a pleasing composition for a " +"photo." msgstr "" -"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, en populär " -"webbplats i Ryssland (endast bilder)" +"<em>Tredelningsregeln</em> hjälper dig att välja en angenäm sammansättning " +"för en bild." -#: C/share-upload.page:23(p) +#. (itstool) path: section/p +#: C/edit-crop.page:40 msgid "" -"Any site running the <link href=\"http://piwigo.org\">Piwigo</link> photo " -"gallery software (photos only)" +"Imagine that the scene is divided up into a 3x3 grid by two equally-spaced " +"vertical lines and two equally-spaced horizontal lines. According to the " +"rule, you're more likely to get a pleasing composition if you align major " +"features (like the horizon, or a person's body) with one of the lines. " +"Paying attention to the way features flow from one part of the grid to " +"another can also help." msgstr "" -"Vilken webbplats som helst som kör <link href=\"http://piwigo.org\">Piwigo</" -"link>-bildgalleriprogram (endast bilder)" +"Föreställ dig att en scen delas upp i ett 3x3-rutnät med två vertikala " +"linjer och två horisontella linjer, alla med samma avstånd sinsemellan. " +"Enligt regeln får du en bättre sammansättning om du justerar större " +"egenskaper (som horisonten eller en persons kropp) med en av linjerna. Att " +"observera sättet egenskaper flödar från en del av rutnätet till ett annat " +"kan också hjälpa." -#: C/share-upload.page:26(p) +#. (itstool) path: section/p +#: C/edit-crop.page:41 msgid "" -"To publish selected photos in a collection, choose <guiseq><gui>Edit</" -"gui><gui>Preferences</gui></guiseq> and click on the <gui>Plugins</gui> tab " -"to enable the plugin for the service you want to publish to. Next, choose, " -"<guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</" -"gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. You " -"will see a dialog that lets you select a publishing service. You will then " -"need to log in or create an account." +"Cropping a photo so that it conforms to the rule of thirds often results in " +"a more visually appealing image." msgstr "" -"För att publicera markerade bilder i en samling, välj <guiseq><gui>Redigera</" -"gui><gui>Inställningar</gui></guiseq> och klicka på fliken " -"<gui>Insticksmoduler</gui> för att aktivera insticket för tjänsten du vill " -"publicera till. Välj sedan <guiseq><gui>Arkiv</gui><gui>Publicera</gui></" -"guiseq>, tryck verktygsfältsknappen <gui>Publicera</gui> eller använd " -"<keyseq><key>Ctrl</key><key>P</key></keyseq>. Du får då upp en dialog som " -"låter dig välja en publiceringstjänst. Du måste sedan logga in eller skapa " -"ett konto." +"Att beskära en bild så att den passar under tredelningsregeln ger ofta en " +"visuellt tilltalande bild." -#: C/share-upload.page:31(p) +#. (itstool) path: media/p +#: C/edit-crop.page:43 msgid "" -"Publishing to Facebook requires you to grant certain permissions to the " -"Shotwell Connect Facebook application. You only need to grant these " -"permissions once, when you first associate Shotwell Connect with your " -"Facebook account." +"Cropping a photo, using the \"rule of thirds\" lines to improve the " +"composition." msgstr "" -"Att publicera till Facebook kräver att du ger tillstånd för programmet " -"Shotwell Connect Facebook. Du behöver bara ge dessa tillstånd en gång, då du " -"först associerar Shotwell Connect med ditt Facebook-konto." +"Att beskära en bild och använda ”tredelningsregeln” för att förbättra " +"sammansättningen." -#: C/share-upload.page:35(p) +#. (itstool) path: info/desc +#: C/edit-enhance.page:7 msgid "" -"Similarly, publishing to Flickr requires you to log in and permit Shotwell " -"Connect to access your account." +"Let Shotwell improve the brightness and contrast of a photo automatically." msgstr "" -"På liknande sätt kräver Flickr att du loggar in och tillåter Shotwell " -"Connect att komma åt ditt konto." +"Låt Shotwell förbättra ljusstyrka och kontrast för en bild automatiskt." + +#. (itstool) path: page/title +#: C/edit-enhance.page:14 +msgid "Auto-enhance" +msgstr "Autoförbättra" -#: C/share-upload.page:37(p) +#. (itstool) path: page/p +#: C/edit-enhance.page:16 msgid "" -"If you have a Google account, but have not yet used Picasa Web Albums, you " -"will need to log in to Picasa using a browser once before you can publish to " -"this service." +"Clicking on the <gui>Enhance</gui> button is a quick way to automatically " +"adjust the brightness and contrast of your photo. It will often give you a " +"photo that is correctly exposed. You can also use it as a starting point and " +"then improve the adjustments by clicking on the <gui>Adjust</gui> button." msgstr "" -"Om du har ett Google-konto, men ännu inte använt Picasa Web Albums behöver " -"du logga in till Picasa med en webbläsare en gång innan du kan publicera " -"till tjänsten." +"Att klicka på knappen <gui>Förbättra</gui> är ett snabbt sätt att " +"automatiskt justera ljusstyrkan och kontrasten för din bild. Det ger ofta en " +"bild som är korrekt exponerad. Du kan också använda det som en startpunkt " +"och sedan förbättra justeringarna genom att klicka på knappen <gui>Justera</" +"gui>." -#: C/share-slideshow.page:7(desc) -msgid "Watch a slideshow of your photos." -msgstr "Se en bildpresentation av dina bilder." +#. (itstool) path: info/desc +#: C/edit-external.page:7 +msgid "Use a different program to edit a photo." +msgstr "Använda ett annat program för att redigera en bild." -#: C/share-slideshow.page:12(title) -msgid "Slideshows" -msgstr "Bildpresentationer" +#. (itstool) path: page/title +#: C/edit-external.page:12 +msgid "Edit photos with an external program" +msgstr "Redigera bilder med ett externt program" -#: C/share-slideshow.page:14(p) +#. (itstool) path: page/p +#: C/edit-external.page:16 msgid "" -"To see a sideshow of any collection in Shotwell, navigate to that collection " -"and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press " -"<key>F5</key>." +"You might want to use an external editor to do additional work on a photo. " +"If installed, GIMP and UFRaw are the default external editors for photo and " +"RAW editing, respectively. If these programs are not installed, you must " +"select your preferred editors by choosing <guiseq><gui>Edit</" +"gui><gui>Preferences</gui></guiseq> and selecting editors from drop-down " +"menus of installed applications." msgstr "" -"För att se ett bildspel över en samling i Shotwell, navigera över samlingen " -"och markera <guiseq><gui>Visa</gui><gui>Bildspel</gui></guiseq> eller tryck " -"<key>F5</key>." - -#: C/share-slideshow.page:16(p) -msgid "You can change some settings in a running slideshow:" -msgstr "Du kan ändra en del inställningar i ett körande bildspel:" - -#: C/share-slideshow.page:19(p) -msgid "The duration how long an image should be shown: 1 - 30 seconds" -msgstr "Hur länge en bild ska visas: 1 - 30 sekunder" - -#: C/share-slideshow.page:20(p) -msgid "You can select different transition effects." -msgstr "Du kan välja olika övergångseffekter." +"Du kan vilja använda en extern redigerare för att utföra ytterligare arbete " +"på en bild. Om installerade så är GIMP och UFRaw de externa " +"standardredigerarna för bilder och RAW-redigering. Om dessa program inte är " +"installerade måste du välja dina föredragna redigerare genom att välja " +"<guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq> och markera " +"redigerare från rullgardinsmenyn för installerade program." -#: C/share-slideshow.page:21(p) -msgid "The time for each transition effect: 0.1 - 1.0 seconds" -msgstr "Tiden för övergångseffekter: 0,1 - 1,0 sekunder" +#. (itstool) path: page/p +#: C/edit-external.page:24 +msgid "" +"Once your editors have been set, select a photo and choose " +"<guiseq><gui>Photos</gui> <gui>Open With External Editor</gui></guiseq> to " +"open the photo with the external editor. Likewise, if the original photo is " +"a RAW file, select <guiseq><gui>Photos</gui><gui>Open With RAW Editor</gui></" +"guiseq> to edit the RAW file directly with the set RAW editor." +msgstr "" +"När redigerare väl har angetts, markera en bild och väljs " +"<guiseq><gui>Bilder</gui> <gui>Öppna med extern redigerare</gui></guiseq> " +"för att öppna bilden med den externa redigeraren. På samma sätt, om " +"originalbilden är en RAW-fil, välj <guiseq><gui>Bilder</gui><gui>Öppna med " +"RAW-redigerare</gui></guiseq> för att redigera RAW-filen med den valda RAW-" +"redigeraren." -#: C/share-send.page:7(desc) -msgid "Send photos via email, instant messaging or in other ways." -msgstr "Skicka bilder via e-post, snabbmeddelanden eller på andra sätt." +#. (itstool) path: page/p +#: C/edit-external.page:31 +msgid "" +"When you complete your edits and save the file, Shotwell will detect the " +"changes and update the photo. When external edits have been made, press and " +"hold the <key>Shift</key> key in full-window view to show the original photo " +"rather than the externally-edited one." +msgstr "" +"När du är klar med redigering och sparar filen kommer Shotwell att upptäcka " +"ändringarna och uppdatera bilden. Om externa ändringar har skett, tryck och " +"håll <key>Skift</key>-tangenten i helskärmsvyn för att visa originalbilden " +"istället för den externt redigerade." -#: C/share-send.page:12(title) -msgid "Sending photos" -msgstr "Skicka bilder" +#. (itstool) path: page/p +#: C/edit-external.page:38 +msgid "Reverting to original will erase any external edits." +msgstr "Återställning till originalet kommer att radera externa ändringar." -#: C/share-send.page:14(p) +#. (itstool) path: note/p +#: C/edit-external.page:43 msgid "" -"Shotwell can send photos using the GNOME desktop's Send To mechanism, which " -"lets you send photos via email, instant messaging or in other ways." +"If you externally edit a RAW photo and save the result to another image, " +"such as a JPEG or PNG, Shotwell cannot automatically determine that the " +"original RAW and the new image should be paired." msgstr "" -"Shotwell kan skicka bilder genom GNOME-skrivbordets \"Skicka till\"-mekanism " -"som låter dig skicka bilder via e-post, snabbmeddelanden eller på andra sätt." +"Om du externt redigerar en RAW-bild och sparar resultatet till en annan " +"bild, som JPEG eller PNG, kan inte Shotwell automatiskt bestämma att den " +"ursprungliga RAW-filen och den nya bilden ska kopplas samman." -#: C/share-send.page:16(p) +#. (itstool) path: note/p +#: C/edit-external.page:49 msgid "" -"To send photos, select them in Shotwell and choose <guiseq><gui>File</" -"gui><gui>Send To...</gui></guiseq>, or right-click the photos and choose " -"<gui>Send To...</gui> from the context menu. A <gui>Send To</gui> dialog box " -"will appear which lets you choose a mechanism for sending the files (such as " -"email or instant messaging) and a destination. You can optionally choose to " -"send the files in a compressed format." +"If you want to work within the resulting image within Shotwell, you'll need " +"to import it yourself." msgstr "" -"För att skicka bilder, visa dem i Shotwell och välj <guiseq><gui>Arkiv</" -"gui><gui>Skicka till…</gui></guiseq>, eller högerklicka på bilderna och välj " -"<gui>Skicka till…</gui> från snabbmenyn. En <gui>Skicka till</gui>-dialog " -"kommer att visas vilken låter dig välja olika sätt att skicka filerna på " -"(som e-post eller snabbmeddelanden) och en destination. Du kan också välja " -"att skicka filerna i ett komprimerat format." +"Om du vill arbeta med bildresultatet i Shotwell måste du importera det." -#: C/share-print.page:7(desc) +#. (itstool) path: info/desc +#: C/edit-nondestructive.page:7 msgid "" -"Click <guiseq><gui>File</gui><gui>Print</gui></guiseq>. For more printing " -"options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog." +"Shotwell is a non-destructive photo editor - it does not modify your " +"original photos." msgstr "" -"Välj <guiseq><gui>Arkiv</gui><gui>Skriv ut</gui></guiseq>. För fler " -"utskriftsalternativ, välj fliken <gui>Sidinställning</gui> i dialogen " -"<gui>Skriv ut</gui>." +"Shotwell är en förlustfri bildredigerare - den ändrar inte dina " +"originalbilder." -#: C/share-print.page:12(title) -msgid "Printing" -msgstr "Skriva ut" +#. (itstool) path: page/title +#: C/edit-nondestructive.page:12 +msgid "What happens to the original when I edit a photo?" +msgstr "Vad händer med originalet när jag redigerar en bild?" -#: C/share-print.page:14(p) +#. (itstool) path: page/p +#: C/edit-nondestructive.page:14 msgid "" -"To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print</" -"gui></guiseq>." +"Shotwell is a non-destructive photo editor. It does not modify your original " +"photographs. That is to say, if you crop a photo or adjust its colors, the " +"photo file on disc remains untouched. Shotwell stores your edits in a " +"database and applies them on the fly as necessary. This means you can undo " +"any alterations you make to a photograph." msgstr "" -"För att skriva ut en bild, markera den och välj <guiseq><gui>Arkiv</" -"gui><gui>Skriv ut</gui></guiseq>." +"Shotwell är en förlustfri bildredigerare. Det ändrar inte dina " +"originalbilder. Det betyder att om du beskär en bild, eller ändrar dess färg " +"kommer bildfilerna på disk att bevaras orörda. Shotwell lagrar dina " +"ändringar i en databas och verkställer dem direkt eftersom. Det betyder att " +"du kan ångra ändringar gjorda på en bild." -#: C/share-print.page:16(p) +#. (itstool) path: page/p +#: C/edit-nondestructive.page:16 C/edit-undo.page:18 msgid "" -"Shotwell can also print multiple images in one page; to do this, select " -"multiple images, choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>, " -"and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> " -"tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-page " -"options under <gui>Autosize</gui>." +"If you want to see what a photo looked like before your modifications, press " +"the <key>Shift</key> key. The original photo will be displayed as long as " +"you hold the key down." msgstr "" -"Shotwell kan också skriva ut flera bilder på en sida - för att göra detta, " -"markera flera bilder, välj <guiseq><gui>Arkiv</gui><gui>Skriv ut</gui></" -"guiseq> och i dialogen <gui>Skriv ut</gui>, välj fliken " -"<gui>Bildinställningar</gui>. I <gui>Bildinställningar</gui>, välj en av " -"alternativen flera-bilder-per-sida under <gui>Automatisk storlek</gui>." +"Om du vill se hur en bild såg ut innan dina ändringar, tryck tangenten " +"<key>Skift</key>. Originalbilden kommer att visas så länge tangenten hålls " +"nere." -#: C/share-print.page:23(p) +#. (itstool) path: page/p +#: C/edit-nondestructive.page:18 msgid "" -"If you would like to set formatting, paper size, and orientation options, " -"choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to " -"printing." -msgstr "" -"Om du vill ställa in formatering, pappersstorlek och riktningsalternativ, " -"välj fliken <gui>Sidinställning</gui> i dialogen <gui>Skriv ut</gui> innan " -"utskrift." - -#: C/share-export.page:7(desc) -msgid "Copy photos out of Shotwell so you can put them somewhere else." +"Note that Shotwell can optionally write metadata (such as tags and titles) " +"to photo files. For more information, see the section <link xref=\"other-" +"files\">Photo files</link>." msgstr "" -"Kopiera bilder från Shotwell så att du kan använda dem på andra ställen." - -#: C/share-export.page:12(title) -msgid "Exporting photos" -msgstr "Exportera bilder" +"Observera att Shotwell valfritt kan skriva metadata (som taggar och namn) " +"till bildfiler. För mer information, se avsnittet <link xref=\"other-files" +"\">Bildfiler</link>." -#: C/share-export.page:14(p) +#. (itstool) path: info/desc +#: C/edit-redeye.page:7 msgid "" -"To export photos from Shotwell via drag and drop, drag the photos from " -"Shotwell onto a file manager window or your desktop. The new files will be " -"full-sized copies of the photos in your library." +"Correct photos where people have red eyes because of the camera's flash." msgstr "" -"För att exportera bilder från Shotwell via dra-och-släpp, dra bilderna från " -"Shotwell till ett filhanterarfönster eller ditt skrivbord. De nya filerna " -"kommer att vara kopior av bilderna i ditt bibliotek." +"Rätta till bilder där personer har röda ögon på grund av kamerans blixt." -#: C/share-export.page:18(p) +#. (itstool) path: page/title +#: C/edit-redeye.page:12 +msgid "Removing red-eye" +msgstr "Ta bort röda ögon" + +#. (itstool) path: page/p +#: C/edit-redeye.page:14 msgid "" -"Alternatively, select a set of photos and choose the <guiseq><gui>File</" -"gui><gui>Export</gui></guiseq> command or press <keyseq><key>Shift</" -"key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting " -"you fine-tune the size and dimensions of your photo files. A window will " -"appear allowing you to make several choices:" +"Red-eye occurs when the camera's flash reflects off the pupil of someone's " +"eye. To eliminate this in a photo, use the Red-eye tool." msgstr "" -"Alternativt kan du markera några bilder och välja <guiseq><gui>Arkiv</" -"gui><gui>Exportera</gui></guiseq>-kommandot eller trycka <keyseq><key>Skift</" -"key><key>Ctrl</key><key>E</key></keyseq> som exporterar bilderna under tiden " -"du finjusterar storlek och dimension på dina bildfiler. Ett fönster visas " -"och låter dig göra följande val:" +"Röda ögon uppstår när kamerans blixt reflekteras i pupillen i någons öga. " +"För att ta bort detta ur en bild, använd verktyget röda ögon." -#: C/share-export.page:24(p) -msgid "A format for export." -msgstr "Ett format för export." +#. (itstool) path: item/p +#: C/edit-redeye.page:17 +msgid "Click <gui>Red-eye</gui>. A circle will appear on the photo." +msgstr "Klicka <gui>Röda ögon</gui>. En cirkel visas på bilden." -#: C/share-export.page:27(p) +#. (itstool) path: item/p +#: C/edit-redeye.page:20 msgid "" -"Choose <gui>Unmodified</gui> to export photos in their original format " -"without any edits made in Shotwell. RAW photos will be exported in their " -"original RAW format." +"Drag the circle over the affected pupil, adjust its size with the slider " +"control, and press <gui>Apply</gui>. The redness will be removed." msgstr "" -"Välj <gui>Oförändrad</gui> för att exportera bilderna i deras originalformat " -"utan redigeringar gjorda i Shotwell. RAW-bilder kommer att exporteras i " -"deras original-RAW-format." +"Dra cirkeln över berörd pupill, justera dess storlek med skjutreglaget och " +"tryck <gui>Verkställ</gui>. Rödheten kommer att tas bort." -#: C/share-export.page:29(p) +#. (itstool) path: item/p +#: C/edit-redeye.page:23 msgid "" -"Choose <gui>Current</gui> to export photos including edits made in Shotwell. " -"RAW photos will be exported in JPEG format if you have edited them in " -"Shotwell, and otherwise in their original RAW format." +"Repeat this process for all red pupils in your photo. Press <gui>Close</gui> " +"when finished." msgstr "" -"Välj <gui>Aktuellt</gui> för att exportera bilder med ändringar gjorda i " -"Shotwell. RAW-bilder kommer att exporteras i JPEG-format om du har redigerat " -"dem i Shotwell, annars i deras ursprungliga RAW-format." +"Upprepa processen för alla röda pupiller i din bild. Tryck <gui>Stäng</gui> " +"när färdig." -#: C/share-export.page:31(p) +#. (itstool) path: info/desc +#: C/edit-rotate.page:7 msgid "" -"Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be " -"used for exporting. Any edits made in Shotwell will be included, and " -"Shotwell will convert photos to the destination format." +"Click the <gui>Rotate</gui> button, or choose one of the commands in the " +"<gui>Photo</gui> menu." msgstr "" -"Eller så kan du välja ett specifikt bildformat (JPEG, PNG, TIFF, BMP) för " -"exporten. Ändringar gjorda i Shotwell kommer att inkluderas och Shotwell " -"kommer att konvertera bilderna till målformatet." +"Klicka knappen <gui>Rotera</gui> eller välj en av kommandona i <gui>Bild</" +"gui>-menyn." -#: C/share-export.page:37(p) -msgid "The image quality for exporting (Low, Medium, High, or Maximum)." -msgstr "Bildkvaliteten för export (låg, mellan, hög eller maximal)" +#. (itstool) path: page/title +#: C/edit-rotate.page:12 +msgid "Rotate or flip a photo" +msgstr "Rotera eller vänd en bild" -#: C/share-export.page:38(p) +#. (itstool) path: page/p +#: C/edit-rotate.page:14 msgid "" -"A scaling constraint (which means how Shotwell will decide to scale the " -"photos down), and the desired pixel size." +"You can rotate your photos left and right (clockwise and counterclockwise) " +"with the <gui>Rotate</gui> button on the toolbar of most views. You can also " +"make a mirror image of any photo." msgstr "" -"En skalningsbegränsning (vilket betyder hur Shotwell bestämmer hur bilderna " -"ska skalas) och önskad bildpunktsstorlek." +"Du kan rotera dina bilder till vänster och höger (medurs eller moturs) med " +"knappen <gui>Rotera</gui> i verktygsfältet för de flesta vyer. Du kan också " +"skapa en spegelbild av en bild." -#: C/share-export.page:39(p) +#. (itstool) path: page/p +#: C/edit-rotate.page:16 msgid "" -"The option whether you like to export metadatas such as tags or ratings. " -"This can help to save your privacy if you have geolocation tags or tags " -"which shouldn't be seen by anyone." +"To rotate right, click on the <gui>Rotate</gui> button. To rotate left, " +"press and hold the <key>Ctrl</key> key and then click the button. Both " +"commands are available in the <gui>Photos</gui> menu too. Alternatively, use " +"the following keyboard shortcuts:" msgstr "" -"Huruvida du vill exportera metadata som taggar eller betyg. Detta kan skydda " -"din sekretess om du har geoplats-taggar eller taggar ingen bör se." +"För att rotera höger, klicka på knappen <gui>Rotera</gui>. För att rotera " +"vänster, tryck och håll ner tangenten <key>Ctrl</key> och klicka sedan på " +"knappen. Båda kommandona är också tillgängliga i menyn <gui>Bilder</gui>. " +"Alternativt, använd följande tangentbordsgenvägar:" -#: C/share-export.page:42(p) +#. (itstool) path: item/p +#: C/edit-rotate.page:18 msgid "" -"If selected, Shotwell will write tags, titles, and other metadata to the new " -"files." +"rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or " +"<key>[</key>" msgstr "" -"Om valt kommer Shotwell att skriva taggar, titlar och annan metadata till de " -"nya filerna." +"rotera vänster: <keyseq><key>Skift</key><key>Ctrl</key><key>R</key></keyseq> " +"eller <key>[</key>" -#: C/share-background.page:7(desc) +#. (itstool) path: item/p +#: C/edit-rotate.page:19 msgid "" -"Set your desktop background to a single photo or to a slideshow of photos." +"rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key>" msgstr "" -"Ställ in din skrivbordsbakgrund till att använda en enstaka bild eller ett " -"bildspel." - -#: C/share-background.page:12(title) -msgid "Set a desktop background or slideshow" -msgstr "Ange en skrivbordsbakgrund eller ett bildspel." +"rotera höger: <keyseq><key>Ctrl</key><key>R</key></keyseq> eller <key>]</key>" -#: C/share-background.page:14(p) +#. (itstool) path: page/p +#: C/edit-rotate.page:21 msgid "" -"To set a single photo as your desktop background, select the photo and " -"choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>." +"To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> " +"command in the <gui>Photos</gui> menu. To flip an image vertically, use the " +"<gui>Flip Vertically</gui> command in the same menu." msgstr "" -"För att ange en bild som din skrivbordsbakgrund, markera bilden och välj " -"sedan <guiseq><gui>Arkiv</gui><gui>Använd som skrivbordsbakgrund</gui></" -"guiseq>." +"För att skapa en spegelbild av en bild, använd <gui>Vänd horisontellt</gui>-" +"kommandot i <gui>Bilder</gui>-menyn. För att vända en bild vertikalt, använd " +"<gui>Vänd vertikalt</gui>-kommandot i samma meny." -#: C/share-background.page:16(p) +#. (itstool) path: note/p +#: C/edit-rotate.page:24 msgid "" -"You can also set your background to a slideshow of photos. To do this, " -"select the photos for the slideshow and choose <guiseq><gui>File</" -"gui><gui>Set as Desktop Slideshow</gui></guiseq>. Shotwell will prompt you " -"for a slideshow delay, which can be any interval up to one day in length. " -"The background slideshow will proceed even when Shotwell is not running." -msgstr "" -"Du kan också sätta din bakgrund till ett bildspel. För att göra detta, " -"markera bilderna för bildspel och välj <guiseq><gui>Arkiv</gui><gui>Använd " -"som bildspel för skrivbord</gui></guiseq>. Shotwell kommer att fråga om " -"bildspelsfördröjning, vilket kan vara vilket intervall som helst upp till en " -"dags längd. Bildspelet i bakgrunden kommer att fortsätta även när Shotwell " -"inte körs." +"If you select more than one image, you can rotate all of them at the same " +"time." +msgstr "Om du väljer mer än en bild så kan du rotera dem samtidigt." -#: C/running.page:7(desc) -msgid "" -"Find Shotwell in the Applications menu, or have it start automatically when " -"you plug in a camera." -msgstr "" -"Hitta Shotwell i programmenyn, eller låt det starta automatiskt när du " -"stoppar i en kamera." +#. (itstool) path: info/desc +#: C/edit-straighten.page:7 +msgid "Straighten a photo so that its horizon appears level." +msgstr "Räta ut en bild så att dess horisont blir rak." -#: C/running.page:14(title) -msgid "Running Shotwell" -msgstr "Köra Shotwell" +#. (itstool) path: page/title +#: C/edit-straighten.page:12 +msgid "Straighten photos" +msgstr "Räta ut bilder" -#: C/running.page:16(p) +#. (itstool) path: page/p +#: C/edit-straighten.page:14 msgid "" -"Once installed, Shotwell is available in your <gui>Applications</gui> menu " -"under <gui>Graphics</gui> or <gui>Photography</gui>." +"The straighten tools allows photos to be leveled and straightened. The " +"straighten tool is only available in full-window or fullscreen mode." msgstr "" -"När det väl är installerat är Shotwell tillgängligt i menyn <gui>Program</" -"gui> under <gui>Grafik</gui> eller <gui>Bilder</gui>." +"Verktygen för att räta ut bilder låter dem rätas ut och plattas till. " +"Verktyget för att räta ut är endast tillgängligt i helskärms- eller " +"helfönsterläge." -#: C/running.page:18(p) +#. (itstool) path: item/p +#: C/edit-straighten.page:18 msgid "" -"Shotwell may also be executed automatically when a camera is plugged in to " -"your computer. To check that your system is set up to run Shotwell when a " -"camera is detected, go to <guiseq><gui>Edit</gui><gui>Preferences</gui></" -"guiseq> in any Nautilus (file browser) window and choose the <gui>Media</" -"gui> tab. You'll see a dropdown box entitled <gui>Photos:</gui> which lets " -"you choose Shotwell as your photo handling application." +"Click <gui>Straighten</gui>. The straighten slider will appear. " +"Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</" +"key></keyseq>." msgstr "" -"Shotwell kan också exekveras automatiskt när en kamera stoppas i din dator. " -"För att kontrollera att ditt system är inställt på att köra Shotwell när en " -"kamera upptäcks, gå till <guiseq><gui>Redigera</gui><gui>Inställningar</" -"gui></guiseq> i ett Nautilus(filhanterare)-fönster och markera fliken " -"<gui>Media</gui>. Du kommer att se en rullgardinsmeny som heter <gui>Bilder:" -"</gui> vilken låter dig välja Shotwell som ditt program för bildhantering." +"Klicka <gui>Räta ut</gui>. Skjutreglaget för att räta ut visas. Alternativt, " +"använd tangentbordskombinationen <keyseq><key>Ctrl</key><key>A</key></" +"keyseq>." -#: C/running.page:25(p) -msgid "" -"Shotwell may also be executed directly from its build directory, although " -"this is only recommended for testing out Shotwell or for developers." -msgstr "" -"Shotwell kan också exekveras direkt från dess byggkatalog, men det " -"rekommenderas bara för testning av Shotwell eller för utvecklare." +#. (itstool) path: item/p +#: C/edit-straighten.page:21 +msgid "Drag the slider to achieve the desired degree of straightening." +msgstr "Dra i skjutreglaget för att uppnå önska grad av uträtning." -#: C/raw.page:7(desc) -msgid "More about RAW support in Shotwell." -msgstr "Mer om RAW-stöd i Shotwell." +#. (itstool) path: item/p +#: C/edit-straighten.page:24 +msgid "Press <gui>Straighten</gui> when finished." +msgstr "Tryck <gui>Räta ut</gui> när klar." -#: C/raw.page:12(title) -msgid "RAW support in Shotwell" -msgstr "RAW-stöd i Shotwell" +#. (itstool) path: info/desc +#: C/edit-date-time.page:7 +msgid "Change the date and time of photos if those details are incorrect." +msgstr "Ändra datum och tid för bilder om de inte stämmer." + +#. (itstool) path: page/title +#: C/edit-date-time.page:12 +msgid "Adjust the date and time of photos" +msgstr "Justera datum och tid för bilder" -#: C/raw.page:13(p) +#. (itstool) path: page/p +#: C/edit-date-time.page:14 msgid "" -"Some cameras have the ability to store data directly off the sensor and into " -"a file that contains extra color information; this is commonly referred to " -"as 'RAW' or 'camera RAW', and Shotwell supports these files as well." +"To adjust the date and time of photos, select the photos you would like to " +"adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Date and Time...</gui></" +"guiseq> and select a new date and time." msgstr "" -"En del kameror har förmågan att lagra data direkt från sensorn till en fil " -"som innehåller extra färginformation, känt som ”RAW” eller ”Kamera-RAW”, och " -"Shotwell stödjer även dessa filer." +"För att justera datum och tid för bilder, markera de bilder du vill justera, " +"välj <guiseq><gui>Bilder</gui><gui>Justera datum och tid…</gui></guiseq> och " +"markera nytt datum och tid." -#: C/raw.page:18(p) +#. (itstool) path: page/p +#: C/edit-date-time.page:16 msgid "" -"Since RAW photographs normally cannot be displayed directly, but must be " -"first developed - that is, have their extra information interpreted and " -"readied for displaying - most cameras will either embed a JPEG inside a RAW-" -"format file, or produce a JPEG alongside the RAW file at the time the " -"snapshot is taken. The latter is referred to throughout this document as RAW" -"+JPEG. If you import a RAW+JPEG pair, Shotwell will keep them paired and " -"treat them as one item in your library." +"If you are changing the date and time of multiple photos at once, you can " +"choose to shift all the photos by the same amount of time or to set all the " +"photos to the same time." msgstr "" -"Eftersom RAW-bilder vanligtvis endast kan visas direkt, men först måste " -"framkallas - det vill säga, tolka deras extra information och göra klart den " -"för visning - kommer de flesta kameror att bädda in en JPEG inuti RAW-" -"formatfilen, eller skapa en JPEG vid sidan av RAW-filen då ögonblicksbilden " -"tas. Det senare refereras till i detta dokument som RAW+JPEG. Om du " -"importerar ett RAW+JPEG-par kommer Shotwell att hålla dem sammankopplade och " -"behandla dem som ett objekt i ditt bibliotek." +"Om du ändrar datum och tid för flera bilder samtidigt kan du välja att ändra " +"tiden för alla bilder eller ange samma tid för alla bilder samtidigt." -#: C/raw.page:27(p) +#. (itstool) path: page/p +#: C/edit-date-time.page:18 msgid "" -"When you import a RAW file, you can choose to either use the camera's " -"internally-developed JPEG or Shotwell's by selecting <guiseq><gui>Photos</" -"gui><gui>Developer</gui></guiseq> in the menus." +"By default, the date and time are only changed inside Shotwell. You can also " +"choose to modify the date and time in the original file, but this cannot be " +"undone once you exit Shotwell." msgstr "" -"När du importerar en RAW-fil kan du välja att antingen använda kamerans " -"inbyggda JPEG eller Shotwells egna genom att markera <guiseq><gui>Bilder</" -"gui><gui>Framkallare</gui></guiseq> i menyerna." +"Som standard ändras datum och tid endast i Shotwell. Du kan också välja att " +"ändra datum och tid i originalfilen, men det kan inte ångras när du väl har " +"avslutat Shotwell." + +#. (itstool) path: info/desc +#: C/edit-undo.page:7 +msgid "Return a photo to its original, unedited form." +msgstr "Återställa en bild till dess ursprungliga oredigerade skick." + +#. (itstool) path: page/title +#: C/edit-undo.page:14 +msgid "Undoing changes" +msgstr "Ånga ändringar" -#: C/raw.page:33(p) +#. (itstool) path: page/p +#: C/edit-undo.page:16 msgid "" -"Changing between developers will cause all edits made to a photograph to be " -"discarded." +"Because Shotwell is a non-destructive photo editor, you can undo any " +"alterations you make to a photograph." msgstr "" -"Ändringar mellan framkallare kommer att göra att alla redigeringar gjorda " -"till en bild förkastas." +"Eftersom Shotwell är en förlustfri bildredigerare kan du ångra ändringar du " +"gjort i en bild." -#: C/raw.page:39(p) +#. (itstool) path: page/p +#: C/edit-undo.page:20 msgid "" -"In order to publish or use a RAW photograph in most other software, it has " -"to be exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF " -"or BMP format, and, when publishing, will internally export a JPEG version " -"for you and publish that." +"To completely undo all the changes you've made to a photo, click " +"<guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only " +"exception is that time and date adjustments will not be reverted." msgstr "" -"För att kunna publicera eller använda en RAW-bild i de flesta andra " -"programmen måste den exporteras först. Shotwell kan exportera dina RAW-" -"bilder i JPEG, PNG, TIFF eller BMP-format, och när du publicerar, exporterar " -"de en JPEG-version för dig och publicerar den." +"För att helt ångra alla dina ändringar till en bild, klicka " +"<guiseq><gui>Bilder</gui><gui>Återställ till original</gui></guiseq>. Det " +"enda undantaget är att tid- och datumjusteringar inte kommer att återställas." -#: C/other-plugins.page:7(desc) -msgid "Extend Shotwell's functionality dynamically." -msgstr "Utöka Shotwells funktionalitet dynamiskt." +#. (itstool) path: info/desc +#: C/formats.page:7 +msgid "" +"Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video " +"files." +msgstr "" +"Shotwell stödjer JPEG, PNG, TIFF, BMP och RAW-bilder såväl som filmfiler." -#: C/other-plugins.page:12(title) -msgid "Plugins" -msgstr "Insticksmoduler" +#. (itstool) path: page/title +#: C/formats.page:12 +msgid "Supported photo and video formats" +msgstr "Bild- och videoformat som stöds" -#: C/other-plugins.page:13(p) +#. (itstool) path: page/p +#: C/formats.page:14 msgid "" -"Shotwell can be used with <em>plugins</em>, which are companion shared " -"libraries that can add support for new publishing destinations or new " -"slideshow transitions." +"Shotwell supports JPEG, PNG, TIFF, BMP and <link type=\"guide\" xref=\"other-" +"raw\">RAW</link> photo files. Shotwell does not yet support other graphics " +"format such as GIF." msgstr "" -"Shotwell kan användas med <em>Insticksmoduler</em>, vilket är delade " -"bibliotek som kan lägga till stöd för nya publiceringstyper eller nya " -"övergångar vid bildspel." +"Shotwell stödjer JPEG, PNG, TIFF, BMP och <link type=\"guide\" xref=\"other-" +"raw\">RAW</link>-bildfiler. Shotwell stödjer inte ännu andra grafikformat " +"som GIF." -#: C/other-plugins.page:18(p) +#. (itstool) path: page/p +#: C/formats.page:16 msgid "" -"To see a list of installed plugins, choose <guiseq><gui>Edit</" -"gui><gui>Preferences</gui></guiseq>, and in the <gui>Preferences</gui> " -"window, click on the <gui>Plugins</gui> tab. You'll see a list of currently-" -"installed plugins, each with a checkbox by it, and you may enable or disable " -"each by selecting or deselecting the checkbox by its name." +"Shotwell's RAW format support is currently limited. When you view a RAW " +"photo, you are actually viewing a JPEG derived from the RAW photo, not the " +"RAW image itself. Additionally, the RAW editing pipeline is not fully 16-bit " +"- you can only export edited photos as 8-bit files. All supported formats " +"can be used for export (JPEG, PNG, TIFF, BMP)." msgstr "" -"För att se en lista över installerade insticksmoduler, välj " -"<guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq>, och i fönstret " -"<gui>Inställningar</gui>, klicka på fliken <gui>Insticksmoduler</gui>. Du " -"kommer att se en lista av aktuella installerade insticksmoduler, var och en " -"med en kryssruta vid sida av den, och du kan aktivera eller inaktivera var " -"och en genom att kryssa eller kryssa av kryssrutan för dess namn." +"Shotwells RAW-formatstöd är för tillfället begränsat. När du visar en RAW-" +"bild visar du egentligen en JPEG som härstammar från RAW-bilden, inte själva " +"RAW-bilden. Dessutom är RAW-redigeringsflödet inte helt 16-bitars - du kan " +"bara exportera redigerade bilder som 8-bitars filer. Alla format som stöds " +"kan användas för export (JPEG, PNG, TIFF, BMP)." -#: C/other-plugins.page:25(p) +#. (itstool) path: page/p +#: C/formats.page:18 msgid "" -"Full documentation on how to develop new plugins is available at <link href=" -"\"http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins" -"\">http://redmine.yorba.org/projects/shotwell/wiki/" -"ShotwellArchWritingPlugins</link>" +"For more information about RAW-format photos in Shotwell, please see the " +"<link type=\"guide\" xref=\"other-raw\">RAW</link> section." msgstr "" -"Fullständig dokumentation om hur du utvecklar nya insticksmoduler finns " -"tillgänglig på <link href=\"http://redmine.yorba.org/projects/shotwell/wiki/" -"ShotwellArchWritingPlugins\">http://redmine.yorba.org/projects/shotwell/wiki/" -"ShotwellArchWritingPlugins</link>" +"För mer information om RAW-formatbilder i Shotwell, se avsnittet <link type=" +"\"guide\" xref=\"other-raw\">RAW</link>." -#: C/other-multiple.page:7(desc) +#. (itstool) path: page/p +#: C/formats.page:22 msgid "" -"You can open Shotwell with a different photo library by using the command " -"line." +"Shotwell also supports video files in any format supported by the GStreamer " +"media library on the system where Shotwell is running. This typically " +"includes the following formats among others:" msgstr "" -"Du kan öppna Shotwell med ett annat bildbibliotek genom att använda " -"kommandoraden." +"Shotwell stödjer också filmfiler i format som GStreamer mediabibliotek " +"stödjer, på systemet där Shotwell körs. Normalt inkluderar det följande " +"format, bland andra:" -#: C/other-multiple.page:12(title) -msgid "Multiple libraries" -msgstr "Flera bibliotek" +#. (itstool) path: item/p +#: C/formats.page:25 +msgid "Container formats: Ogg, QuickTime, MP4, AVI." +msgstr "Behållarformat: Ogg, QuickTime, MP4, AVI." -#: C/other-multiple.page:14(p) +#. (itstool) path: item/p +#: C/formats.page:26 msgid "" -"Shotwell normally stores its database and photo thumbnails in the directory " -"<file>~/.shotwell</file> . This directory does not hold photos, but the " -"database in this directory contains a list of all the photos in the Shotwell " -"library." +"Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating " +"systems may not include all codecs listed here due to legal or licensing " +"restrictions.</em>" msgstr "" -"Shotwell lagrar normalt sin databas och sina miniatyrbilder i katalogen " -"<file>~/.shotwell</file> . Denna katalog innehåller inte bilder, men " -"databasen i denna katalog innehåller en lista över alla bilder i Shotwell-" -"biblioteket." +"Kodekar: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Observera att vissa " +"operativsystem kanske inte inkluderar kodekarna listade här på grund av " +"juridiska eller licensbaserade begränsningar.</em>" -#: C/other-multiple.page:16(p) +#. (itstool) path: page/p +#: C/formats.page:30 msgid "" -"As an advanced feature, it's possible for you to have multiple Shotwell " -"libraries, each of which has its own set of photos. Each library needs its " -"own database directory. To launch Shotwell with an alternate library, " -"specify an alternate database directory on the command line as follows:" +"Shotwell supports both photos and videos, but for simplicity, this " +"documentation uses just the term \"photos\" in most places. Many operations " +"in Shotwell apply to both photos and videos, however. In particular, events, " +"flagging, rating, tagging, and publishing work both for photos and for " +"videos." msgstr "" -"Som en avancerad funktion är det möjligt för dig att ha flera Shotwell-" -"bibliotek, var och en med dess egna grupp av bilder. Varje bibliotek behöver " -"dess egna databaskatalog. För att starta Shotwell som ett alternativt " -"bibliotek, ange en alternativ katalog på kommandoraden enligt:" +"Shotwell stödjer både bilder och filmer, men för enkelhetens skull använder " +"dokumentationen termen ”bilder” på de flesta ställen. Flera operationer i " +"Shotwell gäller dock för bild och filmer. Speciellt händelser, att flagga, " +"betygsätta, tagga och publicera fungerar för både bilder och filmer." -#: C/other-multiple.page:18(screen) -#, no-wrap -msgid "" -"\n" -"shotwell -d [library-directory]\n" -msgstr "" -"\n" -"shotwell -d [bibliotekskatalog]\n" +#. (itstool) path: info/desc +#: C/import-camera.page:7 +msgid "Copy photos from a digital camera." +msgstr "Kopiera bilder från en digital kamera." -#: C/other-missing.page:7(desc) -msgid "If Shotwell can't find a photo in your library, it marks it as missing." -msgstr "" -"Om Shotwell inte kan hitta en bild i ditt bibliotek kommer det att markera " -"den som saknad." +#. (itstool) path: page/title +#: C/import-camera.page:12 +msgid "Importing from a camera" +msgstr "Importera från en kamera" -#: C/other-missing.page:12(title) -msgid "Missing photos" -msgstr "Saknade bilder" +#. (itstool) path: page/p +#: C/import-camera.page:14 +msgid "To import photos from a digital camera:" +msgstr "Att importera bilder från en digitalkamera:" -#: C/other-missing.page:14(p) +#. (itstool) path: item/p +#: C/import-camera.page:18 msgid "" -"Each time Shotwell starts up, it scans your photo library to verify that all " -"photo files still exist on your hard drive. If Shotwell finds that any photo " -"files are missing, it will not display them in the normal Photos, Events and " -"Tags views, but will instead show them in a separate Missing Files view " -"which will appear in the sidebar." +"Connect the camera to your computer and switch it on. Shotwell will detect " +"it and list it in the sidebar." msgstr "" -"Var gång Shotwell startar söker det av ditt bildbibliotek för att verifiera " -"att alla bilder fortfarande existerar på din hårddisk. Om Shotwell finner " -"att det saknas filer, kommer dessa inte att visas i vyerna Bilder, Händelser " -"eller Taggar, och istället visas de i separata vyn Saknade filer, vilken " -"visas i sidopanelen." +"Anslut kameran till din dator och slå på den. Shotwell kommer att upptäcka " +"den och lista den i sidopanelen." -#: C/other-missing.page:16(p) +#. (itstool) path: item/p +#: C/import-camera.page:22 msgid "" -"If you no longer want the missing files to be part of your Shotwell " -"collection (perhaps because you deleted them), go to the Missing Files view, " -"select the photos and then click <gui>Remove From Library</gui>." +"Select the camera in the sidebar. Previews of each photo on the camera will " +"be displayed." msgstr "" -"Om du inte längre vill att de saknade filerna ska vara en del av din " -"Shotwell-samling (kanske för att du tog bort dem), gå till vyn Saknade " -"filer, välj bilder och klicka sedan <gui>Ta bort från bibliotek</gui>." +"Välj kameran i sidopanelen. Förhandsvisningar av varje bild på kameran " +"kommer att visas." -#: C/other-missing.page:18(p) +#. (itstool) path: item/p +#: C/import-camera.page:25 msgid "" -"If you have photos on a removable disk, such as a CD or USB flash drive, and " -"<link xref=\"index#import\">import</link> them into Shotwell <em>without</" -"em> copying the photos to your computer, they will show up as missing files " -"if you then disconnect the removable disk. See <link xref=\"import-file\"/> " -"to learn how to copy files from removable disks onto your computer." +"If you like, you can choose a set of specific photos to import. To do this, " +"hold down the <key>Ctrl</key> key and click to select individual photos. You " +"can hold down <key>Shift</key> and click to select a range of photos too." msgstr "" -"Om du har bilder på en flyttbar enhet, som en cd-skiva eller en usb-sticka, " -"och <link xref=\"index#import\">importerar</link> dem till Shotwell " -"<em>utan</em> att kopiera bilderna till din dator, kommer de att visas som " -"saknade filer om du kopplar från den flyttbara enheten. Se <link xref=" -"\"import-file\"/> för att lära dig mer om att kopiera filer från en flyttbar " -"enhet till din dator." +"Om du vill kan du välja en samling specifika bilder att importera. För att " +"göra detta, håll ner tangenten <key>Ctrl</key> och klicka för att markera " +"individuella bilder. Du kan också hålla ner <key>Skift</key> och klicka för " +"att markera ett intervall av bilder." -#: C/other-missing.page:20(p) +#. (itstool) path: item/p +#: C/import-camera.page:28 msgid "" -"If any missing photo files become available again, Shotwell will notice this " -"the next time it starts. The photos will once again appear in the Photos, " -"Events and Tags views." +"Click either <gui>Import Selected</gui> or <gui>Import All</gui>. The photos " +"will be copied from the camera and saved on your computer." msgstr "" -"Om några saknade bilder blir tillgängliga igen kommer Shotwell att märka det " -"nästa gång programmet startar. Bilderna kommer åter igen att visas i vyerna " -"Bilder, Händelser och Taggar." - -#: C/other-files.page:7(desc) -msgid "Keep the Shotwell library in sync with photo files on disk." -msgstr "Håll Shotwell-biblioteket i synk med bildfiler på disk." - -#: C/other-files.page:12(title) -msgid "Photo files" -msgstr "Bildfiler" +"Klicka antingen <gui>Importera markerade</gui> eller <gui>Importera alla</" +"gui>. Bilderna kommer att kopieras från kameran och sparas på din dator." -#: C/other-files.page:14(p) +#. (itstool) path: page/p +#: C/import-camera.page:32 msgid "" -"Every photo in the Shotwell library corresponds to a file stored on your " -"hard disk. Shotwell has several features which help you keep the Shotwell " -"library and files on disk in sync." +"Once the import is complete, you can open the <gui>Last Import</gui> view " +"(in the sidebar) to see all photos that were imported. The Events list (also " +"in the sidebar) will also show the new photos, organized by date." msgstr "" -"Varje bild i Shotwell-biblioteket motsvaras av en fil lagrad på din " -"hårddisk. Shotwell har flera olika funktioner som hjälper dig att hålla " -"Shotwell-biblioteket och filerna på disk i synk." +"När importen är klar kan du öppna vyn <gui>Senast importerade</gui> (i " +"sidopanelen) för att se alla bilder som importerades. Händelselistan (också " +"i sidopanelen) kommer att visa de nya bilderna, ordnade efter datum." -#: C/other-files.page:21(title) -msgid "Using a custom directory pattern" -msgstr "Använda ett anpassat katalogmönster" +#. (itstool) path: info/desc +#: C/import-file.page:7 +msgid "Import photos that are already saved on your computer." +msgstr "Importera bilder som redan är sparade på din dator." + +#. (itstool) path: page/title +#: C/import-file.page:12 +msgid "Importing from your hard disk" +msgstr "Importera från din hårddisk" -#: C/other-files.page:22(p) +#. (itstool) path: page/p +#: C/import-file.page:14 msgid "" -"Shotwell allows you to specify how it names directories in your library. You " -"can do this by changing the <gui>Directory Structure</gui> and <gui>Pattern</" -"gui> settings in the <gui>Preferences</gui> dialog. You may use a " -"preselected pattern, or choose <gui>Custom</gui> and type in your own." +"To import photo files from your hard disk into Shotwell, just drag them from " +"your file browser into the Shotwell window." msgstr "" -"Shotwell låter dig ange hur det namnger kataloger i ditt bibliotek. Du kan " -"göra detta genom att ändra inställningarna <gui>Katalogstruktur</gui> och " -"<gui>Mönster</gui> i dialogen <gui>Inställningar</gui>. Du kan använda ett " -"förvalt mönster, eller välja <gui>Anpassa</gui> och skriva in ditt eget." +"För att importera bildfiler från din hårddisk till Shotwell, dra dem från " +"din filhanterare till Shotwell-fönstret." -#: C/other-files.page:29(p) +#. (itstool) path: page/p +#: C/import-file.page:16 msgid "" -"The available symbols for the directory pattern begin with a % (percent " -"sign). The values these symbols produce are locale-dependent, so what you " -"see on your computer may vary from the examples below." +"Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</" +"gui></guiseq> and select the folder containing the photos you want to import." msgstr "" -"De tillgängliga symbolerna för katalogmönstren börjar med ett % " -"(procenttecken). Värdena dessa symboler producerar är lokal-beroende, så vad " -"du ser på din dator kan variera jämfört med följande exempel." - -#: C/other-files.page:38(em) -msgid "Symbol" -msgstr "Symbol" - -#: C/other-files.page:38(em) -msgid "Meaning" -msgstr "Betydelse" - -#: C/other-files.page:38(em) -msgid "Example" -msgstr "Exempel" - -#: C/other-files.page:43(p) -msgid "%Y" -msgstr "%Y" - -#: C/other-files.page:43(p) -msgid "Year: full" -msgstr "År: hela" - -#: C/other-files.page:43(p) -msgid "2011" -msgstr "2015" - -#: C/other-files.page:46(p) -msgid "%y" -msgstr "%y" - -#: C/other-files.page:46(p) -msgid "Year: two digit" -msgstr "År: tvåsiffrigt" - -#: C/other-files.page:46(p) -msgid "11" -msgstr "15" - -#: C/other-files.page:49(p) -msgid "%d" -msgstr "%d" +"Alternativt, klicka <guiseq><gui>Arkiv</gui><gui>Importera från mapp…</gui></" +"guiseq> och markera mappen som innehåller de bilder du vill importera." -#: C/other-files.page:49(p) -msgid "Day of the month with leading zero" -msgstr "Månadsdag med inledande nolla" +#. (itstool) path: page/p +#: C/import-file.page:18 +msgid "" +"Shotwell will ask whether you want to copy the photo files to your library " +"folder (usually this is the <file>Pictures</file> folder in your home " +"directory) or to import them in place without copying the files." +msgstr "" +"Shotwell kommer att fråga huruvida du vill kopiera bildfiler till din " +"biblioteksmapp (vanligtvis mappen <file>Bilder</file> i din hemkatalog) " +"eller importera dem direkt utan att kopiera filerna." -#: C/other-files.page:49(p) -msgid "03" -msgstr "03" +#. (itstool) path: page/p +#: C/import-file.page:20 +msgid "" +"If you hold down <key>Ctrl</key> while dragging photos in, Shotwell will " +"copy the photos into your library folder without prompting. Similarly, if " +"you hold down <keyseq><key>Ctrl</key><key>Shift</key></keyseq> while " +"dragging photos in, Shotwell will import the photos without copying them." +msgstr "" +"Om du håller ner <key>Ctrl</key> när du drar in bilder kommer Shotwell att " +"kopiera bilderna till din biblioteksmapp utan att fråga. På samma sätt, om " +"du håller ner <keyseq><key>Ctrl</key><key>Skift</key></keyseq> medan du drar " +"in bilder kommer Shotwell att importera bilderna utan att kopiera dem." -#: C/other-files.page:52(p) -msgid "%A" -msgstr "%A" +#. (itstool) path: page/p +#: C/import-file.page:22 +msgid "" +"Once the import is complete, you can select <gui>Last Import</gui> in the " +"sidebar to see all photos successfully imported. The Events list will also " +"show new entries for the dates corresponding to the imported photos." +msgstr "" +"När importen är färdig kan du välja <gui>Senaste import</gui> i sidopanelen " +"för att se alla importerade bilder. Händelselistan kommer också att visa nya " +"poster för datumen som motsvarar de importerade bilderna." -#: C/other-files.page:52(p) -msgid "Day name: full" -msgstr "Veckodag: hela" +#. (itstool) path: info/desc +#: C/import-f-spot.page:7 +msgid "" +"Shotwell can import all your photos and tags from the F-Spot photo manager." +msgstr "" +"Shotwell kan importera alla dina bilder och taggar från bildhanteraren F-" +"Spot." -#: C/other-files.page:52(p) -msgid "Wednesday" -msgstr "Onsdag" +#. (itstool) path: page/title +#: C/import-f-spot.page:12 +msgid "Importing from F-Spot" +msgstr "Importera från F-Spot" -#: C/other-files.page:55(p) -msgid "%a" -msgstr "%a" +#. (itstool) path: page/p +#: C/import-f-spot.page:14 +msgid "To import an existing photo collection from F-Spot:" +msgstr "För att importera en befintlig bildsamling från F-Spot:" -#: C/other-files.page:55(p) -msgid "Day name: abbreviated" -msgstr "Veckodag: förkortad" +#. (itstool) path: item/p +#: C/import-f-spot.page:16 +msgid "Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>." +msgstr "" +"Välj <guiseq><gui>Arkiv</gui><gui>Importera från F-Spot</gui></guiseq>." -#: C/other-files.page:55(p) -msgid "Wed" -msgstr "Ons" +#. (itstool) path: item/p +#: C/import-f-spot.page:17 +msgid "" +"Now choose either the default F-Spot library or another F-Spot database. If " +"importing from another F-Spot database, select a directory and file from the " +"chooser dialog box." +msgstr "" +"Välj nu antingen F-Spot-biblioteket eller en annan F-Spot-databas. Om " +"importen sker från en annan F-Spot-databas, välj katalog och fil från " +"valdialogrutan." -#: C/other-files.page:58(p) -msgid "%m" -msgstr "%m" +#. (itstool) path: page/p +#: C/import-f-spot.page:20 +msgid "" +"Shotwell will import your photos, together with their tags and other " +"information. Once the import is complete, you can select <gui>Last Import</" +"gui> in the sidebar to see all photos successfully imported. The Events list " +"will also show new entries for the dates corresponding to the imported " +"photos." +msgstr "" +"Shotwell kommer att importera dina bilder tillsammans med deras taggar och " +"annan information. När importen är klar kan du välja <gui>Senaste import</" +"gui> i sidopanelen för att se alla bilder som importerades. Händelselistan " +"kommer också att visa nya angivelser för datum som motsvarar de importerade " +"bilderna." -#: C/other-files.page:58(p) -msgid "Month number with leading zero" -msgstr "Månadsnummer med inledande nolla" +#. (itstool) path: info/desc +#: C/import-memorycard.page:7 +msgid "Import photos from a digital camera's memory card." +msgstr "Importera bilder från en digitalkameras minneskort." -#: C/other-files.page:58(p) -msgid "02" -msgstr "02" +#. (itstool) path: page/title +#: C/import-memorycard.page:12 +msgid "Importing from a memory card" +msgstr "Importera från ett minneskort" -#: C/other-files.page:60(p) -msgid "%b" -msgstr "%b" +#. (itstool) path: page/p +#: C/import-memorycard.page:14 +msgid "To import photos from a camera memory card:" +msgstr "För att importera bilder från en kameras minneskort:" -#: C/other-files.page:60(p) -msgid "Month name: abbreviated" -msgstr "Månadsnummer: förkortat" +#. (itstool) path: item/p +#: C/import-memorycard.page:18 +msgid "" +"Put the card into your card reader. Make sure the card reader is plugged in " +"to the computer and switched on." +msgstr "" +"Stoppa i kortet i din kortläsare. Försäkra dig om att kortläsaren är " +"ansluten till datorn och påslagen." -#: C/other-files.page:60(p) -msgid "Feb" -msgstr "Feb" +#. (itstool) path: item/p +#: C/import-memorycard.page:21 +msgid "The card reader and card should be detected automatically." +msgstr "Kortläsaren och kortet bör upptäckas automatiskt." -#: C/other-files.page:62(p) -msgid "%B" -msgstr "%B" +#. (itstool) path: item/p +#: C/import-memorycard.page:24 +msgid "" +"Follow the instructions for <link xref=\"import-file\">importing photos from " +"your hard disk</link>. If you click <guiseq><gui>File</gui><gui>Import From " +"Folder...</gui></guiseq>, the memory card should be visible as a folder in " +"the side bar of the file selection window." +msgstr "" +"Följ instruktionerna för att <link xref=\"import-file\">importera bilder " +"från din hårddisk</link>. Om du klickar <guiseq><gui>Arkiv</" +"gui><gui>Importera från mapp…</gui></guiseq> bör minneskortet synas som en " +"mapp i sidopanelen för filväljarfönstret." -#: C/other-files.page:62(p) -msgid "Month name: full" -msgstr "Månadsnummer: helt" +#. (itstool) path: page/p +#: C/import-memorycard.page:28 +msgid "" +"Shotwell can import photos from any memory card that is compatible with your " +"card reader." +msgstr "" +"Shotwell kan importera bilder från minneskort som är kompatibla med din " +"kortläsare." -#: C/other-files.page:62(p) -msgid "February" -msgstr "Februari" +#. (itstool) path: page/p +#: C/import-memorycard.page:30 +msgid "" +"If the card is not detected automatically, your card reader may not have " +"been recognized. Try unplugging it and then plugging it in again. If that " +"doesn't work, you should still be able to import photos by <link xref=" +"\"import-camera\">connecting your camera directly to the computer</link>, " +"though." +msgstr "" +"Om kortet inte upptäcks automatiskt kanske din kortläsare inte kände igen " +"det. Prova att koppla från det och sedan ansluta det igen. Om det inte " +"fungerar bör du ändå kunna importera bilder genom att ansluta <link xref=" +"\"import-camera\"> din kamera direkt till datorn </link>." -#: C/other-files.page:63(p) -msgid "%I" -msgstr "%I" +#. (itstool) path: media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/index.page:23 +msgctxt "_" +msgid "" +"external ref='figures/shotwell_logo.png' " +"md5='4b333499555b4e496b1a38f7899067f3'" +msgstr "" +"external ref='figures/shotwell_logo.png' " +"md5='4b333499555b4e496b1a38f7899067f3'" -#: C/other-files.page:63(p) -msgid "Hour: 12 hour format" -msgstr "Timme: 12-timmarsformat" +#. (itstool) path: info/title +#: C/index.page:6 +msgctxt "link" +msgid "Shotwell" +msgstr "Shotwell" -#: C/other-files.page:63(p) -msgid "05" -msgstr "05" +#. (itstool) path: info/title +#: C/index.page:7 +msgctxt "text" +msgid "Shotwell" +msgstr "Shotwell" -#: C/other-files.page:64(p) -msgid "%H" -msgstr "%H" +#. (itstool) path: credit/name +#: C/index.page:9 +msgid "Jim Nelson" +msgstr "Jim Nelson" -#: C/other-files.page:64(p) -msgid "Hour: 24 hour format" -msgstr "Timme: 24-timmarsformat" +#. (itstool) path: credit/name +#: C/index.page:11 +msgid "Allison Barlow" +msgstr "Allison Barlow" -#: C/other-files.page:64(p) -msgid "17" -msgstr "17" +#. (itstool) path: credit/name +#: C/index.page:13 +msgid "Robert Ancell" +msgstr "Robert Ancell" -#: C/other-files.page:66(p) -msgid "%M" -msgstr "%M" +#. (itstool) path: credit/name +#: C/index.page:15 +msgid "Peter Smith" +msgstr "Peter Smith" -#: C/other-files.page:66(p) -msgid "Minute" -msgstr "Minut" +#. (itstool) path: credit/name +#: C/index.page:17 +msgid "Phil Bull" +msgstr "Phil Bull" -#: C/other-files.page:66(p) -msgid "16" -msgstr "16" +#. (itstool) path: page/title +#: C/index.page:23 +msgid "" +"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell Photo " +"Manager" +msgstr "" +"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell " +"bildhanterare" -#: C/other-files.page:67(p) -msgid "%S" -msgstr "%S" +#. (itstool) path: section/title +#: C/index.page:26 +msgid "Importing Photos" +msgstr "Importera bilder" -#: C/other-files.page:67(p) -msgid "Second" -msgstr "Sekund" +#. (itstool) path: section/title +#: C/index.page:30 +msgid "Viewing Photos" +msgstr "Visa bilder" -#: C/other-files.page:67(p) -msgid "30" -msgstr "30" +#. (itstool) path: section/title +#: C/index.page:34 +msgid "Organizing Photos" +msgstr "Ordna bilder" -#: C/other-files.page:68(p) -msgid "%p" -msgstr "%p" +#. (itstool) path: section/title +#: C/index.page:38 +msgid "Editing Photos" +msgstr "Redigera bilder" -#: C/other-files.page:68(p) -msgid "AM or PM" -msgstr "AM eller PM" +#. (itstool) path: section/title +#: C/index.page:42 +msgid "Sharing Photos" +msgstr "Dela bilder" -#: C/other-files.page:68(p) -msgid "PM" -msgstr "PM" +#. (itstool) path: section/title +#: C/index.page:46 +msgid "Other Features" +msgstr "Andra egenskaper" -#: C/other-files.page:72(p) +#. (itstool) path: info/desc +#: C/organize-event.page:7 msgid "" -"There are other symbols available; please check the manual for strftime by " -"running the command <cmd>man strftime</cmd> if you need one that isn't " -"listed here." +"Group photos together that were taken at the same time. Learn how to rename, " +"merge, and sort events." msgstr "" -"Det finns andra symboler tillgängliga, se handboken för strftime genom att " -"köra kommandot <cmd>man strftime</cmd> om du behöver en som inte listas här." - -#: C/other-files.page:79(title) -msgid "Automatically importing photos" -msgstr "Importera bilder automatiskt" +"Gruppera bilder som tagits samtidigt. Lär dig att byta namn, sammanfoga och " +"sortera händelser." -#: C/other-files.page:81(p) -msgid "" -"Shotwell can automatically import new photos which appear in the library " -"directory. (The library directory is usually the <file>Pictures</file> " -"directory in your home directory; you can change its location in in the " -"<gui>Preferences</gui> window.)" -msgstr "" -"Shotwell kan automatiskt importera nya bilder som kommer att visas i " -"bibliotekskatalogen. (Bibliotekskatalogen är vanligtvis katalogen " -"<file>Bilder</file> i din hemkatalog - du kan ändra dess plats i fönstret " -"<gui>Inställningar</gui>.)" +#. (itstool) path: page/title +#: C/organize-event.page:12 +msgid "Events" +msgstr "Händelser" -#: C/other-files.page:86(p) +#. (itstool) path: page/p +#: C/organize-event.page:14 msgid "" -"To enable auto-import, check the box <gui>Watch library directory for new " -"files</gui> in the <gui>Preferences</gui> window." +"An event is a group of photos that were taken at approximately the same " +"time. When you import photos, Shotwell checks when each photo was taken. It " +"then groups the photos into events." msgstr "" -"För att aktivera autoimport, kryssa i rutan <gui>Bevaka bibliotekskatalogen " -"efter nya filer</gui> i fönstret <gui>Inställningar</gui>." +"En händelse är en grupp bilder som tagits ungefär samtidigt. När du " +"importerar bilder kontrollerar Shotwell när varje bild tagits. Det grupperar " +"sedan bilderna i händelser." -#: C/other-files.page:90(p) +#. (itstool) path: page/p +#: C/organize-event.page:16 msgid "" -"Shotwell can also follow symbolic links inside automatically-imported " -"directories." +"Choose <gui>Events</gui> from the sidebar to see your photos organized by " +"date. If you select a month or year from the sidebar, a list of events will " +"be displayed in the main window. Double-click an event to see all the photos " +"that were taken around that time." msgstr "" -"Shotwell kan också följa symboliska länkar inuti automatiskt importerade " -"kataloger." - -#: C/other-files.page:95(title) -msgid "Automatically renaming imported photos to lowercase" -msgstr "Automatiskt döpa om importerade bilder till gemener." +"Välj <gui>Händelser</gui> från sidopanelen för att se dina bilder ordnade " +"efter datum. Om du väljer en månad eller ett år från sidopanelen visas en " +"lista över händelser i huvudfönstret. Dubbelklicka på en händelse för att se " +"alla bilder som togs vid den tiden." -#: C/other-files.page:97(p) +#. (itstool) path: page/p +#: C/organize-event.page:18 msgid "" -"Shotwell can automatically change the filenames of imported photos to " -"lowercase. To enable this, choose <guiseq><gui>Edit</gui><gui>Preferences</" -"gui></guiseq>, and in the <gui>Preferences</gui> window, check the " -"<gui>Rename imported files to lowercase</gui> box." +"If a photo has no embedded date/time information, then Shotwell can't " +"automatically place it in any event. In this case the photo will appear in " +"the <gui>No Event</gui> view accessible from the sidebar. You can still move " +"the photo to any event you like as described below." msgstr "" -"Shotwell kan automatiskt ändra filnamnen för importerade bilder till " -"gemener. För att aktivera detta, välj <guiseq><gui>Redigera</" -"gui><gui>Inställningar</gui></guiseq> och i fönstret <gui>Inställningar</" -"gui>, kryssa i rutan <gui>Byt namn på importerade filer till gemener</gui>." - -#: C/other-files.page:107(title) -msgid "Writing metadata on the fly" -msgstr "Skriva metadata direkt" +"Om en bild inte har inbäddad datum/tid-information kan inte Shotwell " +"automatiskt placera dem i någon händelse. I detta fall kommer bilden att " +"visas i vyn <gui>Ingen händelse</gui> tillgänglig från sidopanelen. Du kan " +"fortfarande flytta bilden till vilken händelse du vill, som beskrivs nedan." -#: C/other-files.page:109(p) -msgid "" -"By default, Shotwell does not modify photo files, even when you edit photos " -"or change their tags or titles. Shotwell records these changes in its own " -"database only." -msgstr "" -"Som standard ändrar inte Shotwell bildfiler, även om du redigerar bilder " -"eller ändrar deras taggar och namn. Shotwell sparar endast dessa ändringar i " -"sin databas." +#. (itstool) path: section/title +#: C/organize-event.page:25 +msgid "Renaming events" +msgstr "Byta namn på händelser" -#: C/other-files.page:112(p) +#. (itstool) path: section/p +#: C/organize-event.page:27 msgid "" -"To change this behavior, you can enable the checkbox <gui>Write tags, titles " -"and other metadata to photo files</gui> in the <gui>Preferences</gui> " -"dialog. When this option is enabled, Shotwell will write the following " -"metadata to most photo files whenever you change it in Shotwell:" +"To give an event a name rather than referring to it by its date, select the " +"event, click <guiseq><gui>Events</gui><gui>Rename Event...</gui></guiseq> " +"and enter a new name. Another way of renaming an event is to double-click " +"its name in the sidebar; type a new name and then press <key>Enter</key>." msgstr "" -"För att ändra detta beteende kan du aktivera kryssrutan <gui>Skriv taggar, " -"namn och annan metadata till bildfiler</gui> i dialogen <gui>Inställningar</" -"gui>. När detta alternativ är aktiverat kommer Shotwell att skriva följande " -"metadata till de flesta bildfiler när du ändrar dem i Shotwell:" - -#: C/other-files.page:118(p) -msgid "titles" -msgstr "namn" - -#: C/other-files.page:119(p) -msgid "tags" -msgstr "taggar" - -#: C/other-files.page:120(p) -msgid "ratings" -msgstr "betyg" - -#: C/other-files.page:121(p) -msgid "rotation information" -msgstr "riktningsinformation" +"För att ge en händelse ett namn istället för att hänvisa till den med datum, " +"markera händelsen, klicka <guiseq><gui>Redigera</gui><gui>Byt namn på " +"händelse…</gui></guiseq> och ange ett nytt namn. Ett annat sätt att byta " +"namn på en händelse är att dubbelklicka på dess namn i sidopanelen, skriva " +"ett nytt namn och sedan trycka <key>Retur</key>." -#: C/other-files.page:122(p) -msgid "time/date" -msgstr "tid/datum" +#. (itstool) path: section/title +#: C/organize-event.page:31 +msgid "Moving photos between events" +msgstr "Flytta bilder mellan händelser" -#: C/other-files.page:125(p) +#. (itstool) path: section/p +#: C/organize-event.page:33 msgid "" -"Shotwell stores this information in photo files in EXIF, IPTC and/or XMP " -"format. Note that Shotwell can write only to photo files in JPEG, PNG and " -"TIFF format, not to BMP photos, RAW photos or to video files." +"Even though photos are initially grouped into events by their date, you can " +"move photos between events. To do this, drag any photo to the sidebar and " +"drop it on an event." msgstr "" -"Shotwell lagrar denna information i bildfiler i EXIF, IPTC och/eller XMP-" -"format. Observera att Shotwell endast kan skriva till bildfiler i JPEG, PNG " -"och TIFF-format, inte till BMP-bilder, RAW-bilder eller till videofiler." +"Även om bilder inledningsvis grupperas i händelser efter datum kan du flytta " +"bilder mellan händelser. För att göra detta, dra en bild till sidopanelen " +"och släpp den på en händelse." -#: C/other-files.page:133(title) -msgid "Runtime monitoring" -msgstr "Körtidsövervakning" +#. (itstool) path: section/title +#: C/organize-event.page:37 +msgid "Creating and merging events" +msgstr "Skapa och sammanfoga händelser" -#: C/other-files.page:135(p) +#. (itstool) path: section/p +#: C/organize-event.page:38 msgid "" -"While Shotwell is running, it notices changes made to any photo file " -"externally. When a photo file changes, Shotwell rereads the file and updates " -"your view of the photo and metadata." +"To create a new event, select the photos you would like in the new event and " +"click <guiseq><gui>Events</gui><gui>New Event</gui></guiseq>." msgstr "" -"När Shotwell körs märker det av ändringar gjorda till bildfiler externt. När " -"en bildfil ändras läser Shotwell om filen och uppdaterar din vy över bilder " -"och metadata." +"För att skapa nya händelser, markera de bilder du skulle vilja ha i en ny " +"händelse och klicka <guiseq><gui>Händelser</gui><gui>Ny händelse</gui></" +"guiseq>." -#: C/other-files.page:139(p) +#. (itstool) path: section/p +#: C/organize-event.page:39 msgid "" -"Note that Shotwell checks all photo files for changes at startup, but only " -"photo files contained in the library directory are monitored in real time " -"after startup. We hope to remove this limitation in a further release." +"To merge events, select <guiseq><gui>Events</gui></guiseq> from the sidebar, " +"then, while holding down <key>Ctrl</key> click on the events you want to " +"merge in the main window area. Finally, click <guiseq><gui>Events</" +"gui><gui>Merge Events</gui></guiseq>." msgstr "" -"Observera att Shotwell kontrollerar alla bildfiler vid uppstart, men att " -"endast bildfiler i bibliotekskatalogen övervakas i realtid efter uppstart. " -"Vi hoppas kunna ta bort denna begränsning i en framtida utgåva." - -#: C/organize-title.page:7(desc) -msgid "Give titles to your photos." -msgstr "Namnge dina bilder." - -#: C/organize-title.page:12(title) -msgid "Titles" -msgstr "Namn" +"För att sammanfoga händelser, välj <guiseq><gui>Händelser</gui></guiseq> " +"från sidopanelen och sedan, medan du håller ner <key>Ctrl</key>, klicka på " +"händelserna du vill sammanfoga i huvudfönstret. Slutligen, klicka på " +"<guiseq><gui>Händelser</gui><gui>Sammanfoga händelser</gui></guiseq>." -#: C/organize-title.page:14(p) -msgid "" -"The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the " -"display of titles beneath each photo. By default, a photo's title is its " -"filename." -msgstr "" -"Kryssrutan <guiseq><gui>Visa</gui><gui>Titlar</gui></guiseq> aktiverar " -"visningen av titlar under varje bild. Som standard är en bilds namn dess " -"filnamn." +#. (itstool) path: section/title +#: C/organize-event.page:43 +msgid "Sorting events" +msgstr "Sortera händelser" -#: C/organize-title.page:17(p) +#. (itstool) path: section/p +#: C/organize-event.page:45 msgid "" -"To change a photo's title, select the photo and click <guiseq><gui>Photos</" -"gui><gui>Edit Title</gui></guiseq>, or press <key>F2</key>." +"Events are displayed in a tree in the sidebar, organized by the year and " +"month of the earliest photo in the event. To change the event sort order, " +"click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select " +"either ascending or descending." msgstr "" -"För att ändra en bilds titel, markera bilden och klicka <guiseq><gui>Bilder</" -"gui><gui>Redigera namn</gui></guiseq> eller tryck <key>F2</key>." - -#: C/organize-tag.page:7(desc) -msgid "Organize photos by labelling them." -msgstr "Organisera bilder genom att sätta taggar på dem." +"Händelser visas i ett träd i sidopanelen, ordnade efter år och månad efter " +"de tidigaste bilderna i en händelse. För att ändra sorteringsordning, klicka " +"<guiseq><gui>Visa</gui><gui>Sortera händelser</gui></guiseq> och välj " +"antingen stigande eller fallande." -#: C/organize-tag.page:14(title) -msgid "Tagging photos" -msgstr "Tagga bilder" +#. (itstool) path: section/title +#: C/organize-event.page:51 +msgid "Change the photo used to represent each event" +msgstr "Ändra bilden som representerar varje händelse." -#: C/organize-tag.page:16(p) +#. (itstool) path: section/p +#: C/organize-event.page:53 msgid "" -"You can assign one or more tags to selected photos. A tag can be one or more " -"words that you want to associate with those photos." +"If you select the <gui>Events</gui> item in the sidebar, you'll see a single " +"photo which represents each event. This is called the key photo." msgstr "" -"Du kan tilldela en eller fler taggar för att markera bilder. En tagg kan " -"vara en eller flera ord som du vill associera med dessa bilder." +"Om du väljer <gui>Händelser</gui> i sidopanelen kommer du att se en ensam " +"bild som representerar var händelse. Det kallas nyckelbilden." -#: C/organize-tag.page:22(p) +#. (itstool) path: section/p +#: C/organize-event.page:55 msgid "" -"To add new tags to photos, select the photos you would like to tag, then do " -"any of the following:" +"By default, Shotwell uses the first photo in each event as its key photo. To " +"use a different key photo, select the photo and choose <guiseq><gui>Photos</" +"gui><gui>Make Key Photo for Event</gui></guiseq>." msgstr "" -"För att lägga till taggar till bilder, markera bilderna du skulle vilja " -"lägga tagga, och gör sedan följande:" - -#: C/organize-tag.page:28(p) -msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq>." -msgstr "Markera <guiseq><gui>Taggar</gui><gui>Lägg till taggar</gui></guiseq>." +"Som standard använder Shotwell den första bilden i varje händelse som dess " +"nyckelbild. För att använda en annan nyckelbild, markera bilden och välj " +"<guiseq><gui>Bilder</gui><gui>Skapa nyckelbild för händelse</gui></guiseq>." -#: C/organize-tag.page:29(p) -msgid "Type <keyseq><key>Ctrl</key><key>T</key></keyseq>." -msgstr "Skriv in <keyseq><key>Ctrl</key><key>T</key></keyseq>." +#. (itstool) path: info/desc +#: C/organize-flag.page:7 +msgid "Flag photos to mark them as special or to work with them as a set." +msgstr "" +"Flagga bilder för att markera dem som speciella eller för att arbeta med dem " +"som en samling." -#: C/organize-tag.page:30(p) -msgid "Drag the selected photos and drop them on the desired tag." -msgstr "Dra de markerade bilderna och släpp dem på den önskade taggen." +#. (itstool) path: page/title +#: C/organize-flag.page:12 +msgid "Flagging photos" +msgstr "Flagga bilder" -#: C/organize-tag.page:33(p) +#. (itstool) path: page/p +#: C/organize-flag.page:14 msgid "" -"When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or " -"<guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq> you can type in the " -"names of one or more tags, separated by commas. Once you have created a tag, " -"you can rename it by selecting that tag in the sidebar and choosing " -"<guiseq><gui>Tags</gui><gui>Rename Tag \"[name]\"</gui></guiseq>, by " -"rightclicking on it and choose <gui>Rename...</gui> or double-click on the " -"tag in the sidebar." +"Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small " +"flag icon appears in its upper right corner. You can select the " +"<gui>Flagged</gui> item in the sidebar to see all photos which have been " +"flagged." msgstr "" -"När du använder <keyseq><key>Ctrl</key><key>T</key></keyseq> eller " -"<guiseq><gui>Taggar</gui><gui>Lägg till taggar</gui></guiseq> kan du skriva " -"in namnen på en eller flera taggar separerade med komman. När du väl har " -"skapat en tagg kan du byta namn på den genom att markera taggen i " -"sidopanelen och välja <guiseq><gui>Taggar</gui><gui>Byt namn på taggen " -"\"[namn]\"</gui></guiseq> genom att högerklicka på den och markera <gui>Byt " -"namn…</gui> eller dubbelklicka på taggen i sidopanelen." - -#: C/organize-tag.page:44(p) -msgid "" -"To change which tags are associated with a particular photo, select that " -"photo, choose <guiseq><gui>Tags</gui><gui>Modify Tags</gui></guiseq> or " -"right-click on a photo and select <gui>Modify Tags</gui> and edit the comma " -"separated list. To remove a tag from one or more photos, first select that " -"tag in the sidebar, then select the photos you would like to remove, and " -"choose <guiseq><gui>Tags</gui><gui>Remove Tag \"[name]\" from Photos</gui></" -"guiseq> or right-click on the photos an select <gui>Remove Tag \"[name]\" " -"from Photos</gui>." -msgstr "" -"För att ändra taggar associerade med ett speciellt bild, markera bilden, " -"välj <guiseq><gui>Taggar</gui><gui>Ändra taggar</gui></guiseq> eller " -"högerklicka på en bild och markera <gui>Ändra taggar</gui> och redigera den " -"kommaseparerade listan. För att ta bort en tagg från en eller flera bilder, " -"välj först taggen i sidopanelen och markera sedan de bilder du vill ta bort, " -"samt välj <guiseq><gui>Taggar</gui><gui>Ta bort tagg \"[namn]\" från bilder</" -"gui></guiseq> eller högerklicka på bilderna och välj <gui>Ta bort tagg " -"\"[namn]\" från bilder</gui>." +"Shotwell låter dig <em>flagga</em> bilder. När en bild flaggats kommer en " +"liten flaggikon visas i dess övre högra hörn. Du kan markera <gui>Flaggade</" +"gui> i sidopanelen för att se alla bilder som har flaggats." -#: C/organize-tag.page:58(p) +#. (itstool) path: page/p +#: C/organize-flag.page:18 msgid "" -"To delete a tag entirely, select that tag in the sidebar and choose " -"<guiseq><gui>Tags</gui><gui>Delete Tag \"[name]\"</gui></guiseq> or by right-" -"click and select <gui>Delete Tag \"[name]\"</gui>." +"Flagging a photo marks it as special. You can interpret this in any way you " +"like. For example, you might flag all photos which need visual adjustment, " +"or all photos which you want to share with a friend." msgstr "" -"För att fullständigt ta bort en tagg, markera taggen i sidopanelen och välj " -"<guiseq><gui>Taggar</gui><gui>Ta bort tagg \"[namn]\"</gui></guiseq> eller " -"högerklicka och välj <gui>Ta bort tagg \"[namn]\"</gui>." +"Att flagga en bild markerar den som speciell. Du kan tolka det som du vill. " +"Till exempel kan du flagga alla bilder som kräver visuell justering, eller " +"alla bilder som du vill dela med en vän." -#: C/organize-tag.page:64(p) +#. (itstool) path: page/p +#: C/organize-flag.page:22 msgid "" -"When you create a tag, it will appear in the sidebar under the Tags item, " -"which is hidden if there are no tags. Photos can have multiple tags attached " -"to them, and when you click on the name of a given tag in the sidebar, you " -"will see all the photos associated with that tag." +"Flagging is also useful because you can operate on all flagged photos as a " +"set. For example, you can select the <gui>Flagged</gui> view and then upload " +"all flagged photos to a publishing service." msgstr "" -"När du skapar en tagg kommer den att visas i sidopanelen under objektet " -"Taggar, vilket döljs om det inte finns några taggar. Bilder kan ha flera " -"taggar associerade med dem, och när du klickar på namnet för en given tagg i " -"sidopanelen kommer du att se alla bilder associerade med denna tagg." +"Att flagga är användbart eftersom du kan jobba med alla flaggade bilder som " +"en samling. Till exempel kan du markera vyn <gui>Flaggade</gui> och sedan " +"skicka upp alla flaggade bilder till en publiceringstjänst." -#: C/organize-tag.page:73(title) -msgid "Hierarchical Tags" -msgstr "Hierarkiska taggar" +#. (itstool) path: section/title +#: C/organize-flag.page:27 +msgid "To flag or unflag a photo" +msgstr "Att flagga eller flagga av en bild" -#: C/organize-tag.page:74(p) +#. (itstool) path: section/p +#: C/organize-flag.page:28 msgid "" -"Shotwell supports also hierarchial tags. You can rearrange your tags by drag " -"and drop a tag onto another. To create a new subtag right-click on a tag and " -"select <gui>New</gui>." +"To flag or unflag a photo, right-click the photo and choose <gui>Flag</gui> " +"or <gui>Unflag</gui> from the context menu. Or use the <keyseq><key>Ctrl</" +"key><key>G</key></keyseq> or <key>/</key> shortcut keys." msgstr "" -"Shotwell stödjer också hierarkiska taggar. Du kan flytta om dina taggar " -"genom att dra och släppa en tagg på en annan. För att skapa en ny undertagg, " -"högerklicka på en tagg och markera <gui>Ny</gui>." +"För att flagga eller flagga av en bild, högerklicka på bilden och välj " +"<gui>Flagga</gui> eller <gui>Flagga av</gui> från snabbmenyn. Eller, använd " +"snabbtangenterna <keyseq><key>Ctrl</key><key>G</key></keyseq> eller <key>/</" +"key>." -#: C/organize-tag.page:81(p) +#. (itstool) path: info/desc +#: C/organize-rating.page:7 msgid "" -"Hierarchial tags can help you to sort your tag list in ways that better " -"match how you work or think; for example, you can store location tags like " -"\"Mountains\" or \"Beach\" under a parent tag \"Places\", which itself can " -"be placed under the tag \"Summer Holidays\"." -msgstr "" -"Hierarkiska taggar kan hjälpa dig att sortera din tagglista på sätt som " -"bättre matchar hur du tänker eller jobbar - exempelvis kan du lagra " -"platstaggar som ”Berg” eller ”Strand” under en överordnad tagg ”Platser”, " -"vilken i sig själv kan placeras under taggen ”Sommarsemester”." - -#: C/organize-tag.page:89(p) -msgid "Note that deleting a parent tag will also delete its child tags." +"Give photos a rating between 1 and 5 stars. You can reject bad photos, " +"hiding them from view." msgstr "" -"Observera att ta bort en överordnad tagg också kommer att bort underordnade " -"taggar." - -#: C/organize-search.page:7(desc) -msgid "Find photos and videos in your collection by a variety of criteria." -msgstr "Hitta bilder och filmer i din samling med blandade kriterier." +"Ge bilderna ett betyg mellan en och fem stjärnor. Du kan avvisa dåliga " +"bilder och dölja dem från visning." -#: C/organize-search.page:12(title) -msgid "Searching" -msgstr "Söka" +#. (itstool) path: page/title +#: C/organize-rating.page:12 +msgid "Ratings" +msgstr "Betyg" -#: C/organize-search.page:14(p) +#. (itstool) path: page/p +#: C/organize-rating.page:13 msgid "" -"There are two ways to search in Shotwell: the filter toolbar, and with a " -"saved search. The search bar allows you to quickly search the current view " -"for certain criteria. Saved Searches feature more complex search criteria " -"and persist in the sidebar between sessions." +"You can assign each photo a rating from 1-5 stars, or may alternatively rate " +"it as Rejected, in which case Shotwell will hide the photo by default." msgstr "" -"Det finns två sätt att söka på i Shotwell: filterverktygsfältet och med en " -"sparad sökning. Sökfältet låter dig snabbt söka aktuell vy efter specifika " -"kriterier. Sparade sökningar erbjuder komplexare sökningskriterier och " -"lagring i sidopanelen mellan sessioner." +"Du kan ger varje bild ett betyg från 1-5 stjärnor, eller sätta den som " +"avvisad, vilket medför att Shotwell som standard kommer att dölja bilden." -#: C/organize-search.page:21(title) -msgid "Search bar" -msgstr "Sökfältet" +#. (itstool) path: page/p +#: C/organize-rating.page:15 +msgid "You can rate a photo or a set of photos in any of these ways:" +msgstr "Du kan betygsätta en bild eller en samling bilder på dessa sätt:" -#: C/organize-search.page:22(p) +#. (itstool) path: item/p +#: C/organize-rating.page:18 msgid "" -"The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles " -"the display of the search bar. You can also hit <keyseq><key>Ctrl</" -"key><key>F</key></keyseq> or <key>F8</key> to bring up the search bar. From " -"this bar, you can find, show and hide photos and videos based on title, tag, " -"rating or other options." +"Select the photo(s), then choose a rating from the top-level " +"<guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu." msgstr "" -"Kryssrutan <guiseq><gui>Visa</gui><gui>Sökfält</gui></guiseq> visar eller " -"döljer sökfältet. Du kan också trycka <keyseq><key>Ctrl</key><key>F</key></" -"keyseq> eller <key>F8</key> för att lyfta fram sökfältet. Från detta fält " -"kan du hitta, visa och dölja bilder och filmer baserat på namn, tagg, betyg " -"eller andra alternativ." +"Markera bilden och välj sedan betygsätt från den översta menyn " +"<guiseq><gui>Bilder</gui><gui>Betygsätt</gui></guiseq>." -#: C/organize-search.page:29(p) +#. (itstool) path: item/p +#: C/organize-rating.page:19 msgid "" -"To begin searching, simply enter a search keyword in the text box, or click " -"on <gui>Flagged</gui>, <gui>Rating</gui> or <gui>Type</gui>. The text search " -"matches your keywords across tag names, photo or video titles and photos' " -"original filenames. The <gui>Flagged</gui>, <gui>Rating</gui> and <gui>Type</" -"gui> buttons allow you to filter your collection by whether photos are " -"flagged, their current number of stars, and whether the items shown are " -"images, videos, or raw camera files, respectively." +"Right-click on the photo(s), then choose a rating from the Set Rating " +"context menu." msgstr "" -"För att börja söka, ange ett söknyckelord i textfältet, eller klicka på " -"<gui>Flaggade</gui>, <gui>Betyg</gui> eller <gui>Typ</gui>. Textsökning " -"matchar dina nyckelord över taggnamn, bild eller videonamn och bilders " -"originalfilnamn. Knapparna <gui>Flaggade</gui>, <gui>Betyg</gui> och " -"<gui>Typ</gui> låter dig filtrera din samling med flaggade bilder, deras " -"aktuella nummer av stjärnor och huruvida objekten är bilder, filmer eller " -"råa kamerafiler." +"Högerklicka på bilden/rna och välj sedan ett betyg från snabbmenyn Betygsätt." -#: C/organize-search.page:38(p) +#. (itstool) path: item/p +#: C/organize-rating.page:20 msgid "" -"Disabling the search bar or exiting Shotwell automatically resets the search " -"bar." +"Select the photo(s), then press any of the shortcut keys <key>1</key>, " +"<key>2</key>, <key>3</key>, <key>4</key> or <key>5</key> to assign a rating. " +"Or press <key>9</key> to mark the photo(s) as rejected or <key>0</key> to " +"clear the rating(s)." msgstr "" -"Att inaktivera sökfältet eller avsluta Shotwell automatiskt återställer " -"sökfältet." - -#: C/organize-search.page:44(title) -msgid "Saved search" -msgstr "Sparad sökning" +"Markera bilden/erna och tryck sedan på någon av snabbtangenterna <key>1</" +"key>, <key>2</key>, <key>3</key>, <key>4</key> eller <key>5</key> för att " +"tilldela ett betyg. Eller, tryck <key>9</key> för att markera bilden/erna " +"som avvisade eller <key>0</key> för att rensa betyg." -#: C/organize-search.page:45(p) +#. (itstool) path: page/p +#: C/organize-rating.page:23 msgid "" -"A saved search persists across Shotwell sessions, and is updated as photos " -"and videos are added and removed from your Shotwell library." +"Normally Shotwell displays all photos except rejected photos. You can set a " +"different rating filter using the <guiseq><gui>View</gui><gui>Filter Photos</" +"gui></guiseq> menu - for example, you can display only photos rated with 3 " +"stars or higher, or you can display all photos including those marked " +"rejected. The Shotwell icon on the toolbar displays the current rating " +"filter and can also be used to set the filter." msgstr "" -"En sparad sökning lagras över Shotwell-sessioner och uppdateras då bilder " -"och filmer läggs till och tas bort från ditt Shotwell-bibliotek." +"Vanligtvis visar Shotwell alla bilder förutom avvisade bilder. Du kan ange " +"ett annat betygsfilter genom att använda <guiseq><gui>Visa</" +"gui><gui>Filtrera bilder</gui></guiseq>-menyn - till exempel kan du visa " +"bilder betygsatta med tre stjärnor eller högre, eller du kan visa alla " +"bilder inklusive de som markerats avvisade. Shotwell-ikonen på " +"verktygsfältet visar aktuellt betygsfilter och kan också användas för att " +"aktivera filtret." -#: C/organize-search.page:50(p) +#. (itstool) path: page/p +#: C/organize-rating.page:26 msgid "" -"Create a new saved search with <guiseq><gui>Edit</gui><gui>New Search</gui></" -"guiseq> or by hitting <keyseq><key>Ctrl</key><key>S</key></keyseq>. The " -"dialog box allows you to enter a name for the search and select whether you " -"want to meet Any, All, or None of the criteria in the following rows." +"Shotwell normally displays each photo's rating in its lower left-hand " +"corner. You can turn off the display of ratings using the <guiseq><gui>View</" +"gui><gui>Ratings</gui></guiseq> menu item." msgstr "" -"Skapa en ny sparad sökning med <guiseq><gui>Redigera</gui><gui>Ny sökning</" -"gui></guiseq> eller genom att trycka <keyseq><key>Ctrl</key><key>S</key></" -"keyseq>. Dialogrutan låter dig ange ett namn för sökningen och välja " -"huruvida du vill uppfylla några, alla eller inga av kriterierna i följande " -"rader." +"Shotwell visar som standard varje bilds betyg i nedre vänstra hörnet, Du kan " +"stänga av visningen av betyg genom att nyttja <guiseq><gui>Visa</" +"gui><gui>Betyg</gui></guiseq>-menyobjektet." -#: C/organize-search.page:56(p) +#. (itstool) path: page/p +#: C/organize-rating.page:28 msgid "" -"Each row represents a search criterion. Use the + button to add more rows, " -"and the - button to remove a specific row. The combo box on the left of each " -"row selects the type of criteria. Criteria must be entered correctly before " -"the OK button becomes available." +"You can increase or decrease a photo's rating using the <guiseq><gui>Set " +"Rating</gui><gui>Increase</gui></guiseq> and <guiseq><gui>Set Rating</" +"gui><gui>Decrease</gui></guiseq> commands, or the keyboard shortcuts " +"<key><</key> and <key>></key>." msgstr "" -"Varje rad representerar ett sökkriterium. Använd +-knappen för att lägga " -"till flera rader och -knappen för att ta bort en specifik rad. Komborutan " -"till vänster för varje rad väljer kriteriatyp. Kriterier måste anges korrekt " -"innan OK-knappen blir tillgänglig." +"Du kan öka eller minska en bilds betyg genom att använda " +"<guiseq><gui>Betygsätt</gui><gui>Höj</gui></guiseq> och " +"<guiseq><gui>Betygsätt</gui><gui>Sänk</gui></guiseq>-kommandona, eller " +"tangentbordsgenvägarna <key><</key> och <key>></key>." -#. When image changes, this message will be marked fuzzy or untranslated for you. -#. It doesn't matter what you translate it to: it's not used at all. -#: C/organize-remove.page:15(None) +#. (itstool) path: media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/organize-remove.page:15 +#| msgid "" +#| "@@image: 'figures/trash_process.png'; md5=ed596bda34c2f4a79a310fbc8bb51fd2" +msgctxt "_" msgid "" -"@@image: 'figures/trash_process.png'; md5=ed596bda34c2f4a79a310fbc8bb51fd2" +"external ref='figures/trash_process.png' " +"md5='ed596bda34c2f4a79a310fbc8bb51fd2'" msgstr "" -"@@image: 'figures/trash_process.png'; md5=ed596bda34c2f4a79a310fbc8bb51fd2" +"external ref='figures/trash_process.png' " +"md5='ed596bda34c2f4a79a310fbc8bb51fd2'" -#: C/organize-remove.page:7(desc) +#. (itstool) path: info/desc +#: C/organize-remove.page:7 msgid "" "Remove photos from the library, or delete them from your computer entirely." msgstr "" "Ta bort bilder från biblioteket eller radera dem fullständigt från din dator." -#: C/organize-remove.page:12(title) +#. (itstool) path: page/title +#: C/organize-remove.page:12 msgid "Removing and deleting photos" msgstr "Ta bort och radera bilder" -#: C/organize-remove.page:14(p) +#. (itstool) path: page/p +#: C/organize-remove.page:14 msgid "" "You may remove photos from your library and you may additionally delete them " "entirely from your hard disk." @@ -1434,11 +1488,13 @@ msgstr "" "Du kan ta bort bilder från ditt bibliotek och du kan också radera dem " "fullständigt från din hårddisk." -#: C/organize-remove.page:15(media) +#. (itstool) path: page/media +#: C/organize-remove.page:15 msgid "Delete process" msgstr "Raderingsprocess" -#: C/organize-remove.page:16(p) +#. (itstool) path: page/p +#: C/organize-remove.page:16 msgid "" "This diagram shows how a photo, when deleted, is first put into Shotwell's " "trash. If you delete it from Shotwell's trash, it is put into your " @@ -1450,11 +1506,13 @@ msgstr "" "datorns papperskorg. Om du raderar den från din dators papperskorg är bilden " "oåterkalleligen raderat från din dator." -#: C/organize-remove.page:18(title) +#. (itstool) path: section/title +#: C/organize-remove.page:18 msgid "Removing photos from the library" msgstr "Ta bort bilder från biblioteket" -#: C/organize-remove.page:19(p) +#. (itstool) path: section/p +#: C/organize-remove.page:19 msgid "" "Select the photos to remove and choose <guiseq><gui>Edit</gui><gui>Move to " "Trash</gui></guiseq>. (You can also press the <key>Delete</key> key.) The " @@ -1465,7 +1523,8 @@ msgstr "" "tangenten.) Bilderna kommer att flyttas från ditt bibliotek till Shotwells " "papperskorg." -#: C/organize-remove.page:22(p) +#. (itstool) path: section/p +#: C/organize-remove.page:22 msgid "" "If you want to remove photos from Shotwell without having them pass through " "the trash, simply select the photos to be removed and choose " @@ -1477,11 +1536,13 @@ msgstr "" "gui><gui>Ta bort från bibliotek</gui></guiseq>. Bildfilerna kommer att vara " "kvar på disken." -#: C/organize-remove.page:26(title) +#. (itstool) path: section/title +#: C/organize-remove.page:26 msgid "Emptying or restoring the trash folder" msgstr "Rensa eller återställa papperskorgen" -#: C/organize-remove.page:27(p) +#. (itstool) path: section/p +#: C/organize-remove.page:27 msgid "" "Select the Trash entry in the Sidebar and Shotwell will display all photos " "that have been marked for removal or deletion. In the Trash view, the " @@ -1491,35 +1552,43 @@ msgstr "" "som har markerats för borttagning eller radering. I vyn för papperskorgen är " "följande kommandon tillgängliga:" -#: C/organize-remove.page:29(title) +#. (itstool) path: item/title +#: C/organize-remove.page:29 msgid "Delete" msgstr "Radera" -#: C/organize-remove.page:29(p) +#. (itstool) path: item/p +#: C/organize-remove.page:29 msgid "Delete the selected photos from the trash folder." msgstr "Radera de markerade bilderna från papperskorgen." -#: C/organize-remove.page:30(title) +#. (itstool) path: item/title +#: C/organize-remove.page:30 msgid "Restore" msgstr "Återställ" -#: C/organize-remove.page:30(p) +#. (itstool) path: item/p +#: C/organize-remove.page:30 msgid "Restore the selected photos into Shotwell." msgstr "Återställ de markerade bilderna till Shotwell." -#: C/organize-remove.page:31(title) +#. (itstool) path: item/title +#: C/organize-remove.page:31 msgid "Empty trash" msgstr "Töm papperskorgen" -#: C/organize-remove.page:31(p) +#. (itstool) path: item/p +#: C/organize-remove.page:31 msgid "Delete all photos from the trash folder." msgstr "Radera alla bilder från papperskorgen." -#: C/organize-remove.page:36(title) +#. (itstool) path: section/title +#: C/organize-remove.page:36 msgid "Deleting or emptying Trash" msgstr "Radera eller tömma papperskorgen" -#: C/organize-remove.page:37(p) +#. (itstool) path: section/p +#: C/organize-remove.page:37 msgid "" "When you delete files from the Trash folder or empty the Trash folder, you " "will be given the following choices:" @@ -1527,11 +1596,13 @@ msgstr "" "När du raderar filer från papperskorgen, eller tömmer den, kommer du att ges " "följande val:" -#: C/organize-remove.page:39(title) +#. (itstool) path: item/title +#: C/organize-remove.page:39 msgid "Only Remove" msgstr "Endast ta bort" -#: C/organize-remove.page:39(p) +#. (itstool) path: item/p +#: C/organize-remove.page:39 msgid "" "Remove photos from the library but leave the photos in their location on the " "computer." @@ -1539,1288 +1610,1647 @@ msgstr "" "Tar bort bilder från biblioteket men lämnar kvar bilderna på deras plats i " "datorn." -#: C/organize-remove.page:40(title) +#. (itstool) path: item/title +#: C/organize-remove.page:40 msgid "Trash file" msgstr "Radera fil" -#: C/organize-remove.page:40(p) +#. (itstool) path: item/p +#: C/organize-remove.page:40 msgid "Remove photos from the library and delete them from the computer." msgstr "Tar bort bilder från biblioteket och raderar dem från datorn." -#: C/organize-remove.page:41(title) +#. (itstool) path: item/title +#: C/organize-remove.page:41 msgid "Cancel" msgstr "Avbryt" -#: C/organize-remove.page:41(p) +#. (itstool) path: item/p +#: C/organize-remove.page:41 msgid "Do nothing." msgstr "Gör inget." -#: C/organize-rating.page:7(desc) -msgid "" -"Give photos a rating between 1 and 5 stars. You can reject bad photos, " -"hiding them from view." -msgstr "" -"Ge bilderna ett betyg mellan en och fem stjärnor. Du kan avvisa dåliga " -"bilder och dölja dem från visning." +#. (itstool) path: info/desc +#: C/organize-search.page:7 +msgid "Find photos and videos in your collection by a variety of criteria." +msgstr "Hitta bilder och filmer i din samling med blandade kriterier." -#: C/organize-rating.page:12(title) -msgid "Ratings" -msgstr "Betyg" +#. (itstool) path: page/title +#: C/organize-search.page:12 +msgid "Searching" +msgstr "Söka" -#: C/organize-rating.page:13(p) +#. (itstool) path: page/p +#: C/organize-search.page:14 msgid "" -"You can assign each photo a rating from 1-5 stars, or may alternatively rate " -"it as Rejected, in which case Shotwell will hide the photo by default." +"There are two ways to search in Shotwell: the filter toolbar, and with a " +"saved search. The search bar allows you to quickly search the current view " +"for certain criteria. Saved Searches feature more complex search criteria " +"and persist in the sidebar between sessions." msgstr "" -"Du kan ger varje bild ett betyg från 1-5 stjärnor, eller sätta den som " -"avvisad, vilket medför att Shotwell som standard kommer att dölja bilden." +"Det finns två sätt att söka på i Shotwell: filterverktygsfältet och med en " +"sparad sökning. Sökfältet låter dig snabbt söka aktuell vy efter specifika " +"kriterier. Sparade sökningar erbjuder komplexare sökningskriterier och " +"lagring i sidopanelen mellan sessioner." -#: C/organize-rating.page:15(p) -msgid "You can rate a photo or a set of photos in any of these ways:" -msgstr "Du kan betygsätta en bild eller en samling bilder på dessa sätt:" +#. (itstool) path: section/title +#: C/organize-search.page:21 +msgid "Search bar" +msgstr "Sökfältet" -#: C/organize-rating.page:18(p) +#. (itstool) path: section/p +#: C/organize-search.page:22 msgid "" -"Select the photo(s), then choose a rating from the top-level " -"<guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu." +"The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles " +"the display of the search bar. You can also hit <keyseq><key>Ctrl</" +"key><key>F</key></keyseq> or <key>F8</key> to bring up the search bar. From " +"this bar, you can find, show and hide photos and videos based on title, tag, " +"rating or other options." msgstr "" -"Markera bilden och välj sedan betygsätt från den översta menyn " -"<guiseq><gui>Bilder</gui><gui>Betygsätt</gui></guiseq>." +"Kryssrutan <guiseq><gui>Visa</gui><gui>Sökfält</gui></guiseq> visar eller " +"döljer sökfältet. Du kan också trycka <keyseq><key>Ctrl</key><key>F</key></" +"keyseq> eller <key>F8</key> för att lyfta fram sökfältet. Från detta fält " +"kan du hitta, visa och dölja bilder och filmer baserat på namn, tagg, betyg " +"eller andra alternativ." -#: C/organize-rating.page:19(p) +#. (itstool) path: section/p +#: C/organize-search.page:29 msgid "" -"Right-click on the photo(s), then choose a rating from the Set Rating " -"context menu." +"To begin searching, simply enter a search keyword in the text box, or click " +"on <gui>Flagged</gui>, <gui>Rating</gui> or <gui>Type</gui>. The text search " +"matches your keywords across tag names, photo or video titles and photos' " +"original filenames. The <gui>Flagged</gui>, <gui>Rating</gui> and <gui>Type</" +"gui> buttons allow you to filter your collection by whether photos are " +"flagged, their current number of stars, and whether the items shown are " +"images, videos, or raw camera files, respectively." msgstr "" -"Högerklicka på bilden/rna och välj sedan ett betyg från snabbmenyn Betygsätt." +"För att börja söka, ange ett söknyckelord i textfältet, eller klicka på " +"<gui>Flaggade</gui>, <gui>Betyg</gui> eller <gui>Typ</gui>. Textsökning " +"matchar dina nyckelord över taggnamn, bild eller videonamn och bilders " +"originalfilnamn. Knapparna <gui>Flaggade</gui>, <gui>Betyg</gui> och " +"<gui>Typ</gui> låter dig filtrera din samling med flaggade bilder, deras " +"aktuella nummer av stjärnor och huruvida objekten är bilder, filmer eller " +"råa kamerafiler." -#: C/organize-rating.page:20(p) +#. (itstool) path: section/p +#: C/organize-search.page:38 msgid "" -"Select the photo(s), then press any of the shortcut keys <key>1</key>, " -"<key>2</key>, <key>3</key>, <key>4</key> or <key>5</key> to assign a rating. " -"Or press <key>9</key> to mark the photo(s) as rejected or <key>0</key> to " -"clear the rating(s)." +"Disabling the search bar or exiting Shotwell automatically resets the search " +"bar." msgstr "" -"Markera bilden/erna och tryck sedan på någon av snabbtangenterna <key>1</" -"key>, <key>2</key>, <key>3</key>, <key>4</key> eller <key>5</key> för att " -"tilldela ett betyg. Eller, tryck <key>9</key> för att markera bilden/erna " -"som avvisade eller<key>0</key> för att rensa betyg." +"Att inaktivera sökfältet eller avsluta Shotwell automatiskt återställer " +"sökfältet." + +#. (itstool) path: section/title +#: C/organize-search.page:44 +msgid "Saved search" +msgstr "Sparad sökning" -#: C/organize-rating.page:23(p) +#. (itstool) path: section/p +#: C/organize-search.page:45 msgid "" -"Normally Shotwell displays all photos except rejected photos. You can set a " -"different rating filter using the <guiseq><gui>View</gui><gui>Filter Photos</" -"gui></guiseq> menu - for example, you can display only photos rated with 3 " -"stars or higher, or you can display all photos including those marked " -"rejected. The Shotwell icon on the toolbar displays the current rating " -"filter and can also be used to set the filter." +"A saved search persists across Shotwell sessions, and is updated as photos " +"and videos are added and removed from your Shotwell library." msgstr "" -"Vanligtvis visar Shotwell alla bilder förutom avvisade bilder. Du kan ange " -"ett annat betygsfilter genom att använda <guiseq><gui>Visa</" -"gui><gui>Filtrera bilder</gui></guiseq>-menyn - till exempel kan du visa " -"bilder betygsatta med tre stjärnor eller högre, eller du kan visa alla " -"bilder inklusive de som markerats avvisade. Shotwell-ikonen på " -"verktygsfältet visar aktuellt betygsfilter och kan också användas för att " -"aktivera filtret." +"En sparad sökning lagras över Shotwell-sessioner och uppdateras då bilder " +"och filmer läggs till och tas bort från ditt Shotwell-bibliotek." -#: C/organize-rating.page:26(p) +#. (itstool) path: section/p +#: C/organize-search.page:50 msgid "" -"Shotwell normally displays each photo's rating in its lower left-hand " -"corner. You can turn off the display of ratings using the <guiseq><gui>View</" -"gui><gui>Ratings</gui></guiseq> menu item." +"Create a new saved search with <guiseq><gui>Edit</gui><gui>New Saved " +"Search...</gui></guiseq> or by hitting <keyseq><key>Ctrl</key><key>S</key></" +"keyseq>. The dialog box allows you to enter a name for the search and select " +"whether you want to meet Any, All, or None of the criteria in the following " +"rows." msgstr "" -"Shotwell visar som standard varje bilds betyg i nedre vänstra hörnet, Du kan " -"stänga av visningen av betyg genom att nyttja <guiseq><gui>Visa</" -"gui><gui>Betyg</gui></guiseq>-menyobjektet." +"Skapa en ny sparad sökning med <guiseq><gui>Redigera</gui><gui>Ny sökning…</" +"gui></guiseq> eller genom att trycka <keyseq><key>Ctrl</key><key>S</key></" +"keyseq>. Dialogrutan låter dig ange ett namn för sökningen och välja " +"huruvida du vill uppfylla några, alla eller inga av kriterierna i följande " +"rader." -#: C/organize-rating.page:28(p) +#. (itstool) path: section/p +#: C/organize-search.page:56 msgid "" -"You can increase or decrease a photo's rating using the <guiseq><gui>Set " -"Rating</gui><gui>Increase</gui></guiseq> and <guiseq><gui>Set Rating</" -"gui><gui>Decrease</gui></guiseq> commands, or the keyboard shortcuts " -"<key><</key> and <key>></key>." +"Each row represents a search criterion. Use the <gui>+</gui> button to add " +"more rows, and the <gui>-</gui> button to remove a specific row. The combo " +"box on the left of each row selects the type of criteria. Criteria must be " +"entered correctly before the <gui>OK</gui> button becomes available." msgstr "" -"Du kan öka eller minska en bilds betyg genom att använda " -"<guiseq><gui>Betygsätt</gui><gui>Höj</gui></guiseq> och " -"<guiseq><gui>Betygsätt</gui><gui>Sänk</gui></guiseq>-kommandona, eller " -"tangentbordsgenvägarna <key><</key> och <key>></key>." +"Varje rad representerar ett sökkriterium. Använd <gui>+</gui>-knappen för " +"att lägga till flera rader och <gui>-</gui>knappen för att ta bort en " +"specifik rad. Komborutan till vänster för varje rad väljer kriterietyp. " +"Kriterier måste anges korrekt innan <gui>OK</gui>-knappen blir tillgänglig." -#: C/organize-flag.page:7(desc) -msgid "Flag photos to mark them as special or to work with them as a set." -msgstr "" -"Flagga bilder för att markera dem som speciella eller för att arbeta med dem " -"som en samling." +#. (itstool) path: info/desc +#: C/organize-tag.page:7 +msgid "Organize photos by labelling them." +msgstr "Organisera bilder genom att sätta taggar på dem." -#: C/organize-flag.page:12(title) -msgid "Flagging photos" -msgstr "Flagga bilder" +#. (itstool) path: page/title +#: C/organize-tag.page:14 +msgid "Tagging photos" +msgstr "Tagga bilder" -#: C/organize-flag.page:14(p) +#. (itstool) path: page/p +#: C/organize-tag.page:16 msgid "" -"Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small " -"flag icon appears in its upper right corner. You can select the " -"<gui>Flagged</gui> item in the sidebar to see all photos which have been " -"flagged." +"You can assign one or more tags to selected photos. A tag can be one or more " +"words that you want to associate with those photos." msgstr "" -"Shotwell låter dig <em>flagga</em> bilder. När en bild flaggats kommer en " -"liten flaggikon visas i dess övre högra hörn. Du kan markera <gui>Flaggade</" -"gui> i sidopanelen för att se alla bilder som har flaggats." +"Du kan tilldela en eller fler taggar för att markera bilder. En tagg kan " +"vara en eller flera ord som du vill associera med dessa bilder." -#: C/organize-flag.page:18(p) +#. (itstool) path: page/p +#: C/organize-tag.page:22 msgid "" -"Flagging a photo marks it as special. You can interpret this in any way you " -"like. For example, you might flag all photos which need visual adjustment, " -"or all photos which you want to share with a friend." +"To add new tags to photos, select the photos you would like to tag, then do " +"any of the following:" msgstr "" -"Att flagga en bild markerar den som speciell. Du kan tolka det som du vill. " -"Till exempel kan du flagga alla bilder som kräver visuell justering, eller " -"alla bilder som du vill dela med en vän." +"För att lägga till taggar till bilder, markera bilderna du skulle vilja " +"lägga tagga, och gör sedan följande:" -#: C/organize-flag.page:22(p) -msgid "" -"Flagging is also useful because you can operate on all flagged photos as a " -"set. For example, you can select the <gui>Flagged</gui> view and then upload " -"all flagged photos to a publishing service." +#. (itstool) path: item/p +#: C/organize-tag.page:28 +msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>." msgstr "" -"Att flagga är användbart eftersom du kan jobba med alla flaggade bilder som " -"en samling. Till exempel kan du markera vyn <gui>Flaggade</gui> och sedan " -"skicka upp alla flaggade bilder till en publiceringstjänst." +"Markera <guiseq><gui>Taggar</gui><gui>Lägg till taggar…</gui></guiseq>." -#: C/organize-flag.page:27(title) -msgid "To flag or unflag a photo" -msgstr "Att flagga eller flagga av en bild" +#. (itstool) path: item/p +#: C/organize-tag.page:29 +msgid "Type <keyseq><key>Ctrl</key><key>T</key></keyseq>." +msgstr "Skriv in <keyseq><key>Ctrl</key><key>T</key></keyseq>." -#: C/organize-flag.page:28(p) -msgid "" -"To flag or unflag a photo, right-click the photo and choose <gui>Flag</gui> " -"or <gui>Unflag</gui> from the context menu. Or use the <keyseq><key>Ctrl</" -"key><key>G</key></keyseq> or <key>/</key> shortcut keys." -msgstr "" -"För att flagga eller flagga av en bild, högerklicka på bilden och välj " -"<gui>Flagga</gui> eller <gui>Flagga av</gui> från snabbmenyn. Eller, använd " -"snabbtangenterna <keyseq><key>Ctrl</key><key>G</key></keyseq> eller <key>/</" -"key>." +#. (itstool) path: item/p +#: C/organize-tag.page:30 +msgid "Drag the selected photos and drop them on the desired tag." +msgstr "Dra de markerade bilderna och släpp dem på den önskade taggen." -#: C/organize-event.page:7(desc) +#. (itstool) path: page/p +#: C/organize-tag.page:33 msgid "" -"Group photos together that were taken at the same time. Learn how to rename, " -"merge, and sort events." +"When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or " +"<guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq> you can type in the " +"names of one or more tags, separated by commas. Once you have created a tag, " +"you can rename it by selecting that tag in the sidebar and choosing " +"<guiseq><gui>Tags</gui><gui>Rename Tag \"[name]\"...</gui></guiseq>, by " +"rightclicking on it and choose <gui>Rename...</gui> or double-click on the " +"tag in the sidebar." msgstr "" -"Gruppera bilder som tagits samtidigt. Lär dig att byta namn, sammanfoga och " -"sortera händelser." - -#: C/organize-event.page:12(title) -msgid "Events" -msgstr "Händelser" +"När du använder <keyseq><key>Ctrl</key><key>T</key></keyseq> eller " +"<guiseq><gui>Taggar</gui><gui>Lägg till taggar…</gui></guiseq> kan du skriva " +"in namnen på en eller flera taggar separerade med komman. När du väl har " +"skapat en tagg kan du byta namn på den genom att markera taggen i " +"sidopanelen och välja <guiseq><gui>Taggar</gui><gui>Byt namn på taggen " +"\"[namn]\"…</gui></guiseq> genom att högerklicka på den och markera <gui>Byt " +"namn…</gui> eller dubbelklicka på taggen i sidopanelen." -#: C/organize-event.page:14(p) +#. (itstool) path: page/p +#: C/organize-tag.page:44 msgid "" -"An event is a group of photos that were taken at approximately the same " -"time. When you import photos, Shotwell checks when each photo was taken. It " -"then groups the photos into events." -msgstr "" -"En händelse är en grupp bilder som tagits ungefär samtidigt. När du " -"importerar bilder kontrollerar Shotwell när varje bild tagits. Det grupperar " -"sedan bilderna i händelser." +"To change which tags are associated with a particular photo, select that " +"photo, choose <guiseq><gui>Tags</gui><gui>Modify Tags...</gui></guiseq> or " +"right-click on a photo and select <gui>Modify Tags...</gui> and edit the " +"comma separated list. To remove a tag from one or more photos, first select " +"that tag in the sidebar, then select the photos you would like to remove, " +"and choose <guiseq><gui>Tags</gui><gui>Remove Tag \"[name]\" from Photos</" +"gui></guiseq> or right-click on the photos an select <gui>Remove Tag " +"\"[name]\" from Photos</gui>." +msgstr "" +"För att ändra taggar associerade med en speciell bild, markera bilden, välj " +"<guiseq><gui>Taggar</gui><gui>Ändra taggar…</gui></guiseq> eller högerklicka " +"på en bild och markera <gui>Ändra taggar…</gui> och redigera den " +"kommaseparerade listan. För att ta bort en tagg från en eller flera bilder, " +"välj först taggen i sidopanelen och markera sedan de bilder du vill ta bort, " +"samt välj <guiseq><gui>Taggar</gui><gui>Ta bort taggen \"[namn]\" från " +"bilderna</gui></guiseq> eller högerklicka på bilderna och välj <gui>Ta bort " +"taggen \"[namn]\" från bilderna</gui>." -#: C/organize-event.page:16(p) +#. (itstool) path: page/p +#: C/organize-tag.page:58 msgid "" -"Choose <gui>Events</gui> from the sidebar to see your photos organized by " -"date. If you select a month or year from the sidebar, a list of events will " -"be displayed in the main window. Double-click an event to see all the photos " -"that were taken around that time." +"To delete a tag entirely, select that tag in the sidebar and choose " +"<guiseq><gui>Tags</gui><gui>Delete Tag \"[name]\"</gui></guiseq> or by right-" +"click and select <gui>Delete Tag \"[name]\"</gui>." msgstr "" -"Välj <gui>Händelser</gui> från sidopanelen för att se dina bilder ordnade " -"efter datum. Om du väljer en månad eller ett år från sidopanelen visas en " -"lista över händelser i huvudfönstret. Dubbelklicka på en händelse för att se " -"alla bilder som togs vid den tiden." +"För att fullständigt ta bort en tagg, markera taggen i sidopanelen och välj " +"<guiseq><gui>Taggar</gui><gui>Ta bort tagg \"[namn]\"</gui></guiseq> eller " +"högerklicka och välj <gui>Ta bort tagg \"[namn]\"</gui>." -#: C/organize-event.page:18(p) +#. (itstool) path: page/p +#: C/organize-tag.page:64 msgid "" -"If a photo has no embedded date/time information, then Shotwell can't " -"automatically place it in any event. In this case the photo will appear in " -"the <gui>No Event</gui> view accessible from the sidebar. You can still move " -"the photo to any event you like as described below." +"When you create a tag, it will appear in the sidebar under the <gui>Tags</" +"gui> item, which is hidden if there are no tags. Photos can have multiple " +"tags attached to them, and when you click on the name of a given tag in the " +"sidebar, you will see all the photos associated with that tag." msgstr "" -"Om en bild inte har inbäddad datum/tid-information kan inte Shotwell " -"automatiskt placera dem i någon händelse. I detta fall kommer bilden att " -"visas i vyn <gui>Ingen händelse</gui> tillgänglig från sidopanelen. Du kan " -"fortfarande flytta bilden till vilken händelse du vill, som beskrivs nedan." +"När du skapar en tagg kommer den att visas i sidopanelen under objektet " +"<gui>Taggar</gui>, vilket döljs om det inte finns några taggar. Bilder kan " +"ha flera taggar associerade med dem, och när du klickar på namnet för en " +"given tagg i sidopanelen kommer du att se alla bilder associerade med denna " +"tagg." -#: C/organize-event.page:25(title) -msgid "Renaming events" -msgstr "Byta namn på händelser" +#. (itstool) path: section/title +#: C/organize-tag.page:73 +msgid "Hierarchical Tags" +msgstr "Hierarkiska taggar" -#: C/organize-event.page:27(p) +#. (itstool) path: section/p +#: C/organize-tag.page:74 msgid "" -"To give an event a name rather than referring to it by its date, select the " -"event, click <guiseq><gui>Edit</gui><gui>Rename Event</gui></guiseq> and " -"enter a new name. Another way of renaming an event is to double-click its " -"name in the sidebar; type a new name and then press <key>Enter</key>." +"Shotwell supports also hierarchial tags. You can rearrange your tags by drag " +"and drop a tag onto another. To create a new subtag right-click on a tag and " +"select <gui>New</gui>." msgstr "" -"För att ge en händelse ett namn istället för att hänvisa till den med datum, " -"markera händelsen, klicka <guiseq><gui>Redigera</gui><gui>Byt namn på " -"händelse</gui></guiseq> och ange ett nytt namn. Ett annat sätt att byta namn " -"på en händelse är att dubbelklicka på dess namn i sidopanelen, skriva ett " -"nytt namn och sedan trycka <key>Retur</key>." - -#: C/organize-event.page:31(title) -msgid "Moving photos between events" -msgstr "Flytta bilder mellan händelser" +"Shotwell stödjer också hierarkiska taggar. Du kan flytta om dina taggar " +"genom att dra och släppa en tagg på en annan. För att skapa en ny undertagg, " +"högerklicka på en tagg och markera <gui>Ny</gui>." -#: C/organize-event.page:33(p) +#. (itstool) path: section/p +#: C/organize-tag.page:81 msgid "" -"Even though photos are initially grouped into events by their date, you can " -"move photos between events. To do this, drag any photo to the sidebar and " -"drop it on an event." +"Hierarchial tags can help you to sort your tag list in ways that better " +"match how you work or think; for example, you can store location tags like " +"\"Mountains\" or \"Beach\" under a parent tag \"Places\", which itself can " +"be placed under the tag \"Summer Holidays\"." msgstr "" -"Även om bilder inledningsvis grupperas i händelser efter datum kan du flytta " -"bilder mellan händelser. För att göra detta, dra en bild till sidopanelen " -"och släpp den på en händelse." +"Hierarkiska taggar kan hjälpa dig att sortera din tagglista på sätt som " +"bättre matchar hur du tänker eller jobbar - exempelvis kan du lagra " +"platstaggar som ”Berg” eller ”Strand” under en överordnad tagg ”Platser”, " +"vilken i sig själv kan placeras under taggen ”Sommarsemester”." -#: C/organize-event.page:37(title) -msgid "Creating and merging events" -msgstr "Skapa och sammanfoga händelser" +#. (itstool) path: section/p +#: C/organize-tag.page:89 +msgid "Note that deleting a parent tag will also delete its child tags." +msgstr "" +"Observera att ta bort en överordnad tagg också kommer att bort underordnade " +"taggar." + +#. (itstool) path: info/desc +#: C/organize-title.page:7 +msgid "Give titles to your photos." +msgstr "Namnge dina bilder." + +#. (itstool) path: page/title +#: C/organize-title.page:12 +msgid "Titles" +msgstr "Namn" -#: C/organize-event.page:38(p) +#. (itstool) path: page/p +#: C/organize-title.page:14 msgid "" -"To create a new event, select the photos you would like in the new event and " -"click <guiseq><gui>Events</gui><gui>New Event</gui></guiseq>." +"The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the " +"display of titles beneath each photo. By default, a photo's title is its " +"filename." msgstr "" -"För att skapa nya händelser, markera de bilder du skulle vilja ha i en ny " -"händelse och klicka <guiseq><gui>Händelser</gui><gui>Ny händelse</gui></" -"guiseq>." +"Kryssrutan <guiseq><gui>Visa</gui><gui>Titlar</gui></guiseq> aktiverar " +"visningen av titlar under varje bild. Som standard är en bilds namn dess " +"filnamn." -#: C/organize-event.page:39(p) +#. (itstool) path: page/p +#: C/organize-title.page:17 msgid "" -"To merge events, select <guiseq><gui>Events</gui></guiseq> from the sidebar, " -"then, while holding down <key>Ctrl</key> click on the events you want to " -"merge in the main window area. Finally, click <guiseq><gui>Events</" -"gui><gui>Merge Events</gui></guiseq>." +"To change a photo's title, select the photo and click <guiseq><gui>Photos</" +"gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>." msgstr "" -"För att sammanfoga händelser, välj <guiseq><gui>Händelser</gui></guiseq> " -"från sidopanelen och sedan, medan du håller ner <key>Ctrl</key>, klicka på " -"händelserna du vill sammanfoga i huvudfönstret. Slutligen, klicka på " -"<guiseq><gui>Händelser</gui><gui>Sammanfoga händelser</gui></guiseq>." +"För att ändra en bilds titel, markera bilden och klicka <guiseq><gui>Bilder</" +"gui><gui>Redigera titel…</gui></guiseq> eller tryck <key>F2</key>." -#: C/organize-event.page:43(title) -msgid "Sorting events" -msgstr "Sortera händelser" +#. (itstool) path: info/desc +#: C/other-files.page:7 +msgid "Keep the Shotwell library in sync with photo files on disk." +msgstr "Håll Shotwell-biblioteket i synk med bildfiler på disk." -#: C/organize-event.page:45(p) +#. (itstool) path: page/title +#: C/other-files.page:12 +msgid "Photo files" +msgstr "Bildfiler" + +#. (itstool) path: page/p +#: C/other-files.page:14 msgid "" -"Events are displayed in a tree in the sidebar, organized by the year and " -"month of the earliest photo in the event. To change the event sort order, " -"click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select " -"either ascending or descending." +"Every photo in the Shotwell library corresponds to a file stored on your " +"hard disk. Shotwell has several features which help you keep the Shotwell " +"library and files on disk in sync." msgstr "" -"Händelser visas i ett träd i sidopanelen, ordnade efter år och månad efter " -"de tidigaste bilderna i en händelse. För att ändra sorteringsordning, klicka " -"<guiseq><gui>Visa</gui><gui>Sortera händelser</gui></guiseq> och välj " -"antingen stigande eller fallande." +"Varje bild i Shotwell-biblioteket motsvaras av en fil lagrad på din " +"hårddisk. Shotwell har flera olika funktioner som hjälper dig att hålla " +"Shotwell-biblioteket och filerna på disk i synk." -#: C/organize-event.page:51(title) -msgid "Change the photo used to represent each event" -msgstr "Ändra bilden som representerar varje händelse." +#. (itstool) path: section/title +#: C/other-files.page:21 +msgid "Using a custom directory pattern" +msgstr "Använda ett anpassat katalogmönster" -#: C/organize-event.page:53(p) +#. (itstool) path: section/p +#: C/other-files.page:22 msgid "" -"If you select the Events item in the sidebar, you'll see a single photo " -"which represents each event. This is called the key photo." +"Shotwell allows you to specify how it names directories in your library. You " +"can do this by changing the <gui>Directory Structure</gui> and <gui>Pattern</" +"gui> settings in the <gui>Preferences</gui> dialog. You may use a " +"preselected pattern, or choose <gui>Custom</gui> and type in your own." msgstr "" -"Om du väljer Händelser i sidopanelen kommer du att se en ensam bild som " -"representerar var händelse. Det kallas nyckelbilden." +"Shotwell låter dig ange hur det namnger kataloger i ditt bibliotek. Du kan " +"göra detta genom att ändra inställningarna <gui>Katalogstruktur</gui> och " +"<gui>Mönster</gui> i dialogen <gui>Inställningar</gui>. Du kan använda ett " +"förvalt mönster, eller välja <gui>Anpassa</gui> och skriva in ditt eget." -#: C/organize-event.page:55(p) +#. (itstool) path: section/p +#: C/other-files.page:29 msgid "" -"By default, Shotwell uses the first photo in each event as its key photo. To " -"use a different key photo, select the photo and choose <guiseq><gui>Photos</" -"gui><gui>Make Key Photo for Event</gui></guiseq>." +"The available symbols for the directory pattern begin with a % (percent " +"sign). The values these symbols produce are locale-dependent, so what you " +"see on your computer may vary from the examples below." msgstr "" -"Som standard använder Shotwell den första bilden i varje händelse som dess " -"nyckelbild. För att använda en annan nyckelbild, markera bilden och välj " -"<guiseq><gui>Bilder</gui><gui>Skapa nyckelbild för händelse</gui></guiseq>." +"De tillgängliga symbolerna för katalogmönstren börjar med ett % " +"(procenttecken). Värdena dessa symboler producerar är lokal-beroende, så vad " +"du ser på din dator kan variera jämfört med följande exempel." -#. When image changes, this message will be marked fuzzy or untranslated for you. -#. It doesn't matter what you translate it to: it's not used at all. -#: C/index.page:23(None) -msgid "" -"@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd" -msgstr "" -"@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd" +#. (itstool) path: td/p +#: C/other-files.page:38 +msgid "<em>Symbol</em>" +msgstr "<em>Symbol</em>" -#: C/index.page:6(title) C/index.page:7(title) -msgid "Shotwell" -msgstr "Shotwell" +#. (itstool) path: td/p +#: C/other-files.page:38 +msgid "<em>Meaning</em>" +msgstr "<em>Betydelse</em>" -#: C/index.page:9(name) -msgid "Jim Nelson" -msgstr "Jim Nelson" +#. (itstool) path: td/p +#: C/other-files.page:38 +msgid "<em>Example</em>" +msgstr "<em>Exempel</em>" -#: C/index.page:10(email) -msgid "jim@yorba.org" -msgstr "jim@yorba.org" +#. (itstool) path: td/p +#: C/other-files.page:43 +msgid "%Y" +msgstr "%Y" -#: C/index.page:11(name) -msgid "Allison Barlow" -msgstr "Allison Barlow" +#. (itstool) path: td/p +#: C/other-files.page:43 +msgid "Year: full" +msgstr "År: hela" -#: C/index.page:12(email) -msgid "allison@yorba.org" -msgstr "allison@yorba.org" +#. (itstool) path: td/p +#: C/other-files.page:43 +msgid "2011" +msgstr "2015" -#: C/index.page:13(name) -msgid "Robert Ancell" -msgstr "Robert Ancell" +#. (itstool) path: td/p +#: C/other-files.page:46 +msgid "%y" +msgstr "%y" -#: C/index.page:14(email) -msgid "robert.ancell@canonical.com" -msgstr "robert.ancell@canonical.com" +#. (itstool) path: td/p +#: C/other-files.page:46 +msgid "Year: two digit" +msgstr "År: tvåsiffrigt" -#: C/index.page:15(name) -msgid "Peter Smith" -msgstr "Peter Smith" +#. (itstool) path: td/p +#: C/other-files.page:46 +msgid "11" +msgstr "15" -#: C/index.page:16(email) -msgid "pdo.smith@gmail.com" -msgstr "pdo.smith@gmail.com" +#. (itstool) path: td/p +#: C/other-files.page:49 +msgid "%d" +msgstr "%d" -#: C/index.page:17(name) -msgid "Phil Bull" -msgstr "Phil Bull" +#. (itstool) path: td/p +#: C/other-files.page:49 +msgid "Day of the month with leading zero" +msgstr "Månadsdag med inledande nolla" -#: C/index.page:18(email) -msgid "philbull@gmail.com" -msgstr "philbull@gmail.com" +#. (itstool) path: td/p +#: C/other-files.page:49 +msgid "03" +msgstr "03" -#: C/index.page:23(title) -msgid "" -"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell Photo " -"Manager" -msgstr "" -"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell " -"bildhanterare" +#. (itstool) path: td/p +#: C/other-files.page:52 +msgid "%A" +msgstr "%A" -#: C/index.page:26(title) -msgid "Importing Photos" -msgstr "Importera bilder" +#. (itstool) path: td/p +#: C/other-files.page:52 +msgid "Day name: full" +msgstr "Veckodag: hela" -#: C/index.page:30(title) -msgid "Viewing Photos" -msgstr "Visa bilder" +#. (itstool) path: td/p +#: C/other-files.page:52 +msgid "Wednesday" +msgstr "Onsdag" -#: C/index.page:34(title) -msgid "Organizing Photos" -msgstr "Ordna bilder" +#. (itstool) path: td/p +#: C/other-files.page:55 +msgid "%a" +msgstr "%a" -#: C/index.page:38(title) -msgid "Editing Photos" -msgstr "Redigera bilder" +#. (itstool) path: td/p +#: C/other-files.page:55 +msgid "Day name: abbreviated" +msgstr "Veckodag: förkortad" -#: C/index.page:42(title) -msgid "Sharing Photos" -msgstr "Dela bilder" +#. (itstool) path: td/p +#: C/other-files.page:55 +msgid "Wed" +msgstr "Ons" -#: C/index.page:46(title) -msgid "Other Features" -msgstr "Andra egenskaper" +#. (itstool) path: td/p +#: C/other-files.page:58 +msgid "%m" +msgstr "%m" -#: C/import-memorycard.page:7(desc) -msgid "Import photos from a digital camera's memory card." -msgstr "Importera bilder från en digitalkameras minneskort." +#. (itstool) path: td/p +#: C/other-files.page:58 +msgid "Month number with leading zero" +msgstr "Månadsnummer med inledande nolla" -#: C/import-memorycard.page:12(title) -msgid "Importing from a memory card" -msgstr "Importera från ett minneskort" +#. (itstool) path: td/p +#: C/other-files.page:58 +msgid "02" +msgstr "02" -#: C/import-memorycard.page:14(p) -msgid "To import photos from a camera memory card:" -msgstr "För att importera bilder från en kameras minneskort:" +#. (itstool) path: td/p +#: C/other-files.page:60 +msgid "%b" +msgstr "%b" -#: C/import-memorycard.page:18(p) -msgid "" -"Put the card into your card reader. Make sure the card reader is plugged in " -"to the computer and switched on." -msgstr "" -"Stoppa i kortet i din kortläsare. Försäkra dig om att kortläsaren är " -"ansluten till datorn och påslagen." +#. (itstool) path: td/p +#: C/other-files.page:60 +msgid "Month name: abbreviated" +msgstr "Månadsnummer: förkortat" -#: C/import-memorycard.page:21(p) -msgid "The card reader and card should be detected automatically." -msgstr "Kortläsaren och kortet bör upptäckas automatiskt." +#. (itstool) path: td/p +#: C/other-files.page:60 +msgid "Feb" +msgstr "Feb" -#: C/import-memorycard.page:24(p) -msgid "" -"Follow the instructions for <link xref=\"import-file\">importing photos from " -"your hard disk</link>. If you click <guiseq><gui>File</gui><gui>Import From " -"Folder</gui></guiseq>, the memory card should be visible as a folder in the " -"side bar of the file selection window." -msgstr "" -"Följ instruktionerna för att <link xref=\"import-file\"> importera bilder " -"från din hårddisk</link>. Om du klickar <guiseq><gui>Arkiv</" -"gui><gui>Importera från mapp</gui></guiseq> bör minneskortet synas som en " -"mapp i sidopanelen för filväljarfönstret." +#. (itstool) path: td/p +#: C/other-files.page:62 +msgid "%B" +msgstr "%B" -#: C/import-memorycard.page:28(p) -msgid "" -"Shotwell can import photos from any memory card that is compatible with your " -"card reader." -msgstr "" -"Shotwell kan importera bilder från minneskort som är kompatibla med din " -"kortläsare." +#. (itstool) path: td/p +#: C/other-files.page:62 +msgid "Month name: full" +msgstr "Månadsnummer: helt" -#: C/import-memorycard.page:30(p) -msgid "" -"If the card is not detected automatically, your card reader may not have " -"been recognized. Try unplugging it and then plugging it in again. If that " -"doesn't work, you should still be able to import photos by <link xref=" -"\"import-camera\">connecting your camera directly to the computer</link>, " -"though." -msgstr "" -"Om kortet inte upptäcks automatiskt kanske din kortläsare inte kände igen " -"det. Prova att koppla från det och sedan ansluta det igen. Om det inte " -"fungerar bör du ändå kunna importera bilder genom att ansluta <link xref=" -"\"import-camera\"> din kamera direkt till datorn </link>." +#. (itstool) path: td/p +#: C/other-files.page:62 +msgid "February" +msgstr "Februari" -#: C/import-f-spot.page:7(desc) -msgid "" -"Shotwell can import all your photos and tags from the F-Spot photo manager." -msgstr "" -"Shotwell kan importera alla dina bilder och taggar från bildhanteraren F-" -"Spot." +#. (itstool) path: td/p +#: C/other-files.page:63 +msgid "%I" +msgstr "%I" -#: C/import-f-spot.page:12(title) -msgid "Importing from F-Spot" -msgstr "Importera från F-Spot" +#. (itstool) path: td/p +#: C/other-files.page:63 +msgid "Hour: 12 hour format" +msgstr "Timme: 12-timmarsformat" -#: C/import-f-spot.page:14(p) -msgid "To import an existing photo collection from F-Spot:" -msgstr "För att importera en befintlig bildsamling från F-Spot:" +#. (itstool) path: td/p +#: C/other-files.page:63 +msgid "05" +msgstr "05" -#: C/import-f-spot.page:16(p) -msgid "Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>." -msgstr "" -"Välj <guiseq><gui>Arkiv</gui><gui>Importera från F-Spot</gui></guiseq>." +#. (itstool) path: td/p +#: C/other-files.page:64 +msgid "%H" +msgstr "%H" -#: C/import-f-spot.page:17(p) -msgid "" -"Now choose either the default F-Spot library or another F-Spot database. If " -"importing from another F-Spot database, select a directory and file from the " -"chooser dialog box." -msgstr "" -"Välj nu antingen F-Spot-biblioteket eller en annan F-Spot-databas. Om " -"importen sker från en annan F-Spot-databas, välj katalog och fil från " -"valdialogrutan." +#. (itstool) path: td/p +#: C/other-files.page:64 +msgid "Hour: 24 hour format" +msgstr "Timme: 24-timmarsformat" -#: C/import-f-spot.page:20(p) +#. (itstool) path: td/p +#: C/other-files.page:64 +msgid "17" +msgstr "17" + +#. (itstool) path: td/p +#: C/other-files.page:66 +msgid "%M" +msgstr "%M" + +#. (itstool) path: td/p +#: C/other-files.page:66 +msgid "Minute" +msgstr "Minut" + +#. (itstool) path: td/p +#: C/other-files.page:66 +msgid "16" +msgstr "16" + +#. (itstool) path: td/p +#: C/other-files.page:67 +msgid "%S" +msgstr "%S" + +#. (itstool) path: td/p +#: C/other-files.page:67 +msgid "Second" +msgstr "Sekund" + +#. (itstool) path: td/p +#: C/other-files.page:67 +msgid "30" +msgstr "30" + +#. (itstool) path: td/p +#: C/other-files.page:68 +msgid "%p" +msgstr "%p" + +#. (itstool) path: td/p +#: C/other-files.page:68 +msgid "AM or PM" +msgstr "AM eller PM" + +#. (itstool) path: td/p +#: C/other-files.page:68 +msgid "PM" +msgstr "PM" + +#. (itstool) path: section/p +#: C/other-files.page:72 msgid "" -"Shotwell will import your photos, together with their tags and other " -"information. Once the import is complete, you can select <gui>Last Import</" -"gui> in the sidebar to see all photos successfully imported. The Events list " -"will also show new entries for the dates corresponding to the imported " -"photos." +"There are other symbols available; please check the manual for strftime by " +"running the command <cmd>man strftime</cmd> if you need one that isn't " +"listed here." msgstr "" -"Shotwell kommer att importera dina bilder tillsammans med deras taggar och " -"annan information. När importen är klar kan du välja <gui>Senaste import</" -"gui> i sidopanelen för att se alla bilder som importerades. Händelselistan " -"kommer också att visa nya angivelser för datum som motsvarar de importerade " -"bilderna." +"Det finns andra symboler tillgängliga, se handboken för strftime genom att " +"köra kommandot <cmd>man strftime</cmd> om du behöver en som inte listas här." -#: C/import-file.page:7(desc) -msgid "Import photos that are already saved on your computer." -msgstr "Importera bilder som redan är sparade på din dator." +#. (itstool) path: section/title +#: C/other-files.page:79 +msgid "Automatically importing photos" +msgstr "Importera bilder automatiskt" -#: C/import-file.page:12(title) -msgid "Importing from your hard disk" -msgstr "Importera från din hårddisk" +#. (itstool) path: section/p +#: C/other-files.page:81 +msgid "" +"Shotwell can automatically import new photos which appear in the library " +"directory. (The library directory is usually the <file>Pictures</file> " +"directory in your home directory; you can change its location in in the " +"<gui>Preferences</gui> window.)" +msgstr "" +"Shotwell kan automatiskt importera nya bilder som kommer att visas i " +"bibliotekskatalogen. (Bibliotekskatalogen är vanligtvis katalogen " +"<file>Bilder</file> i din hemkatalog - du kan ändra dess plats i fönstret " +"<gui>Inställningar</gui>.)" -#: C/import-file.page:14(p) +#. (itstool) path: section/p +#: C/other-files.page:86 msgid "" -"To import photo files from your hard disk into Shotwell, just drag them from " -"your file browser into the Shotwell window." +"To enable auto-import, check the box <gui>Watch library directory for new " +"files</gui> in the <gui>Preferences</gui> window." msgstr "" -"För att importera bildfiler från din hårddisk till Shotwell, dra dem från " -"din filhanterare till Shotwell-fönstret." +"För att aktivera autoimport, kryssa i rutan <gui>Bevaka bibliotekskatalogen " +"efter nya filer</gui> i fönstret <gui>Inställningar</gui>." -#: C/import-file.page:16(p) +#. (itstool) path: note/p +#: C/other-files.page:90 msgid "" -"Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder</gui></" -"guiseq> and select the folder containing the photos you want to import." +"Shotwell can also follow symbolic links inside automatically-imported " +"directories." msgstr "" -"Alternativt, klicka <guiseq><gui>Arkiv</gui><gui>Importera från mapp</gui></" -"guiseq> och markera mappen som innehåller de bilder du vill importera." +"Shotwell kan också följa symboliska länkar inuti automatiskt importerade " +"kataloger." + +#. (itstool) path: section/title +#: C/other-files.page:95 +msgid "Automatically renaming imported photos to lowercase" +msgstr "Automatiskt döpa om importerade bilder till gemener." -#: C/import-file.page:18(p) +#. (itstool) path: section/p +#: C/other-files.page:97 msgid "" -"Shotwell will ask whether you want to copy the photo files to your library " -"folder (usually this is the <file>Pictures</file> folder in your home " -"directory) or to import them in place without copying the files." +"Shotwell can automatically change the filenames of imported photos to " +"lowercase. To enable this, choose <guiseq><gui>Edit</gui><gui>Preferences</" +"gui></guiseq>, and in the <gui>Preferences</gui> window, check the " +"<gui>Rename imported files to lowercase</gui> box." msgstr "" -"Shotwell kommer att fråga huruvida du vill kopiera bildfiler till din " -"biblioteksmapp (vanligtvis mappen <file>Bilder</file> i din hemkatalog) " -"eller importera dem direkt utan att kopiera filerna." +"Shotwell kan automatiskt ändra filnamnen för importerade bilder till " +"gemener. För att aktivera detta, välj <guiseq><gui>Redigera</" +"gui><gui>Inställningar</gui></guiseq> och i fönstret <gui>Inställningar</" +"gui>, kryssa i rutan <gui>Byt namn på importerade filer till gemener</gui>." -#: C/import-file.page:20(p) +#. (itstool) path: section/title +#: C/other-files.page:107 +msgid "Writing metadata on the fly" +msgstr "Skriva metadata direkt" + +#. (itstool) path: section/p +#: C/other-files.page:109 msgid "" -"If you hold down <key>Ctrl</key> while dragging photos in, Shotwell will " -"copy the photos into your library folder without prompting. Similarly, if " -"you hold down <keyseq><key>Ctrl</key><key>Shift</key></keyseq> while " -"dragging photos in, Shotwell will import the photos without copying them." +"By default, Shotwell does not modify photo files, even when you edit photos " +"or change their tags or titles. Shotwell records these changes in its own " +"database only." msgstr "" -"Om du håller ner <key>Ctrl</key> när du drar in bilder kommer Shotwell att " -"kopiera bilderna till din biblioteksmapp utan att fråga. På samma sätt, om " -"du håller ner <keyseq><key>Ctrl</key><key>Skift</key></keyseq> medan du drar " -"in bilder kommer Shotwell att importera bilderna utan att kopiera dem." +"Som standard ändrar inte Shotwell bildfiler, även om du redigerar bilder " +"eller ändrar deras taggar och namn. Shotwell sparar endast dessa ändringar i " +"sin databas." -#: C/import-file.page:22(p) +#. (itstool) path: section/p +#: C/other-files.page:112 msgid "" -"Once the import is complete, you can select <gui>Last Import</gui> in the " -"sidebar to see all photos successfully imported. The Events list will also " -"show new entries for the dates corresponding to the imported photos." +"To change this behavior, you can enable the checkbox <gui>Write tags, titles " +"and other metadata to photo files</gui> in the <gui>Preferences</gui> " +"dialog. When this option is enabled, Shotwell will write the following " +"metadata to most photo files whenever you change it in Shotwell:" msgstr "" -"När importen är färdig kan du välja <gui>Senaste import</gui> i sidopanelen " -"för att se alla importerade bilder. Händelselistan kommer också att visa nya " -"poster för datumen som motsvarar de importerade bilderna." +"För att ändra detta beteende kan du aktivera kryssrutan <gui>Skriv taggar, " +"namn och annan metadata till bildfiler</gui> i dialogen <gui>Inställningar</" +"gui>. När detta alternativ är aktiverat kommer Shotwell att skriva följande " +"metadata till de flesta bildfiler när du ändrar dem i Shotwell:" -#: C/import-camera.page:7(desc) -msgid "Copy photos from a digital camera." -msgstr "Kopiera bilder från en digital kamera." +#. (itstool) path: item/p +#: C/other-files.page:118 +msgid "titles" +msgstr "namn" -#: C/import-camera.page:12(title) -msgid "Importing from a camera" -msgstr "Importera från en kamera" +#. (itstool) path: item/p +#: C/other-files.page:119 +msgid "tags" +msgstr "taggar" -#: C/import-camera.page:14(p) -msgid "To import photos from a digital camera:" -msgstr "Att importera bilder från en digitalkamera:" +#. (itstool) path: item/p +#: C/other-files.page:120 +msgid "ratings" +msgstr "betyg" + +#. (itstool) path: item/p +#: C/other-files.page:121 +msgid "rotation information" +msgstr "riktningsinformation" -#: C/import-camera.page:18(p) +#. (itstool) path: item/p +#: C/other-files.page:122 +msgid "time/date" +msgstr "tid/datum" + +#. (itstool) path: section/p +#: C/other-files.page:125 msgid "" -"Connect the camera to your computer and switch it on. Shotwell will detect " -"it and list it in the sidebar." +"Shotwell stores this information in photo files in EXIF, IPTC and/or XMP " +"format. Note that Shotwell can write only to photo files in JPEG, PNG and " +"TIFF format, not to BMP photos, RAW photos or to video files." msgstr "" -"Anslut kameran till din dator och slå på den. Shotwell kommer att upptäcka " -"den och lista den i sidopanelen." +"Shotwell lagrar denna information i bildfiler i EXIF, IPTC och/eller XMP-" +"format. Observera att Shotwell endast kan skriva till bildfiler i JPEG, PNG " +"och TIFF-format, inte till BMP-bilder, RAW-bilder eller till videofiler." + +#. (itstool) path: section/title +#: C/other-files.page:133 +msgid "Runtime monitoring" +msgstr "Körtidsövervakning" -#: C/import-camera.page:22(p) +#. (itstool) path: section/p +#: C/other-files.page:135 msgid "" -"Select the camera in the sidebar. Previews of each photo on the camera will " -"be displayed." +"While Shotwell is running, it notices changes made to any photo file " +"externally. When a photo file changes, Shotwell rereads the file and updates " +"your view of the photo and metadata." msgstr "" -"Välj kameran i sidopanelen. Förhandsvisningar av varje bild på kameran " -"kommer att visas." +"När Shotwell körs märker det av ändringar gjorda till bildfiler externt. När " +"en bildfil ändras läser Shotwell om filen och uppdaterar din vy över bilder " +"och metadata." -#: C/import-camera.page:25(p) +#. (itstool) path: section/p +#: C/other-files.page:139 msgid "" -"If you like, you can choose a set of specific photos to import. To do this, " -"hold down the <key>Ctrl</key> key and click to select individual photos. You " -"can hold down <key>Shift</key> and click to select a range of photos too." +"Note that Shotwell checks all photo files for changes at startup, but only " +"photo files contained in the library directory are monitored in real time " +"after startup. We hope to remove this limitation in a further release." msgstr "" -"Om du vill kan du välja en samling specifika bilder att importera. För att " -"göra detta, håll ner tangenten <key>Ctrl</key> och klicka för att markera " -"individuella bilder. Du kan också hålla ner <key>Skift</key> och klicka för " -"att markera ett intervall av bilder." +"Observera att Shotwell kontrollerar alla bildfiler vid uppstart, men att " +"endast bildfiler i bibliotekskatalogen övervakas i realtid efter uppstart. " +"Vi hoppas kunna ta bort denna begränsning i en framtida utgåva." -#: C/import-camera.page:28(p) -msgid "" -"Click either <gui>Import Selected</gui> or <gui>Import All</gui>. The photos " -"will be copied from the camera and saved on your computer." +#. (itstool) path: info/desc +#: C/other-missing.page:7 +msgid "If Shotwell can't find a photo in your library, it marks it as missing." msgstr "" -"Klicka antingen <gui>Importera markerade</gui> eller <gui>Importera alla</" -"gui>. Bilderna kommer att kopieras från kameran och sparas på din dator." +"Om Shotwell inte kan hitta en bild i ditt bibliotek kommer det att markera " +"den som saknad." -#: C/import-camera.page:32(p) +#. (itstool) path: page/title +#: C/other-missing.page:12 +msgid "Missing photos" +msgstr "Saknade bilder" + +#. (itstool) path: page/p +#: C/other-missing.page:14 msgid "" -"Once the import is complete, you can open the <gui>Last Import</gui> view " -"(in the sidebar) to see all photos that were imported. The Events list (also " -"in the sidebar) will also show the new photos, organized by date." +"Each time Shotwell starts up, it scans your photo library to verify that all " +"photo files still exist on your hard drive. If Shotwell finds that any photo " +"files are missing, it will not display them in the normal Photos, Events and " +"Tags views, but will instead show them in a separate Missing Files view " +"which will appear in the sidebar." msgstr "" -"När importen är klar kan du öppna vyn <gui>Senast importerade</gui> (i " -"sidopanelen) för att se alla bilder som importerades. Händelselistan (också " -"i sidopanelen) kommer att visa de nya bilderna, ordnade efter datum." +"Var gång Shotwell startar söker det av ditt bildbibliotek för att verifiera " +"att alla bilder fortfarande existerar på din hårddisk. Om Shotwell finner " +"att det saknas filer, kommer dessa inte att visas i vyerna Bilder, Händelser " +"eller Taggar, och istället visas de i separata vyn Saknade filer, vilken " +"visas i sidopanelen." -#: C/formats.page:7(desc) +#. (itstool) path: page/p +#: C/other-missing.page:16 msgid "" -"Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video " -"files." +"If you no longer want the missing files to be part of your Shotwell " +"collection (perhaps because you deleted them), go to the Missing Files view, " +"select the photos and then click <gui>Remove From Library</gui>." msgstr "" -"Shotwell stödjer JPEG, PNG, TIFF, BMP och RAW-bilder såväl som filmfiler." - -#: C/formats.page:12(title) -msgid "Supported photo and video formats" -msgstr "Bild- och videoformat som stöds" +"Om du inte längre vill att de saknade filerna ska vara en del av din " +"Shotwell-samling (kanske för att du tog bort dem), gå till vyn Saknade " +"filer, välj bilder och klicka sedan <gui>Ta bort från bibliotek</gui>." -#: C/formats.page:14(p) +#. (itstool) path: page/p +#: C/other-missing.page:18 msgid "" -"Shotwell supports JPEG, PNG, TIFF, BMP and <link type=\"guide\" xref=\"other-" -"raw\">RAW</link> photo files. Shotwell does not yet support other graphics " -"format such as GIF." +"If you have photos on a removable disk, such as a CD or USB flash drive, and " +"<link xref=\"index#import\">import</link> them into Shotwell <em>without</" +"em> copying the photos to your computer, they will show up as missing files " +"if you then disconnect the removable disk. See <link xref=\"import-file\"/> " +"to learn how to copy files from removable disks onto your computer." msgstr "" -"Shotwell stödjer JPEG, PNG, TIFF, BMP och <link type=\"guide\" xref=\"other-" -"raw\">RAW</link>-bildfiler. Shotwell stödjer inte ännu andra grafikformat " -"som GIF." +"Om du har bilder på en flyttbar enhet, som en cd-skiva eller en usb-sticka, " +"och <link xref=\"index#import\">importerar</link> dem till Shotwell " +"<em>utan</em> att kopiera bilderna till din dator, kommer de att visas som " +"saknade filer om du kopplar från den flyttbara enheten. Se <link xref=" +"\"import-file\"/> för att lära dig mer om att kopiera filer från en flyttbar " +"enhet till din dator." -#: C/formats.page:16(p) +#. (itstool) path: page/p +#: C/other-missing.page:20 msgid "" -"Shotwell's RAW format support is currently limited. When you view a RAW " -"photo, you are actually viewing a JPEG derived from the RAW photo, not the " -"RAW image itself. Additionally, the RAW editing pipeline is not fully 16-bit " -"- you can only export edited photos as 8-bit files. All supported formats " -"can be used for export (JPEG, PNG, TIFF, BMP)." +"If any missing photo files become available again, Shotwell will notice this " +"the next time it starts. The photos will once again appear in the Photos, " +"Events and Tags views." msgstr "" -"Shotwells RAW-formatstöd är för tillfället begränsat. När du visar en RAW-" -"bild visar du egentligen en JPEG som härstammar från RAW-bilden, inte själva " -"RAW-bilden. Dessutom är RAW-redigeringsflödet inte helt 16-bitars - du kan " -"bara exportera redigerade bilder som 8-bitars filer. Alla format som stöds " -"kan användas för export (JPEG, PNG, TIFF, BMP)." +"Om några saknade bilder blir tillgängliga igen kommer Shotwell att märka det " +"nästa gång programmet startar. Bilderna kommer åter igen att visas i vyerna " +"Bilder, Händelser och Taggar." -#: C/formats.page:18(p) +#. (itstool) path: info/desc +#: C/other-multiple.page:7 msgid "" -"For more information about RAW-format photos in Shotwell, please see the " -"<link type=\"guide\" xref=\"other-raw\">RAW</link> section." +"You can open Shotwell with a different photo library by using the command " +"line." msgstr "" -"För mer information om RAW-formatbilder i Shotwell, se avsnittet <link type=" -"\"guide\" xref=\"other-raw\">RAW</link>." +"Du kan öppna Shotwell med ett annat bildbibliotek genom att använda " +"kommandoraden." + +#. (itstool) path: page/title +#: C/other-multiple.page:12 +msgid "Multiple libraries" +msgstr "Flera bibliotek" -#: C/formats.page:22(p) +#. (itstool) path: page/p +#: C/other-multiple.page:14 msgid "" -"Shotwell also supports video files in any format supported by the GStreamer " -"media library on the system where Shotwell is running. This typically " -"includes the following formats among others:" +"Shotwell normally stores its database and photo thumbnails in the directory " +"<file>~/.shotwell</file> . This directory does not hold photos, but the " +"database in this directory contains a list of all the photos in the Shotwell " +"library." msgstr "" -"Shotwell stödjer också filmfiler i format som GStreamer mediabibliotek " -"stödjer, på systemet där Shotwell körs. Normalt inkluderar det följande " -"format, bland andra:" - -#: C/formats.page:25(p) -msgid "Container formats: Ogg, QuickTime, MP4, AVI." -msgstr "Behållarformat: Ogg, QuickTime, MP4, AVI." +"Shotwell lagrar normalt sin databas och sina miniatyrbilder i katalogen " +"<file>~/.shotwell</file> . Denna katalog innehåller inte bilder, men " +"databasen i denna katalog innehåller en lista över alla bilder i Shotwell-" +"biblioteket." -#: C/formats.page:26(p) +#. (itstool) path: page/p +#: C/other-multiple.page:16 msgid "" -"Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating " -"systems may not include all codecs listed here due to legal or licensing " -"restrictions.</em>" +"As an advanced feature, it's possible for you to have multiple Shotwell " +"libraries, each of which has its own set of photos. Each library needs its " +"own database directory. To launch Shotwell with an alternate library, " +"specify an alternate database directory on the command line as follows:" msgstr "" -"Kodekar: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Observera att vissa " -"operativsystem kanske inte inkluderar kodekarna listade här på grund av " -"juridiska eller licensbaserade begränsningar.</em>" +"Som en avancerad funktion är det möjligt för dig att ha flera Shotwell-" +"bibliotek, var och en med dess egna grupp av bilder. Varje bibliotek behöver " +"dess egna databaskatalog. För att starta Shotwell som ett alternativt " +"bibliotek, ange en alternativ katalog på kommandoraden enligt:" -#: C/formats.page:30(p) +#. (itstool) path: page/screen +#: C/other-multiple.page:18 +#, no-wrap msgid "" -"Shotwell supports both photos and videos, but for simplicity, this " -"documentation uses just the term \"photos\" in most places. Many operations " -"in Shotwell apply to both photos and videos, however. In particular, events, " -"flagging, rating, tagging, and publishing work both for photos and for " -"videos." +"\n" +"shotwell -d [library-directory]\n" msgstr "" -"Shotwell stödjer både bilder och filmer, men för enkelhetens skull använder " -"dokumentationen termen ”bilder” på de flesta ställen. Flera operationer i " -"Shotwell gäller dock för bild och filmer. Speciellt händelser, att flagga, " -"betygsätta, tagga och publicera fungerar för både bilder och filmer." +"\n" +"shotwell -d [bibliotekskatalog]\n" -#: C/edit-undo.page:7(desc) -msgid "Return a photo to its original, unedited form." -msgstr "Återställa en bild till dess ursprungliga oredigerade skick." +#. (itstool) path: info/desc +#: C/other-plugins.page:7 +msgid "Extend Shotwell's functionality dynamically." +msgstr "Utöka Shotwells funktionalitet dynamiskt." -#: C/edit-undo.page:14(title) -msgid "Undoing changes" -msgstr "Ånga ändringar" +#. (itstool) path: page/title +#: C/other-plugins.page:12 +msgid "Plugins" +msgstr "Insticksmoduler" -#: C/edit-undo.page:16(p) +#. (itstool) path: page/p +#: C/other-plugins.page:13 msgid "" -"Because Shotwell is a non-destructive photo editor, you can undo any " -"alterations you make to a photograph." +"Shotwell can be used with <em>plugins</em>, which are companion shared " +"libraries that can add support for new publishing destinations or new " +"slideshow transitions." msgstr "" -"Eftersom Shotwell är en förlustfri bildredigerare kan du ångra ändringar du " -"gjort i en bild." +"Shotwell kan användas med <em>Insticksmoduler</em>, vilket är delade " +"bibliotek som kan lägga till stöd för nya publiceringstyper eller nya " +"övergångar vid bildspel." -#: C/edit-undo.page:18(p) C/edit-nondestructive.page:16(p) +#. (itstool) path: page/p +#: C/other-plugins.page:18 msgid "" -"If you want to see what a photo looked like before your modifications, press " -"the <key>Shift</key> key. The original photo will be displayed as long as " -"you hold the key down." +"To see a list of installed plugins, choose <guiseq><gui>Edit</" +"gui><gui>Preferences</gui></guiseq>, and in the <gui>Preferences</gui> " +"window, click on the <gui>Plugins</gui> tab. You'll see a list of currently-" +"installed plugins, each with a checkbox by it, and you may enable or disable " +"each by selecting or deselecting the checkbox by its name." msgstr "" -"Om du vill se hur en bild såg ut innan dina ändringar, tryck tangenten " -"<key>Skift</key>. Originalbilden kommer att visas så länge tangenten hålls " -"nere." +"För att se en lista över installerade insticksmoduler, välj " +"<guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq>, och i fönstret " +"<gui>Inställningar</gui>, klicka på fliken <gui>Insticksmoduler</gui>. Du " +"kommer att se en lista av aktuella installerade insticksmoduler, var och en " +"med en kryssruta vid sida av den, och du kan aktivera eller inaktivera var " +"och en genom att kryssa eller kryssa av kryssrutan för dess namn." -#: C/edit-undo.page:20(p) +#. (itstool) path: note/p +#: C/other-plugins.page:25 msgid "" -"To completely undo all the changes you've made to a photo, click " -"<guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only " -"exception is that time and date adjustments will not be reverted." +"Full documentation on how to develop new plugins is available at <link href=" +"\"http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins" +"\">http://redmine.yorba.org/projects/shotwell/wiki/" +"ShotwellArchWritingPlugins</link>" msgstr "" -"För att helt ångra alla dina ändringar till en bild, klicka " -"<guiseq><gui>Bilder</gui><gui>Återställ till original</gui></guiseq>. Det " -"enda undantaget är att tid- och datumjusteringar inte kommer att återställas." +"Fullständig dokumentation om hur du utvecklar nya insticksmoduler finns " +"tillgänglig på <link href=\"http://redmine.yorba.org/projects/shotwell/wiki/" +"ShotwellArchWritingPlugins\">http://redmine.yorba.org/projects/shotwell/wiki/" +"ShotwellArchWritingPlugins</link>" -#: C/edit-time-date.page:7(desc) -msgid "Change the time and date of photos if those details are incorrect." -msgstr "Ändra tid och datum för bilder om de inte stämmer." +#. (itstool) path: info/desc +#: C/raw.page:7 +msgid "More about RAW support in Shotwell." +msgstr "Mer om RAW-stöd i Shotwell." -#: C/edit-time-date.page:12(title) -msgid "Adjust the time and date of photos" -msgstr "Justera tid och datum för bilder" +#. (itstool) path: page/title +#: C/raw.page:12 +msgid "RAW support in Shotwell" +msgstr "RAW-stöd i Shotwell" -#: C/edit-time-date.page:14(p) +#. (itstool) path: page/p +#: C/raw.page:13 msgid "" -"To adjust the time and date of photos, select the photos you would like to " -"adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Time and Date</gui></" -"guiseq> and select a new time and date." +"Some cameras have the ability to store data directly off the sensor and into " +"a file that contains extra color information; this is commonly referred to " +"as 'RAW' or 'camera RAW', and Shotwell supports these files as well." msgstr "" -"För att justera tid och datum för bilder, markera de bilder du vill justera, " -"välj <guiseq><gui>Bilder</gui><gui>Justera tid och datum</gui></guiseq> och " -"markera ny tid och datum." +"En del kameror har förmågan att lagra data direkt från sensorn till en fil " +"som innehåller extra färginformation, känt som ”RAW” eller ”Kamera-RAW”, och " +"Shotwell stödjer även dessa filer." -#: C/edit-time-date.page:16(p) +#. (itstool) path: page/p +#: C/raw.page:18 msgid "" -"If you are changing the date and time of multiple photos at once, you can " -"choose to shift all the photos by the same amount of time or to set all the " -"photos to the same time." +"Since RAW photographs normally cannot be displayed directly, but must be " +"first developed - that is, have their extra information interpreted and " +"readied for displaying - most cameras will either embed a JPEG inside a RAW-" +"format file, or produce a JPEG alongside the RAW file at the time the " +"snapshot is taken. The latter is referred to throughout this document as RAW" +"+JPEG. If you import a RAW+JPEG pair, Shotwell will keep them paired and " +"treat them as one item in your library." msgstr "" -"Om du ändrar datum och tid för flera bilder samtidigt kan du välja att ändra " -"tiden för alla bilder eller ange samma tid för alla bilder samtidigt." +"Eftersom RAW-bilder vanligtvis endast kan visas direkt, men först måste " +"framkallas - det vill säga, tolka deras extra information och göra klart den " +"för visning - kommer de flesta kameror att bädda in en JPEG inuti RAW-" +"formatfilen, eller skapa en JPEG vid sidan av RAW-filen då ögonblicksbilden " +"tas. Det senare refereras till i detta dokument som RAW+JPEG. Om du " +"importerar ett RAW+JPEG-par kommer Shotwell att hålla dem sammankopplade och " +"behandla dem som ett objekt i ditt bibliotek." -#: C/edit-time-date.page:18(p) +#. (itstool) path: page/p +#: C/raw.page:27 msgid "" -"By default, the time and date are only changed inside Shotwell. You can also " -"choose to modify the time and date in the original file, but this cannot be " -"undone once you exit Shotwell." +"When you import a RAW file, you can choose to either use the camera's " +"internally-developed JPEG or Shotwell's by selecting <guiseq><gui>Photos</" +"gui><gui>Developer</gui></guiseq> in the menus." msgstr "" -"Som standard ändras tid och datum endast i Shotwell. Du kan också välja att " -"ändra tid och datum i originalfilen, men det kan inte ångras när du väl har " -"avslutat Shotwell." - -#: C/edit-straighten.page:7(desc) -msgid "Straighten a photo so that its horizon appears level." -msgstr "Räta ut en bild så att dess horisont blir rak." - -#: C/edit-straighten.page:12(title) -msgid "Straighten photos" -msgstr "Räta ut bilder" +"När du importerar en RAW-fil kan du välja att antingen använda kamerans " +"inbyggda JPEG eller Shotwells egna genom att markera <guiseq><gui>Bilder</" +"gui><gui>Framkallare</gui></guiseq> i menyerna." -#: C/edit-straighten.page:14(p) +#. (itstool) path: note/p +#: C/raw.page:33 msgid "" -"The straighten tools allows photos to be leveled and straightened. The " -"straighten tool is only available in full-window or fullscreen mode." +"Changing between developers will cause all edits made to a photograph to be " +"discarded." msgstr "" -"Verktygen för att räta ut bilder låter dem rätas ut och plattas till. " -"Verktyget för att räta ut är endast tillgängligt i helskärms- eller " -"helfönsterläge." +"Ändringar mellan framkallare kommer att göra att alla redigeringar gjorda " +"till en bild förkastas." -#: C/edit-straighten.page:18(p) +#. (itstool) path: page/p +#: C/raw.page:39 msgid "" -"Click <gui>Straighten</gui>. The straighten slider will appear. " -"Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</" -"key></keyseq>." +"In order to publish or use a RAW photograph in most other software, it has " +"to be exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF " +"or BMP format, and, when publishing, will internally export a JPEG version " +"for you and publish that." msgstr "" -"Klicka <gui>Räta ut</gui>. Skjutreglaget för att räta ut visas. Alternativt, " -"använd tangentbordskombinationen <keyseq><key>Ctrl</key><key>A</key></" -"keyseq>." - -#: C/edit-straighten.page:21(p) -msgid "Drag the slider to achieve the desired degree of straightening." -msgstr "Dra i skjutreglaget för att uppnå önska grad av uträtning." - -#: C/edit-straighten.page:24(p) -msgid "Press <gui>OK</gui> when finished." -msgstr "Tryck <gui>OK</gui> när klar." +"För att kunna publicera eller använda en RAW-bild i de flesta andra " +"programmen måste den exporteras först. Shotwell kan exportera dina RAW-" +"bilder i JPEG, PNG, TIFF eller BMP-format, och när du publicerar, exporterar " +"de en JPEG-version för dig och publicerar den." -#: C/edit-rotate.page:7(desc) +#. (itstool) path: info/desc +#: C/running.page:7 msgid "" -"Click the <gui>Rotate</gui> button, or choose one of the commands in the " -"<gui>Photo</gui> menu." +"Find Shotwell in the Applications menu, or have it start automatically when " +"you plug in a camera." msgstr "" -"Klicka knappen <gui>Rotera</gui> eller välj en av kommandona i <gui>Bild</" -"gui>-menyn." +"Hitta Shotwell i programmenyn, eller låt det starta automatiskt när du " +"stoppar i en kamera." -#: C/edit-rotate.page:12(title) -msgid "Rotate or flip a photo" -msgstr "Rotera eller vänd en bild" +#. (itstool) path: page/title +#: C/running.page:14 +msgid "Running Shotwell" +msgstr "Köra Shotwell" -#: C/edit-rotate.page:14(p) +#. (itstool) path: page/p +#: C/running.page:16 msgid "" -"You can rotate your photos left and right (clockwise and counterclockwise) " -"with the <gui>Rotate</gui> button on the toolbar of most views. You can also " -"make a mirror image of any photo." +"Once installed, Shotwell is available in your <gui>Applications</gui> menu " +"under <gui>Graphics</gui> or <gui>Photography</gui>." msgstr "" -"Du kan rotera dina bilder till vänster och höger (medurs eller moturs) med " -"knappen <gui>Rotera</gui> i verktygsfältet för de flesta vyer. Du kan också " -"skapa en spegelbild av en bild." +"När det väl är installerat är Shotwell tillgängligt i menyn <gui>Program</" +"gui> under <gui>Grafik</gui> eller <gui>Bilder</gui>." -#: C/edit-rotate.page:16(p) +#. (itstool) path: page/p +#: C/running.page:18 msgid "" -"To rotate right, click on the <gui>Rotate</gui> button. To rotate left, " -"press and hold the <key>Ctrl</key> key and then click the button. Both " -"commands are available in the <gui>Photos</gui> menu too. Alternatively, use " -"the following keyboard shortcuts:" +"Shotwell may also be executed automatically when a camera is plugged in to " +"your computer. To check that your system is set up to run Shotwell when a " +"camera is detected, go to <guiseq><gui>Edit</gui><gui>Preferences</gui></" +"guiseq> in any Nautilus (file browser) window and choose the <gui>Media</" +"gui> tab. You'll see a dropdown box entitled <gui>Photos:</gui> which lets " +"you choose Shotwell as your photo handling application." msgstr "" -"För att rotera höger, klicka på knappen <gui>Rotera</gui>. För att rotera " -"vänster, tryck och håll ner tangenten <key>Ctrl</key> och klicka sedan på " -"knappen. Båda kommandona är också tillgängliga i menyn <gui>Bilder</gui>. " -"Alternativt, använd följande tangentbordsgenvägar:" +"Shotwell kan också exekveras automatiskt när en kamera stoppas i din dator. " +"För att kontrollera att ditt system är inställt på att köra Shotwell när en " +"kamera upptäcks, gå till <guiseq><gui>Redigera</gui><gui>Inställningar</" +"gui></guiseq> i ett Nautilus(filhanterare)-fönster och markera fliken " +"<gui>Media</gui>. Du kommer att se en rullgardinsmeny som heter <gui>Bilder:" +"</gui> vilken låter dig välja Shotwell som ditt program för bildhantering." -#: C/edit-rotate.page:18(p) +#. (itstool) path: note/p +#: C/running.page:25 msgid "" -"rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or " -"<key>[</key>" +"Shotwell may also be executed directly from its build directory, although " +"this is only recommended for testing out Shotwell or for developers." msgstr "" -"rotera vänster: <keyseq><key>Skift</key><key>Ctrl</key><key>R</key></keyseq> " -"eller <key>[</key>" +"Shotwell kan också exekveras direkt från dess byggkatalog, men det " +"rekommenderas bara för testning av Shotwell eller för utvecklare." -#: C/edit-rotate.page:19(p) +#. (itstool) path: info/desc +#: C/share-background.page:7 msgid "" -"rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key>" +"Set your desktop background to a single photo or to a slideshow of photos." msgstr "" -"rotera höger: <keyseq><key>Ctrl</key><key>R</key></keyseq> eller <key>]</key>" +"Ställ in din skrivbordsbakgrund till att använda en enstaka bild eller ett " +"bildspel." + +#. (itstool) path: page/title +#: C/share-background.page:12 +msgid "Set a desktop background or slideshow" +msgstr "Ange en skrivbordsbakgrund eller ett bildspel." -#: C/edit-rotate.page:21(p) +#. (itstool) path: page/p +#: C/share-background.page:14 msgid "" -"To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> " -"command in the <gui>Photos</gui> menu. To flip an image vertically, use the " -"<gui>Flip Vertically</gui> command in the same menu." +"To set a single photo as your desktop background, select the photo and " +"choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>." msgstr "" -"För att skapa en spegelbild av en bild, använd <gui>Vänd horisontellt</gui>-" -"kommandot i <gui>Bilder</gui>-menyn. För att vända en bild vertikalt, använd " -"<gui>Vänd vertikalt</gui>-kommandot i samma meny." +"För att ange en bild som din skrivbordsbakgrund, markera bilden och välj " +"sedan <guiseq><gui>Arkiv</gui><gui>Använd som skrivbordsbakgrund</gui></" +"guiseq>." -#: C/edit-rotate.page:24(p) +#. (itstool) path: page/p +#: C/share-background.page:16 msgid "" -"If you select more than one image, you can rotate all of them at the same " -"time." -msgstr "Om du väljer mer än en bild så kan du rotera dem samtidigt." +"You can also set your background to a slideshow of photos. To do this, " +"select the photos for the slideshow and choose <guiseq><gui>File</" +"gui><gui>Set as Desktop Slideshow...</gui></guiseq>. Shotwell will prompt " +"you for a slideshow delay, which can be any interval up to one day in " +"length. The background slideshow will proceed even when Shotwell is not " +"running." +msgstr "" +"Du kan också sätta din bakgrund till ett bildspel. För att göra detta, " +"markera bilderna för bildspel och välj <guiseq><gui>Arkiv</gui><gui>Använd " +"som bildspel för skrivbord…</gui></guiseq>. Shotwell kommer att fråga om " +"bildspelsfördröjning, vilket kan vara vilket intervall som helst upp till en " +"dags längd. Bildspelet i bakgrunden kommer att fortsätta även när Shotwell " +"inte körs." -#: C/edit-redeye.page:7(desc) -msgid "" -"Correct photos where people have red eyes because of the camera's flash." +#. (itstool) path: info/desc +#: C/share-export.page:7 +msgid "Copy photos out of Shotwell so you can put them somewhere else." msgstr "" -"Rätta till bilder där personer har röda ögon på grund av kamerans blixt." +"Kopiera bilder från Shotwell så att du kan använda dem på andra ställen." -#: C/edit-redeye.page:12(title) -msgid "Removing red-eye" -msgstr "Ta bort röda ögon" +#. (itstool) path: page/title +#: C/share-export.page:12 +msgid "Exporting photos" +msgstr "Exportera bilder" -#: C/edit-redeye.page:14(p) +#. (itstool) path: page/p +#: C/share-export.page:14 msgid "" -"Red-eye occurs when the camera's flash reflects off the pupil of someone's " -"eye. To eliminate this in a photo, use the Red-eye tool." +"To export photos from Shotwell via drag and drop, drag the photos from " +"Shotwell onto a file manager window or your desktop. The new files will be " +"full-sized copies of the photos in your library." msgstr "" -"Röda ögon uppstår när kamerans blixt reflekteras i pupillen i någons öga. " -"För att ta bort detta ur en bild, använd verktyget röda ögon." +"För att exportera bilder från Shotwell via dra-och-släpp, dra bilderna från " +"Shotwell till ett filhanterarfönster eller ditt skrivbord. De nya filerna " +"kommer att vara kopior av bilderna i ditt bibliotek." -#: C/edit-redeye.page:17(p) -msgid "Click <gui>Red-eye</gui>. A circle will appear on the photo." -msgstr "Klicka <gui>Röda ögon</gui>. En cirkel visas på bilden." +#. (itstool) path: page/p +#: C/share-export.page:18 +msgid "" +"Alternatively, select a set of photos and choose the <guiseq><gui>File</" +"gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</" +"key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting " +"you fine-tune the size and dimensions of your photo files. A window will " +"appear allowing you to make several choices:" +msgstr "" +"Alternativt kan du markera några bilder och välja <guiseq><gui>Arkiv</" +"gui><gui>Exportera…</gui></guiseq>-kommandot eller trycka " +"<keyseq><key>Skift</key><key>Ctrl</key><key>E</key></keyseq> som exporterar " +"bilderna under tiden du finjusterar storlek och dimensioner på dina " +"bildfiler. Ett fönster visas och låter dig göra följande val:" + +#. (itstool) path: item/p +#: C/share-export.page:24 +msgid "A format for export." +msgstr "Ett format för export." -#: C/edit-redeye.page:20(p) +#. (itstool) path: item/p +#: C/share-export.page:27 msgid "" -"Drag the circle over the affected pupil, adjust its size with the slider " -"control, and press <gui>Apply</gui>. The redness will be removed." +"Choose <gui>Unmodified</gui> to export photos in their original format " +"without any edits made in Shotwell. RAW photos will be exported in their " +"original RAW format." msgstr "" -"Dra cirkeln över berörd pupill, justera dess storlek med skjutreglaget och " -"tryck <gui>Verkställ</gui>. Rödheten kommer att tas bort." +"Välj <gui>Oförändrad</gui> för att exportera bilderna i deras originalformat " +"utan redigeringar gjorda i Shotwell. RAW-bilder kommer att exporteras i " +"deras original-RAW-format." -#: C/edit-redeye.page:23(p) +#. (itstool) path: item/p +#: C/share-export.page:29 msgid "" -"Repeat this process for all red pupils in your photo. Press <gui>Close</gui> " -"when finished." +"Choose <gui>Current</gui> to export photos including edits made in Shotwell. " +"RAW photos will be exported in JPEG format if you have edited them in " +"Shotwell, and otherwise in their original RAW format." msgstr "" -"Upprepa processen för alla röda pupiller i din bild. Tryck <gui>Stäng</gui> " -"när färdig." +"Välj <gui>Aktuellt</gui> för att exportera bilder med ändringar gjorda i " +"Shotwell. RAW-bilder kommer att exporteras i JPEG-format om du har redigerat " +"dem i Shotwell, annars i deras ursprungliga RAW-format." -#: C/edit-nondestructive.page:7(desc) +#. (itstool) path: item/p +#: C/share-export.page:31 msgid "" -"Shotwell is a non-destructive photo editor - it does not modify your " -"original photos." +"Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be " +"used for exporting. Any edits made in Shotwell will be included, and " +"Shotwell will convert photos to the destination format." msgstr "" -"Shotwell är en förlustfri bildredigerare - den ändrar inte dina " -"originalbilder." +"Eller så kan du välja ett specifikt bildformat (JPEG, PNG, TIFF, BMP) för " +"exporten. Ändringar gjorda i Shotwell kommer att inkluderas och Shotwell " +"kommer att konvertera bilderna till målformatet." -#: C/edit-nondestructive.page:12(title) -msgid "What happens to the original when I edit a photo?" -msgstr "Vad händer med originalet när jag redigerar en bild?" +#. (itstool) path: item/p +#: C/share-export.page:37 +msgid "The image quality for exporting (Low, Medium, High, or Maximum)." +msgstr "Bildkvaliteten för export (låg, mellan, hög eller maximal)" -#: C/edit-nondestructive.page:14(p) +#. (itstool) path: item/p +#: C/share-export.page:38 msgid "" -"Shotwell is a non-destructive photo editor. It does not modify your original " -"photographs. That is to say, if you crop a photo or adjust its colors, the " -"photo file on disc remains untouched. Shotwell stores your edits in a " -"database and applies them on the fly as necessary. This means you can undo " -"any alterations you make to a photograph." +"A scaling constraint (which means how Shotwell will decide to scale the " +"photos down), and the desired pixel size." msgstr "" -"Shotwell är en förlustfri bildredigerare. Det ändrar inte dina " -"originalbilder. Det betyder att om du beskär en bild, eller ändrar dess färg " -"kommer bildfilerna på disk att bevaras orörda. Shotwell lagrar dina " -"ändringar i en databas och verkställer dem direkt eftersom. Det betyder att " -"du kan ångra ändringar gjorda på en bild." +"En skalningsbegränsning (vilket betyder hur Shotwell bestämmer hur bilderna " +"ska skalas) och önskad bildpunktsstorlek." -#: C/edit-nondestructive.page:18(p) +#. (itstool) path: item/p +#: C/share-export.page:39 msgid "" -"Note that Shotwell can optionally write metadata (such as tags and titles) " -"to photo files. For more information, see the section <link xref=\"other-" -"files\">Photo files</link>." +"The option whether you like to export metadatas such as tags or ratings. " +"This can help to save your privacy if you have geolocation tags or tags " +"which shouldn't be seen by anyone." msgstr "" -"Observera att Shotwell valfritt kan skriva metadata (som taggar och namn) " -"till bildfiler. För mer information, se avsnittet <link xref=\"other-files" -"\">Bildfiler</link>." +"Huruvida du vill exportera metadata som taggar eller betyg. Detta kan skydda " +"din sekretess om du har geoplats-taggar eller taggar ingen bör se." -#: C/edit-external.page:7(desc) -msgid "Use a different program to edit a photo." -msgstr "Använda ett annat program för att redigera en bild." +#. (itstool) path: page/p +#: C/share-export.page:42 +msgid "" +"If selected, Shotwell will write tags, titles, and other metadata to the new " +"files." +msgstr "" +"Om valt kommer Shotwell att skriva taggar, titlar och annan metadata till de " +"nya filerna." -#: C/edit-external.page:12(title) -msgid "Edit photos with an external program" -msgstr "Redigera bilder med ett externt program" +#. (itstool) path: info/desc +#: C/share-print.page:7 +msgid "" +"Click <guiseq><gui>File</gui><gui>Print...</gui></guiseq>. For more printing " +"options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog." +msgstr "" +"Välj <guiseq><gui>Arkiv</gui><gui>Skriv ut…</gui></guiseq>. För fler " +"utskriftsalternativ, välj fliken <gui>Sidinställning</gui> i dialogen " +"<gui>Skriv ut</gui>." -#: C/edit-external.page:16(p) +#. (itstool) path: page/title +#: C/share-print.page:12 +msgid "Printing" +msgstr "Skriva ut" + +#. (itstool) path: page/p +#: C/share-print.page:14 msgid "" -"You might want to use an external editor to do additional work on a photo. " -"If installed, GIMP and UFRaw are the default external editors for photo and " -"RAW editing, respectively. If these programs are not installed, you must " -"select your preferred editors by choosing <guiseq><gui>Edit</" -"gui><gui>Preferences</gui></guiseq> and selecting editors from drop-down " -"menus of installed applications." +"To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print...</" +"gui></guiseq>." msgstr "" -"Du kan vilja använda en extern redigerare för att utföra ytterligare arbete " -"på en bild. Om installerade så är GIMP och UFRaw de externa " -"standardredigerarna för bilder och RAW-redigering. Om dessa program inte är " -"installerade måste du välja dina föredragna redigerare genom att välja " -"<guiseq><gui>Redigera</gui><gui>Inställningar</gui></guiseq> och markera " -"redigerare från rullgardinsmenyn för installerade program." +"För att skriva ut en bild, markera den och välj <guiseq><gui>Arkiv</" +"gui><gui>Skriv ut…</gui></guiseq>." -#: C/edit-external.page:24(p) +#. (itstool) path: page/p +#: C/share-print.page:16 msgid "" -"Once your editors have been set, select a photo and choose " -"<guiseq><gui>Photos</gui><gui>Open With External Editor</gui></guiseq> to " -"open the photo with the external editor. Likewise, if the original photo is " -"a RAW file, select <guiseq><gui>Photos</gui><gui>Open With RAW Editor</gui></" -"guiseq> to edit the RAW file directly with the set RAW editor." +"Shotwell can also print multiple images in one page; to do this, select " +"multiple images, choose <guiseq><gui>File</gui><gui>Print...</gui></guiseq>, " +"and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> " +"tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-page " +"options under <gui>Autosize</gui>." msgstr "" -"När redigerare väl har angetts, markera en bild och väljs " -"<guiseq><gui>Bilder</gui><gui>Öppna med extern redigerare</gui></guiseq> för " -"att öppna bilden med den externa redigeraren. På samma sätt, om " -"originalbilden är en RAW-fil, välj <guiseq><gui>Bilder</gui><gui>Öppna med " -"RAW-redigerare</gui></guiseq> för att redigera RAW-filen med den valda RAW-" -"redigeraren." +"Shotwell kan också skriva ut flera bilder på en sida - för att göra detta, " +"markera flera bilder, välj <guiseq><gui>Arkiv</gui><gui>Skriv ut…</gui></" +"guiseq> och i dialogen <gui>Skriv ut</gui>, välj fliken " +"<gui>Bildinställningar</gui>. I <gui>Bildinställningar</gui>, välj ett av " +"alternativen för flera-bilder-per-sida under <gui>Automatisk storlek</gui>." -#: C/edit-external.page:31(p) +#. (itstool) path: page/p +#: C/share-print.page:23 msgid "" -"When you complete your edits and save the file, Shotwell will detect the " -"changes and update the photo. When external edits have been made, press and " -"hold the <key>Shift</key> key in full-window view to show the original photo " -"rather than the externally-edited one." +"If you would like to set formatting, paper size, and orientation options, " +"choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to " +"printing." msgstr "" -"När du är klar med redigering och sparar filen kommer Shotwell att upptäcka " -"ändringarna och uppdatera bilden. Om externa ändringar har skett, tryck och " -"håll <key>Skift</key>-tangenten i helskärmsvyn för att visa originalbilden " -"istället för den externt redigerade." +"Om du vill ställa in formatering, pappersstorlek och riktningsalternativ, " +"välj fliken <gui>Sidinställning</gui> i dialogen <gui>Skriv ut</gui> innan " +"utskrift." -#: C/edit-external.page:38(p) -msgid "Reverting to original will erase any external edits." -msgstr "Återställning till originalet kommer att radera externa ändringar." +#. (itstool) path: info/desc +#: C/share-send.page:7 +msgid "Send photos via email, instant messaging or in other ways." +msgstr "Skicka bilder via e-post, snabbmeddelanden eller på andra sätt." -#: C/edit-external.page:43(p) +#. (itstool) path: page/title +#: C/share-send.page:12 +msgid "Sending photos" +msgstr "Skicka bilder" + +#. (itstool) path: page/p +#: C/share-send.page:14 msgid "" -"If you externally edit a RAW photo and save the result to another image, " -"such as a JPEG or PNG, Shotwell cannot automatically determine that the " -"original RAW and the new image should be paired." +"Shotwell can send photos using the GNOME desktop's Send To mechanism, which " +"lets you send photos via email, instant messaging or in other ways." msgstr "" -"Om du externt redigerar en RAW-bild och sparar resultatet till en annan " -"bild, som JPEG eller PNG, kan inte Shotwell automatiskt bestämma att den " -"ursprungliga RAW-filen och den nya bilden ska kopplas samman." +"Shotwell kan skicka bilder genom GNOME-skrivbordets \"Skicka till\"-mekanism " +"som låter dig skicka bilder via e-post, snabbmeddelanden eller på andra sätt." -#: C/edit-external.page:49(p) +#. (itstool) path: page/p +#: C/share-send.page:16 msgid "" -"If you want to work within the resulting image within Shotwell, you'll need " -"to import it yourself." +"To send photos, select them in Shotwell and choose <guiseq><gui>File</" +"gui><gui>Send To...</gui></guiseq>, or right-click the photos and choose " +"<gui>Send To...</gui> from the context menu. A <gui>Send To</gui> dialog box " +"will appear which lets you choose a mechanism for sending the files (such as " +"email or instant messaging) and a destination. You can optionally choose to " +"send the files in a compressed format." msgstr "" -"Om du vill arbeta med bildresultatet i Shotwell måste du importera det." +"För att skicka bilder, visa dem i Shotwell och välj <guiseq><gui>Arkiv</" +"gui><gui>Skicka till…</gui></guiseq>, eller högerklicka på bilderna och välj " +"<gui>Skicka till…</gui> från snabbmenyn. En <gui>Skicka till</gui>-dialog " +"kommer att visas vilken låter dig välja olika sätt att skicka filerna på " +"(som e-post eller snabbmeddelanden) och en destination. Du kan också välja " +"att skicka filerna i ett komprimerat format." + +#. (itstool) path: info/desc +#: C/share-slideshow.page:7 +msgid "Watch a slideshow of your photos." +msgstr "Se en bildpresentation av dina bilder." + +#. (itstool) path: page/title +#: C/share-slideshow.page:12 +msgid "Slideshows" +msgstr "Bildpresentationer" -#: C/edit-enhance.page:7(desc) +#. (itstool) path: page/p +#: C/share-slideshow.page:14 msgid "" -"Let Shotwell improve the brightness and contrast of a photo automatically." +"To see a sideshow of any collection in Shotwell, navigate to that collection " +"and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press " +"<key>F5</key>." msgstr "" -"Låt Shotwell förbättra ljusstyrka och kontrast för en bild automatiskt." +"För att se ett bildspel över en samling i Shotwell, navigera över samlingen " +"och markera <guiseq><gui>Visa</gui><gui>Bildspel</gui></guiseq> eller tryck " +"<key>F5</key>." -#: C/edit-enhance.page:14(title) -msgid "Auto-enhance" -msgstr "Autoförbättra" +#. (itstool) path: page/p +#: C/share-slideshow.page:16 +msgid "You can change some settings in a running slideshow:" +msgstr "Du kan ändra en del inställningar i ett körande bildspel:" -#: C/edit-enhance.page:16(p) -msgid "" -"Clicking on the <gui>Enhance</gui> button is a quick way to automatically " -"adjust the brightness and contrast of your photo. It will often give you a " -"photo that is correctly exposed. You can also use it as a starting point and " -"then improve the adjustments by clicking on the <gui>Adjust</gui> button." +#. (itstool) path: item/p +#: C/share-slideshow.page:19 +msgid "The duration how long an image should be shown: 1 - 30 seconds" +msgstr "Hur länge en bild ska visas: 1 - 30 sekunder" + +#. (itstool) path: item/p +#: C/share-slideshow.page:20 +msgid "You can select different transition effects." +msgstr "Du kan välja olika övergångseffekter." + +#. (itstool) path: item/p +#: C/share-slideshow.page:21 +msgid "The time for each transition effect: 0.1 - 1.0 seconds" +msgstr "Tiden för övergångseffekter: 0,1 - 1,0 sekunder" + +#. (itstool) path: info/desc +#: C/share-upload.page:7 +msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites." msgstr "" -"Att klicka på knappen <gui>Förbättra</gui> är ett snabbt sätt att " -"automatiskt justera ljusstyrkan och kontrasten för din bild. Det ger ofta en " -"bild som är korrekt exponerad. Du kan också använda det som en startpunkt " -"och sedan förbättra justeringarna genom att klicka på knappen <gui>Justera</" -"gui>." +"Publicera bilden till Facebook, Flickr, Picasa Web Albums eller andra " +"webbplatser." + +#. (itstool) path: page/title +#: C/share-upload.page:12 +msgid "Publishing to the Web" +msgstr "Publicera på webben" -#. When image changes, this message will be marked fuzzy or untranslated for you. -#. It doesn't matter what you translate it to: it's not used at all. -#: C/edit-crop.page:42(None) +#. (itstool) path: page/p +#: C/share-upload.page:14 msgid "" -"@@image: 'figures/crop_thirds.jpg'; md5=4cf0a026bb812c7eab0c9db8210a9524" +"Through the use of <link xref=\"other-plugins\">plugins</link>, Shotwell can " +"publish photos and videos to the following services, each of which requires " +"an account:" msgstr "" -"@@image: 'figures/crop_thirds.jpg'; md5=4cf0a026bb812c7eab0c9db8210a9524" +"Genom att använda <link xref=\"other-plugins\">insticksmoduler</link> kan " +"Shotwell publicera bilder och filmer till följande tjänster, som var och en " +"kräver ett konto:" -#: C/edit-crop.page:7(desc) -msgid "Improve the composition of a photo by cutting out parts of it." +#. (itstool) path: item/p +#: C/share-upload.page:18 +#| msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" +msgid "<link href=\"http://facebook.com\">Facebook</link>" +msgstr "<link href=\"http://facebook.com\">Facebook</link>" + +#. (itstool) path: item/p +#: C/share-upload.page:19 +#| msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" +msgid "<link href=\"http://flickr.com\">Flickr</link>" +msgstr "<link href=\"http://flickr.com\">Flickr</link>" + +#. (itstool) path: item/p +#: C/share-upload.page:20 +msgid "" +"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> and " +"<link href=\"http://plus.google.com\">Google+</link>" msgstr "" -"Förbättra sammansättningen för en bild genom att klippa bort delar från den." +"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> och " +"<link href=\"http://plus.google.com\">Google+</link>" -#: C/edit-crop.page:12(title) -msgid "Cropping" -msgstr "Beskär" +#. (itstool) path: item/p +#: C/share-upload.page:21 +msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" +msgstr "<link href=\"http://youtube.com\">YouTube</link> (endast video)" -#: C/edit-crop.page:14(p) +#. (itstool) path: item/p +#: C/share-upload.page:22 msgid "" -"To reduce the area of a photo and concentrate the viewer's attention on a " -"smaller portion of it, use the Crop tool. The crop tool is only available in " -"full-window or fullscreen mode." +"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, a photo site " +"popular in Russia (photos only)" msgstr "" -"För att minska området för en bild och fånga betraktarens uppmärksamhet till " -"ett mindre område, använd verktyget beskär. Verktyget beskär är endast " -"tillgängligt i helfönster- eller helskärmsläge." +"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, en populär " +"webbplats i Ryssland (endast bilder)" -#: C/edit-crop.page:19(p) +#. (itstool) path: item/p +#: C/share-upload.page:23 msgid "" -"Double-click on a photo to enter full-window mode, then press the <gui>Crop</" -"gui> button on the toolbar." +"Any site running the <link href=\"http://piwigo.org\">Piwigo</link> photo " +"gallery software (photos only)" msgstr "" -"Dubbelklicka på en bild för att ange helskärmsläge och tryck sedan på " -"knappen <gui>Beskär</gui> i verktygsfältet." +"Vilken webbplats som helst som kör <link href=\"http://piwigo.org\">Piwigo</" +"link>-bildgalleriprogram (endast bilder)" -#: C/edit-crop.page:22(p) +#. (itstool) path: page/p +#: C/share-upload.page:26 msgid "" -"A white box, the crop rectangle, will appear over the photo. The lighter " -"portion of the photo within the crop rectangle represents what the photo " -"will look like when you crop it." +"To publish selected photos in a collection, choose <guiseq><gui>Edit</" +"gui><gui>Preferences</gui></guiseq> and click on the <gui>Plugins</gui> tab " +"to enable the plugin for the service you want to publish to. Next, choose, " +"<guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</" +"gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. You " +"will see a dialog that lets you select a publishing service. You will then " +"need to log in or create an account." msgstr "" -"En vit ruta, beskärningsrektangeln kommer att visas på bilden. Den ljusare " -"delen av bilden inuti beskärningsrektangeln representerar hur bilden kommer " -"att se ut efter att den är beskuren." +"För att publicera markerade bilder i en samling, välj <guiseq><gui>Redigera</" +"gui><gui>Inställningar</gui></guiseq> och klicka på fliken " +"<gui>Insticksmoduler</gui> för att aktivera insticket för tjänsten du vill " +"publicera till. Välj sedan <guiseq><gui>Arkiv</gui><gui>Publicera</gui></" +"guiseq>, tryck verktygsfältsknappen <gui>Publicera</gui> eller använd " +"<keyseq><key>Ctrl</key><key>P</key></keyseq>. Du får då upp en dialog som " +"låter dig välja en publiceringstjänst. Du måste sedan logga in eller skapa " +"ett konto." -#: C/edit-crop.page:25(p) +#. (itstool) path: page/p +#: C/share-upload.page:31 msgid "" -"If you place your cursor in the middle of the box, you can move the box " -"around. If you drag the edges of the box, you can adjust its size. As you " -"move and adjust the crop box, you'll see four lines appear inside it, like a " -"tic-tac-toe grid. These are <em>rule of thirds</em> lines." +"Publishing to Facebook requires you to grant certain permissions to the " +"Shotwell Facebook application. You only need to grant these permissions " +"once, when you first associate Shotwell with your Facebook account." msgstr "" -"Om du placerar din markör i mitten på rutan kan du också flytta runt rutan. " -"Om du drar i kanterna på rutan kan du justera dess storlek. När du flyttar " -"runt och justerar rutan kommer du att se fyra linjer inuti den, ungefär som " -"ett rutnät i luffarschack. Det är linjer för <em>tredelningsregeln</em>." +"Att publicera till Facebook kräver att du ger tillstånd för programmet " +"Shotwell för Facebook. Du behöver bara ge dessa tillstånd en gång, då du " +"först associerar Shotwell med ditt Facebook-konto." -#: C/edit-crop.page:26(p) +#. (itstool) path: note/p +#: C/share-upload.page:34 msgid "" -"You can also constrain the crop box to one of many common sizes. Choose a " -"size from the drop-down list that suits your needs. If you press the flip " -"button next to it, the orientation of the constraint will switch (from " -"landscape to portrait)." +"You will be only able to publish images with at most the permission you " +"granted to the Shotwell Facebook application" msgstr "" -"Du kan också begränsa beskärningsrutan till en av många vanliga storlekar. " -"Välj en storlek från rullgardinsmenyn som passar dig. Om du trycker " -"vändknappen bredvid den kommer riktningen av begränsningen att växla (från " -"landskap till porträtt)." +"Du kommer bara kunna publicera bilder med högst behörigheten du givit " +"tillstånd till för programmet Shotwell för Facebook" -#: C/edit-crop.page:29(p) +#. (itstool) path: page/p +#: C/share-upload.page:36 msgid "" -"When you're happy with your crop outline, press the <gui>Apply</gui> button. " -"Shotwell will display the cropped photo." +"Similarly, publishing to Flickr requires you to log in and permit Shotwell " +"Connect to access your account." msgstr "" -"När du är nöjd med din beskärning, tryck på knappen <gui>Verkställ</gui>. " -"Shotwell kommer att visa den beskurna bilden." +"På liknande sätt kräver Flickr att du loggar in och tillåter Shotwell " +"Connect att komma åt ditt konto." -#: C/edit-crop.page:32(p) +#. (itstool) path: page/p +#: C/share-upload.page:38 msgid "" -"If you change your mind, press the <gui>Crop</gui> button again and fine-" -"tune the crop." +"If you have a Google account, but have not yet used Picasa Web Albums, you " +"will need to log in to Picasa using a browser once before you can publish to " +"this service." msgstr "" -"Om du ändrar dig, tryck knappen <gui>Beskär</gui> igen och finjustera " -"beskärningen." +"Om du har ett Google-konto, men ännu inte använt Picasa Web Albums behöver " +"du logga in till Picasa med en webbläsare en gång innan du kan publicera " +"till tjänsten." -#: C/edit-crop.page:33(p) +#. (itstool) path: info/desc +#: C/view-displaying.page:7 msgid "" -"If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will " -"return to the photo's previous crop dimensions." +"Learn about different ways of viewing your photos: in a grid, filling the " +"main window, or filling the whole screen." msgstr "" -"Om du trycker <gui>Avbryt</gui> istället för <gui>Verkställ</gui> kommer " -"Shotwell att återgå till en bilds tidigare dimensioner." +"Lär dig olika sätt att visa dina bilder: i ett rutnät som fyller " +"huvudfönstret eller hela skärmen." -#: C/edit-crop.page:38(title) -msgid "What is the rule of thirds?" -msgstr "Vad är tredelningsregeln?" +#. (itstool) path: page/title +#: C/view-displaying.page:12 +msgid "Photo views" +msgstr "Bildvyer" -#: C/edit-crop.page:39(p) +#. (itstool) path: page/p +#: C/view-displaying.page:14 msgid "" -"The <em>rule of thirds</em> helps you to choose a pleasing composition for a " -"photo." +"When you select any collection in the sidebar, Shotwell displays all photos " +"in the collection in the main window area. At the bottom right is a slider " +"which adjusts the viewing size of the thumbnails. You may also adjust the " +"thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) " +"or by pressing <key>Ctrl</key> while moving your mouse scroll wheel." msgstr "" -"<em>Tredelningsregeln</em> hjälper dig att välja en angenäm sammansättning " -"för en bild." +"När du väljer en samling i sidopanelen visar Shotwell alla bilder i " +"samlingen i huvudfönstret. Längst ned till höger finns ett skjutreglage som " +"justerar vystorleken på miniatyrbilderna. Du kan också justera " +"miniatyrbildsstorleken genom att använda plus och minustangenterna (<key>+</" +"key> och <key>-</key>) eller genom att trycka <key>Ctrl</key> medan du rör " +"rullhjulet på musen." -#: C/edit-crop.page:40(p) +#. (itstool) path: page/p +#: C/view-displaying.page:16 msgid "" -"Imagine that the scene is divided up into a 3x3 grid by two equally-spaced " -"vertical lines and two equally-spaced horizontal lines. According to the " -"rule, you're more likely to get a pleasing composition if you align major " -"features (like the horizon, or a person's body) with one of the lines. " -"Paying attention to the way features flow from one part of the grid to " -"another can also help." +"You can view a photo full-window by double-clicking on it. From there you " +"may move to other photos in the collection with the Back and Forward " +"buttons. To return to the collection, double-click on the photo or press " +"<key>Esc</key>." msgstr "" -"Föreställ dig att en scen delas upp i ett 3x3-rutnät med två vertikala " -"linjer och två horisontella linjer, alla med samma avstånd sinsemellan. " -"Enligt regeln får du en bättre sammansättning om du justerar större " -"egenskaper (som horisonten eller en persons kropp) med en av linjerna. Att " -"observera sättet egenskaper flödar från en del av rutnätet till ett annat " -"kan också hjälpa." +"Du kan visa en bild i helskärm genom att dubbelklicka på det. Därifrån kan " +"du gå vidare till andra bilden i samlingen med knapparna Bakåt och Framåt. " +"För att återvända till samlingen, dubbelklicka på bilden eller tryck " +"<key>Esc</key>." -#: C/edit-crop.page:41(p) +#. (itstool) path: page/p +#: C/view-displaying.page:18 msgid "" -"Cropping a photo so that it conforms to the rule of thirds often results in " -"a more visually appealing image." +"When viewing a photo in full-window mode, the slider on the toolbar controls " +"zoom. You can pan around by grabbing and dragging anywhere on the photo. You " +"can also zoom using your scroll wheel or by pressing the following keyboard " +"shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, " +"<keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), " +"and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen " +"pixels)." msgstr "" -"Att beskära en bild så att den passar under tredelningsregeln ger ofta en " -"visuellt tilltalande bild." +"När du visar en bild i helskärmsläge blir skjutreglaget i verktygsfältet " +"zoom. Du kan flytta runt genom att ta tag i och dra varsomhelst på bilden. " +"Du kan också zooma med ditt rullhjul eller genom att trycka följande " +"tangentbordsgenvägar:<keyseq><key>Ctrl</key>0</keyseq> för hela bilden, " +"<keyseq><key>Ctrl</key>1</keyseq> för 100% (1 bildpunkt i bilden = 1 " +"bildpunkt på skärm) och <keyseq><key>Ctrl</key>2</keyseq> för 200% (1 " +"bildpunkt för skärm = 2x2 skärmbildpunkter)." -#: C/edit-crop.page:43(p) +#. (itstool) path: page/p +#: C/view-displaying.page:20 msgid "" -"Cropping a photo, using the \"rule of thirds\" lines to improve the " -"composition." +"Shotwell offers a fullscreen mode to display photos. Choose " +"<guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</" +"key>. To see the fullscreen toolbar, move your mouse to the bottom of the " +"screen. The toolbar offers buttons to move through the collection, to pin " +"the toolbar down (so it isn't hidden when you move the mouse away), and to " +"leave fullscreen view." msgstr "" -"Att beskära en bild och använda ”tredelningsregeln” för att förbättra " -"sammansättningen." - -#: C/edit-adjustments.page:7(desc) -msgid "Change the exposure, saturation, tint, and shadows of a photo." -msgstr "Ändra exponering, mättnad, färgton och skuggorna för en bild." +"Shotwell erbjuder ett helskärmsläge för att visa bilden. Välj " +"<guiseq><gui>Visa</gui><gui>Helskärm</gui></guiseq> eller tryck <key>F11</" +"key>. För att se verktygsfältet i helskärmsläge, flytta din mus till nedre " +"delen av skärmen. Verktygsfältet har knappar för att flytta genom samlingen, " +"att fästa verktygsfältet (så att det inte döljs när du flyttar musen) och " +"för att lämna helskärmsvyn." -#: C/edit-adjustments.page:12(title) -msgid "Color adjustments" -msgstr "Färgjusteringar" +#. (itstool) path: section/title +#: C/view-displaying.page:23 +msgid "Viewing videos" +msgstr "Visa filmer" -#: C/edit-adjustments.page:14(p) +#. (itstool) path: section/p +#: C/view-displaying.page:24 msgid "" -"The <gui>Adjust</gui> button opens a floating window with a histogram and " -"sliders to adjust a photo's exposure, saturation, tint, temperature, and " -"shadows. The histogram also has sliders to reduce the upper and lower " -"intensity thresholds of the photograph, expanding the contrast of the middle " -"range." +"When you double-click a video, Shotwell will launch an external video player " +"to play the video. It's not currently possible to display a video in full-" +"window mode in Shotwell or to play the video within Shotwell itself." msgstr "" -"Knappen <gui>Justera</gui> öppnar ett fönster med ett histogram och " -"skjutreglage för att justera en bilds exponering, mättnad, färgton, " -"temperatur och skuggor. Histogrammet har också skjutreglaget för att minska " -"de övre och lägre intensitetströsklarna för bilden, utökandes kontrasten för " -"mittenområdet." +"När du dubbelklickar på en film kommer Shotwell att starta en extern " +"videospelare för att spela filmen. Det är för närvarande inte möjligt att " +"visa en film i helskärmsläge i Shotwell, eller att spela upp en film i " +"själva Shotwell." -#: C/edit-adjustments.page:16(p) +#. (itstool) path: info/desc +#: C/view-information.page:7 msgid "" -"The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to " -"improve the quality of a photo." +"View more detailed information about photos, like the exposure mode used by " +"the camera." msgstr "" -"Knappen <gui>Förbättra</gui> justerar histogram- och skuggskjutreglagen för " -"att förbättra kvaliteten på en bild." +"Visa detaljerad information om bilder, som exponeringsläge använt av kameran." + +#. (itstool) path: page/title +#: C/view-information.page:12 +msgid "Basic and extended information" +msgstr "Grundläggande och utökad information" -#: C/edit-adjustments.page:18(p) +#. (itstool) path: page/p +#: C/view-information.page:14 msgid "" -"When the photo's colors and contrast are to your liking, press <gui>Apply</" -"gui> to save the changes. <gui>Reset</gui> will return the image to its " -"original state. <gui>Cancel</gui> discards all changes you've made." +"The Basic Information pane appears at the bottom of the sidebar, and " +"displays a brief summary of the photos you've selected. If no photos are " +"selected, it displays a summary of the entire collection. You can toggle the " +"display of this pane using the <guiseq><gui>View</gui><gui>Basic " +"Information</gui></guiseq> command." msgstr "" -"När du är nöjd med bildens färg och kontrast, tryck <gui>Verkställ</gui> för " -"att spara ändringarna. <gui>Återställ</gui> kommer att återställa bilden " -"till dess ursprungliga tillstånd. <gui>Avbryt</gui> förkastar alla ändringar " -"du har gjort." - -#: C/edit-adjustments.page:21(title) -msgid "What do the color adjustments do?" -msgstr "Vad gör färgjusteringarna?" - -#: C/edit-adjustments.page:24(title) -msgid "Exposure" -msgstr "Exponering" +"Panelen för grundläggande information visas längst ned i sidopanelen och ger " +"en kortfattad sammanfattning av de bilder du har markerat. Om inga bilder är " +"markerade visar den en sammanfattning av hela samlingen. Du kan växla " +"visningen av denna panel genom att använda <guiseq><gui>Visa</" +"gui><gui>Grundläggande information</gui></guiseq>-kommandot." -#: C/edit-adjustments.page:25(p) +#. (itstool) path: page/p +#: C/view-information.page:16 msgid "" -"Changes the brightness to make it look like the photo was exposed for a " -"longer or shorter time. Use this to correct under- or over-exposed photos." +"The floating Extended Information window displays more information about the " +"selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></" +"guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></" +"keyseq> toggles the display of this window." msgstr "" -"Ändra ljusstyrkan för att få det att se ut som att bilden exponerades en " -"längre eller kortare tid. Använd detta för att korrigera över- eller " -"underexponerade bilder." - -#: C/edit-adjustments.page:28(title) -msgid "Saturation" -msgstr "Mättnad" +"Fönstret Utökad information visar mer information om den markerade bilden. " +"Kommandot <guiseq><gui>Visa</gui><gui>Utökad information</gui></guiseq> " +"eller <keyseq><key>Ctrl</key><key>Skift</key><key>X</key></keyseq> växlar " +"visningen av detta fönster." -#: C/edit-adjustments.page:29(p) +#. (itstool) path: info/desc +#: C/view-sidebar.page:7 msgid "" -"Changes how vivid colors look. If your photo looks gray and washed out, try " -"increasing the saturation. If colors look too bold, try decreasing it." +"The sidebar on the left of the window lists various views of your library." msgstr "" -"Ändrar hur levande färger uppfattas. Om din bild ser grå och urblekt ut, " -"prova att öka mättnaden. Om färgerna är för starka, prova att minska den." +"Sidopanelen till vänster om fönstret listar olika vyer över ditt bibliotek." -#: C/edit-adjustments.page:32(title) -msgid "Tint" -msgstr "Tint" +#. (itstool) path: page/title +#: C/view-sidebar.page:21 +msgid "The sidebar" +msgstr "Sidopanelen" -#: C/edit-adjustments.page:33(p) +#. (itstool) path: page/p +#: C/view-sidebar.page:23 msgid "" -"This tints the photo with a color. It's useful for correcting photos taken " -"with the wrong white balance setting, which typically have an unnatural " -"color cast. For example, photos taken outdoors with the white balance set to " -"\"Tungsten\" may have a blue cast." +"The sidebar on the left side of the Shotwell window lists various views of " +"your library. Although you may see the same photo in multiple views, it's " +"only stored once on your hard drive." msgstr "" -"Tonar bilden med en färg. Användbart för att korrigera bilder tagna med fel " -"vitbalansinställning, som vanligen har en onaturlig färg. Exempelvis, bilder " -"tagna utomhus med vitbalansen inställd till ”Tungsten” kan ha en blå toning." - -#: C/edit-adjustments.page:36(title) -msgid "Temperature" -msgstr "Temperatur" +"Sidopanelen på den vänstra sidan av Shotwell-fönstret listar olika vyer över " +"ditt bibliotek. Fastän du kan se samma bild i olika vyer är den endast " +"lagrad en gång på din hårddisk." -#: C/edit-adjustments.page:37(p) +#. (itstool) path: page/p +#: C/view-sidebar.page:25 msgid "" -"Changes how \"warm\" or \"cool\" the picture looks. Use this to make cold, " -"depressing scenes look more lively, for example." +"The <gui>Last Import</gui> view lists your last imported photos no matter if " +"they are imported from F-Spot, your camera, a memory card or the hard disk." msgstr "" -"Ändrar hur ”varm” eller ”kall” bilden ser ut. Använd exempelvis denna för " -"att få kalla, deprimerande motiv att se mer levande ut." +"Vyn <gui>Senaste import</gui> listar dina senast importerade bilder oavsett " +"om de är importerade från F-Spot, din kamera, ett minneskort eller " +"hårddisken." -#: C/edit-adjustments.page:40(title) -msgid "Shadows" -msgstr "Skuggor" +#. (itstool) path: page/p +#: C/view-sidebar.page:27 +msgid "The <gui>Flagged</gui> lists all photos you had previous flagged." +msgstr "<gui>Flaggade</gui> listar alla bilder du tidigare flaggat." -#: C/edit-adjustments.page:41(p) +#. (itstool) path: page/p +#: C/view-sidebar.page:29 msgid "" -"This makes shadowy areas appear lighter. Use this to make detail more " -"visible if it's obscured by the darkness of a shadow." +"The <gui>Saved Search</gui> allows you to sort your library by many criteria." msgstr "" -"Får skuggområden att se ljusare ut. Använd denna för att få fram fler " -"detaljer om något döljs av skuggor." +"<gui>Sparad sökning</gui> låter dig sortera ditt bibliotek efter flera " +"kriterier." -#: C/edit-adjustments.page:44(title) -msgid "Intensity Threshold (sliders on the histogram)" -msgstr "Intensitettröskelvärde (skjutreglage på histogrammet)" +#. (itstool) path: page/p +#: C/view-sidebar.page:31 +msgid "" +"The <gui>Events</gui> folder lists all events in your library. An event is a " +"group of photos that were taken at approximately the same time." +msgstr "" +"Mappen <gui>Händelser</gui> listar alla händelser i ditt bibliotek. En " +"händelser är en grupp av bilder som tagits ungefär samtidigt." -#: C/edit-adjustments.page:45(p) +#. (itstool) path: page/p +#: C/view-sidebar.page:33 msgid "" -"These sliders change how light the brightest white is and how dark the " -"darkest black is. Use them to change the contrast of the photo. Photos which " -"look washed out should particularly benefit from changing these settings." +"The <gui>Tags</gui> folder lists all tags you've assigned to photos. Photos " +"can have multiple tags attached to them. When you click on the name of a tag " +"in the sidebar, you will see all the photos associated with that tag." msgstr "" -"Skjutreglagen ändrar hur ljus den ljusaste vit är, och hur mörk den mörkaste " -"svarta är. Använd dem för att ändra kontrasten på en bild. Speciellt bilder " -"som ser urblekta ut bör ha nytta av att ändra dessa inställningar." +"Mappen <gui>Taggar</gui> listar alla taggar du tilldelat till bilder. Bilder " +"kan ha flera taggar kopplade till dem. När du klickar på namnet på en tagg i " +"sidopanelen kommer du att se alla bilder associerade med den taggen." -#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2 -#: C/edit-adjustments.page:0(None) -msgid "translator-credits" -msgstr "Josef Andersson <josef.andersson@fripost.org>, 2015" +#~ msgid "Facebook" +#~ msgstr "Facebook" + +#~ msgid "Flickr" +#~ msgstr "Flickr" + +#~ msgid "Symbol" +#~ msgstr "Symbol" + +#~ msgid "" +#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd" +#~ msgstr "" +#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd" + +#~ msgid "jim@yorba.org" +#~ msgstr "jim@yorba.org" + +#~ msgid "allison@yorba.org" +#~ msgstr "allison@yorba.org" + +#~ msgid "robert.ancell@canonical.com" +#~ msgstr "robert.ancell@canonical.com" + +#~ msgid "pdo.smith@gmail.com" +#~ msgstr "pdo.smith@gmail.com" + +#~ msgid "philbull@gmail.com" +#~ msgstr "philbull@gmail.com" diff --git a/help/sv/view-displaying.page b/help/sv/view-displaying.page index 2140546..f904797 100644 --- a/help/sv/view-displaying.page +++ b/help/sv/view-displaying.page @@ -6,7 +6,19 @@ <desc>Lär dig olika sätt att visa dina bilder: i ett rutnät som fyller huvudfönstret eller hela skärmen.</desc> <link type="next" xref="view-sidebar"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Bildvyer</title> diff --git a/help/sv/view-information.page b/help/sv/view-information.page index e7df6c6..1daaac2 100644 --- a/help/sv/view-information.page +++ b/help/sv/view-information.page @@ -6,7 +6,19 @@ <desc>Visa detaljerad information om bilder, som exponeringsläge använt av kameran.</desc> <link type="next" xref="view-view"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Grundläggande och utökad information</title> diff --git a/help/sv/view-sidebar.page b/help/sv/view-sidebar.page index cbedffa..0920377 100644 --- a/help/sv/view-sidebar.page +++ b/help/sv/view-sidebar.page @@ -15,7 +15,19 @@ <link type="seealso" xref="import-camera"/> <link type="next" xref="view-information"/> - </info> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Josef Andersson</mal:name> + <mal:email>josef.andersson@fripost.org</mal:email> + <mal:years>2015</mal:years> + </mal:credit> + + <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> + <mal:name>Anders Jonsson</mal:name> + <mal:email>anders.jonsson@norsjovallen.se</mal:email> + <mal:years>2016</mal:years> + </mal:credit> + </info> <title>Sidopanelen</title> diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 10ab284..ee80844 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([ cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. diff --git a/plugins/common/RESTSupport.c b/plugins/common/RESTSupport.c index fe85fe6..ea543cb 100644 --- a/plugins/common/RESTSupport.c +++ b/plugins/common/RESTSupport.c @@ -1,4 +1,4 @@ -/* RESTSupport.c generated by valac 0.32.1, the Vala compiler +/* RESTSupport.c generated by valac 0.34.1, the Vala compiler * generated from RESTSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -743,39 +743,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 774 "RESTSupport.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 780 "RESTSupport.c" } @@ -4744,19 +4744,19 @@ static gchar* string_chug (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1199 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1199 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strchug (_tmp1_); -#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4761 "RESTSupport.c" } @@ -4767,19 +4767,19 @@ static gchar* string_chomp (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strchomp (_tmp1_); -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4784 "RESTSupport.c" } @@ -6224,15 +6224,15 @@ static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_ = 0L; gunichar _tmp1_ = 0U; -#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0U); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6237 "RESTSupport.c" } @@ -8376,35 +8376,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 8376 "RESTSupport.c" gchar* _tmp4_ = NULL; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8384 "RESTSupport.c" } else { -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8390 "RESTSupport.c" } @@ -8418,37 +8418,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 8414 "RESTSupport.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8422 "RESTSupport.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8434 "RESTSupport.c" } @@ -8468,112 +8468,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 8458 "RESTSupport.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 8464 "RESTSupport.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 8468 "RESTSupport.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 8472 "RESTSupport.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 8484 "RESTSupport.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 8494 "RESTSupport.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 8500 "RESTSupport.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 8530 "RESTSupport.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 8539 "RESTSupport.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8559 "RESTSupport.c" } diff --git a/plugins/common/Resources.c b/plugins/common/Resources.c index dc7428b..5ff91d7 100644 --- a/plugins/common/Resources.c +++ b/plugins/common/Resources.c @@ -1,4 +1,4 @@ -/* Resources.c generated by valac 0.32.1, the Vala compiler +/* Resources.c generated by valac 0.34.1, the Vala compiler * generated from Resources.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotDatabase.c b/plugins/shotwell-data-imports/FSpotDatabase.c index 31d70a7..8db5f91 100644 --- a/plugins/shotwell-data-imports/FSpotDatabase.c +++ b/plugins/shotwell-data-imports/FSpotDatabase.c @@ -1,4 +1,4 @@ -/* FSpotDatabase.c generated by valac 0.32.1, the Vala compiler +/* FSpotDatabase.c generated by valac 0.34.1, the Vala compiler * generated from FSpotDatabase.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c b/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c index b20f73f..8217032 100644 --- a/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c +++ b/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c @@ -1,4 +1,4 @@ -/* FSpotDatabaseBehavior.c generated by valac 0.32.1, the Vala compiler +/* FSpotDatabaseBehavior.c generated by valac 0.34.1, the Vala compiler * generated from FSpotDatabaseBehavior.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotDatabaseTable.c b/plugins/shotwell-data-imports/FSpotDatabaseTable.c index 48e5030..fd4644e 100644 --- a/plugins/shotwell-data-imports/FSpotDatabaseTable.c +++ b/plugins/shotwell-data-imports/FSpotDatabaseTable.c @@ -1,4 +1,4 @@ -/* FSpotDatabaseTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotDatabaseTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotDatabaseTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -211,72 +211,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 221 "FSpotDatabaseTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 231 "FSpotDatabaseTable.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 241 "FSpotDatabaseTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 247 "FSpotDatabaseTable.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 258 "FSpotDatabaseTable.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 270 "FSpotDatabaseTable.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 274 "FSpotDatabaseTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 278 "FSpotDatabaseTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 282 "FSpotDatabaseTable.c" gint i = 0; @@ -299,16 +299,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 305 "FSpotDatabaseTable.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 314 "FSpotDatabaseTable.c" gboolean _tmp11_ = FALSE; @@ -321,97 +321,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 327 "FSpotDatabaseTable.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 333 "FSpotDatabaseTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 343 "FSpotDatabaseTable.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 355 "FSpotDatabaseTable.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 359 "FSpotDatabaseTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 365 "FSpotDatabaseTable.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 376 "FSpotDatabaseTable.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 391 "FSpotDatabaseTable.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 395 "FSpotDatabaseTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 399 "FSpotDatabaseTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 405 "FSpotDatabaseTable.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 417 "FSpotDatabaseTable.c" gchar** _tmp25_ = NULL; @@ -420,91 +420,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 438 "FSpotDatabaseTable.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 442 "FSpotDatabaseTable.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 448 "FSpotDatabaseTable.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 455 "FSpotDatabaseTable.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 463 "FSpotDatabaseTable.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 501 "FSpotDatabaseTable.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 510 "FSpotDatabaseTable.c" gint _tmp48_ = 0; @@ -520,94 +520,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 526 "FSpotDatabaseTable.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 532 "FSpotDatabaseTable.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 546 "FSpotDatabaseTable.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 566 "FSpotDatabaseTable.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 581 "FSpotDatabaseTable.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 585 "FSpotDatabaseTable.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 593 "FSpotDatabaseTable.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 604 "FSpotDatabaseTable.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 613 "FSpotDatabaseTable.c" } diff --git a/plugins/shotwell-data-imports/FSpotImporter.c b/plugins/shotwell-data-imports/FSpotImporter.c index 5cb73d5..5edf5b6 100644 --- a/plugins/shotwell-data-imports/FSpotImporter.c +++ b/plugins/shotwell-data-imports/FSpotImporter.c @@ -1,4 +1,4 @@ -/* FSpotImporter.c generated by valac 0.32.1, the Vala compiler +/* FSpotImporter.c generated by valac 0.34.1, the Vala compiler * generated from FSpotImporter.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1661,33 +1661,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde gunichar _tmp1_ = 0U; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = c; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 1665 "FSpotImporter.c" gchar* _tmp4_ = NULL; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1673 "FSpotImporter.c" } else { -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1679 "FSpotImporter.c" } @@ -1711,103 +1711,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 1713 "FSpotImporter.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 1722 "FSpotImporter.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 1728 "FSpotImporter.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 1737 "FSpotImporter.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 1743 "FSpotImporter.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 1752 "FSpotImporter.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 1756 "FSpotImporter.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 1764 "FSpotImporter.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 1773 "FSpotImporter.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 1777 "FSpotImporter.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1799 "FSpotImporter.c" } @@ -1817,15 +1817,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1817 "FSpotImporter.c" } @@ -1838,37 +1838,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 1840 "FSpotImporter.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1848 "FSpotImporter.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1860 "FSpotImporter.c" } @@ -1888,112 +1888,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 1884 "FSpotImporter.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 1890 "FSpotImporter.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 1894 "FSpotImporter.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 1898 "FSpotImporter.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 1910 "FSpotImporter.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 1920 "FSpotImporter.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 1926 "FSpotImporter.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 1940 "FSpotImporter.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 1950 "FSpotImporter.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 1956 "FSpotImporter.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 1965 "FSpotImporter.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1985 "FSpotImporter.c" } diff --git a/plugins/shotwell-data-imports/FSpotMetaTable.c b/plugins/shotwell-data-imports/FSpotMetaTable.c index 5b8a0c1..94fd7c5 100644 --- a/plugins/shotwell-data-imports/FSpotMetaTable.c +++ b/plugins/shotwell-data-imports/FSpotMetaTable.c @@ -1,4 +1,4 @@ -/* FSpotMetaTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotMetaTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotMetaTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -302,72 +302,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 312 "FSpotMetaTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 322 "FSpotMetaTable.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 332 "FSpotMetaTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 338 "FSpotMetaTable.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 349 "FSpotMetaTable.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 361 "FSpotMetaTable.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 365 "FSpotMetaTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 369 "FSpotMetaTable.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 373 "FSpotMetaTable.c" gint i = 0; @@ -390,16 +390,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 396 "FSpotMetaTable.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 405 "FSpotMetaTable.c" gboolean _tmp11_ = FALSE; @@ -412,97 +412,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 418 "FSpotMetaTable.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 424 "FSpotMetaTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 434 "FSpotMetaTable.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 446 "FSpotMetaTable.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 450 "FSpotMetaTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 456 "FSpotMetaTable.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 467 "FSpotMetaTable.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 482 "FSpotMetaTable.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 486 "FSpotMetaTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 490 "FSpotMetaTable.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 496 "FSpotMetaTable.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 508 "FSpotMetaTable.c" gchar** _tmp25_ = NULL; @@ -511,91 +511,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 529 "FSpotMetaTable.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 533 "FSpotMetaTable.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 539 "FSpotMetaTable.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 546 "FSpotMetaTable.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 554 "FSpotMetaTable.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 592 "FSpotMetaTable.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 601 "FSpotMetaTable.c" gint _tmp48_ = 0; @@ -611,94 +611,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 617 "FSpotMetaTable.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 623 "FSpotMetaTable.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 637 "FSpotMetaTable.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 657 "FSpotMetaTable.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 672 "FSpotMetaTable.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 676 "FSpotMetaTable.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 684 "FSpotMetaTable.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 695 "FSpotMetaTable.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 704 "FSpotMetaTable.c" } @@ -1113,15 +1113,15 @@ static gint64 int64_parse (const gchar* str) { gint64 result = 0LL; const gchar* _tmp0_ = NULL; gint64 _tmp1_ = 0LL; -#line 679 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 679 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (str != NULL, 0LL); -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_ascii_strtoll (_tmp0_, NULL, (guint) 0); -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1127 "FSpotMetaTable.c" } diff --git a/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c b/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c index 27aca60..773290c 100644 --- a/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c +++ b/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c @@ -1,4 +1,4 @@ -/* FSpotPhotoTagsTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotPhotoTagsTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotPhotoTagsTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c b/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c index 92b63eb..554c956 100644 --- a/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c +++ b/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c @@ -1,4 +1,4 @@ -/* FSpotPhotoVersionsTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotPhotoVersionsTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotPhotoVersionsTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotPhotosTable.c b/plugins/shotwell-data-imports/FSpotPhotosTable.c index b610d4f..20cb92a 100644 --- a/plugins/shotwell-data-imports/FSpotPhotosTable.c +++ b/plugins/shotwell-data-imports/FSpotPhotosTable.c @@ -1,4 +1,4 @@ -/* FSpotPhotosTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotPhotosTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotPhotosTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotRollsTable.c b/plugins/shotwell-data-imports/FSpotRollsTable.c index 2814b00..a4c521b 100644 --- a/plugins/shotwell-data-imports/FSpotRollsTable.c +++ b/plugins/shotwell-data-imports/FSpotRollsTable.c @@ -1,4 +1,4 @@ -/* FSpotRollsTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotRollsTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotRollsTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotTableBehavior.c b/plugins/shotwell-data-imports/FSpotTableBehavior.c index 77543b8..a4866ce 100644 --- a/plugins/shotwell-data-imports/FSpotTableBehavior.c +++ b/plugins/shotwell-data-imports/FSpotTableBehavior.c @@ -1,4 +1,4 @@ -/* FSpotTableBehavior.c generated by valac 0.32.1, the Vala compiler +/* FSpotTableBehavior.c generated by valac 0.34.1, the Vala compiler * generated from FSpotTableBehavior.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/FSpotTagsTable.c b/plugins/shotwell-data-imports/FSpotTagsTable.c index 93805e4..32a4f94 100644 --- a/plugins/shotwell-data-imports/FSpotTagsTable.c +++ b/plugins/shotwell-data-imports/FSpotTagsTable.c @@ -1,4 +1,4 @@ -/* FSpotTagsTable.c generated by valac 0.32.1, the Vala compiler +/* FSpotTagsTable.c generated by valac 0.34.1, the Vala compiler * generated from FSpotTagsTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/SqliteSupport.c b/plugins/shotwell-data-imports/SqliteSupport.c index 4abfac9..a5c9f31 100644 --- a/plugins/shotwell-data-imports/SqliteSupport.c +++ b/plugins/shotwell-data-imports/SqliteSupport.c @@ -1,4 +1,4 @@ -/* SqliteSupport.c generated by valac 0.32.1, the Vala compiler +/* SqliteSupport.c generated by valac 0.34.1, the Vala compiler * generated from SqliteSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-data-imports/VersionNumber.c b/plugins/shotwell-data-imports/VersionNumber.c index dec3778..46de879 100644 --- a/plugins/shotwell-data-imports/VersionNumber.c +++ b/plugins/shotwell-data-imports/VersionNumber.c @@ -1,4 +1,4 @@ -/* VersionNumber.c generated by valac 0.32.1, the Vala compiler +/* VersionNumber.c generated by valac 0.34.1, the Vala compiler * generated from VersionNumber.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -246,72 +246,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 256 "VersionNumber.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 266 "VersionNumber.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 276 "VersionNumber.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 282 "VersionNumber.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 293 "VersionNumber.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 305 "VersionNumber.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 309 "VersionNumber.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 313 "VersionNumber.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 317 "VersionNumber.c" gint i = 0; @@ -334,16 +334,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 340 "VersionNumber.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 349 "VersionNumber.c" gboolean _tmp11_ = FALSE; @@ -356,97 +356,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 362 "VersionNumber.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 368 "VersionNumber.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 378 "VersionNumber.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 390 "VersionNumber.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 394 "VersionNumber.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 400 "VersionNumber.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 411 "VersionNumber.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 426 "VersionNumber.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 430 "VersionNumber.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 434 "VersionNumber.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 440 "VersionNumber.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 452 "VersionNumber.c" gchar** _tmp25_ = NULL; @@ -455,91 +455,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 473 "VersionNumber.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 477 "VersionNumber.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 483 "VersionNumber.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 490 "VersionNumber.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 498 "VersionNumber.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 536 "VersionNumber.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 545 "VersionNumber.c" gint _tmp48_ = 0; @@ -555,94 +555,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 561 "VersionNumber.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 567 "VersionNumber.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 581 "VersionNumber.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 601 "VersionNumber.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 616 "VersionNumber.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 620 "VersionNumber.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 628 "VersionNumber.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 639 "VersionNumber.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 648 "VersionNumber.c" } diff --git a/plugins/shotwell-data-imports/shotwell-data-imports.c b/plugins/shotwell-data-imports/shotwell-data-imports.c index 0c8ea43..6bc819c 100644 --- a/plugins/shotwell-data-imports/shotwell-data-imports.c +++ b/plugins/shotwell-data-imports/shotwell-data-imports.c @@ -1,4 +1,4 @@ -/* shotwell-data-imports.c generated by valac 0.32.1, the Vala compiler +/* shotwell-data-imports.c generated by valac 0.34.1, the Vala compiler * generated from shotwell-data-imports.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-plugin-common.h b/plugins/shotwell-plugin-common.h index a50ee95..f0e19f5 100644 --- a/plugins/shotwell-plugin-common.h +++ b/plugins/shotwell-plugin-common.h @@ -1,4 +1,4 @@ -/* shotwell-plugin-common.h generated by valac 0.32.1, the Vala compiler, do not modify */ +/* shotwell-plugin-common.h generated by valac 0.34.1, the Vala compiler, do not modify */ #ifndef __PLUGINS_SHOTWELL_PLUGIN_COMMON_H__ diff --git a/plugins/shotwell-plugin-common.vapi b/plugins/shotwell-plugin-common.vapi index 39d0cdd..8b1a0e1 100644 --- a/plugins/shotwell-plugin-common.vapi +++ b/plugins/shotwell-plugin-common.vapi @@ -1,4 +1,4 @@ -/* shotwell-plugin-common.vapi generated by valac 0.32.1, do not modify. */ +/* shotwell-plugin-common.vapi generated by valac 0.34.1, do not modify. */ namespace Publishing { namespace RESTSupport { diff --git a/plugins/shotwell-plugin-dev-1.0.h b/plugins/shotwell-plugin-dev-1.0.h index fb72125..1fc97db 100644 --- a/plugins/shotwell-plugin-dev-1.0.h +++ b/plugins/shotwell-plugin-dev-1.0.h @@ -1,4 +1,4 @@ -/* shotwell-plugin-dev-1.0.h generated by valac 0.32.1, the Vala compiler, do not modify */ +/* shotwell-plugin-dev-1.0.h generated by valac 0.34.1, the Vala compiler, do not modify */ #ifndef __PLUGINS_SHOTWELL_PLUGIN_DEV_1_0_H__ diff --git a/plugins/shotwell-plugin-dev-1.0.vapi b/plugins/shotwell-plugin-dev-1.0.vapi index e065dab..3af85d1 100644 --- a/plugins/shotwell-plugin-dev-1.0.vapi +++ b/plugins/shotwell-plugin-dev-1.0.vapi @@ -1,4 +1,4 @@ -/* shotwell-plugin-dev-1.0.vapi generated by valac 0.32.1, do not modify. */ +/* shotwell-plugin-dev-1.0.vapi generated by valac 0.34.1, do not modify. */ namespace Spit { namespace DataImports { diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.c b/plugins/shotwell-publishing-extras/GalleryConnector.c index bf0174a..716b48e 100644 --- a/plugins/shotwell-publishing-extras/GalleryConnector.c +++ b/plugins/shotwell-publishing-extras/GalleryConnector.c @@ -1,4 +1,4 @@ -/* GalleryConnector.c generated by valac 0.32.1, the Vala compiler +/* GalleryConnector.c generated by valac 0.34.1, the Vala compiler * generated from GalleryConnector.vala, do not modify */ /* Copyright 2012-2013 Joe Sapp nixphoeni@gentoo.org @@ -2105,15 +2105,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2088 "GalleryConnector.c" } @@ -2499,103 +2499,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 2484 "GalleryConnector.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 2493 "GalleryConnector.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 2499 "GalleryConnector.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 2508 "GalleryConnector.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 2514 "GalleryConnector.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 2523 "GalleryConnector.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 2527 "GalleryConnector.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 2535 "GalleryConnector.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 2544 "GalleryConnector.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 2548 "GalleryConnector.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2570 "GalleryConnector.c" } @@ -3099,72 +3099,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 3078 "GalleryConnector.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 3088 "GalleryConnector.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 3098 "GalleryConnector.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 3104 "GalleryConnector.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 3115 "GalleryConnector.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 3127 "GalleryConnector.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 3131 "GalleryConnector.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 3135 "GalleryConnector.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 3139 "GalleryConnector.c" gint i = 0; @@ -3187,16 +3187,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 3162 "GalleryConnector.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 3171 "GalleryConnector.c" gboolean _tmp11_ = FALSE; @@ -3209,97 +3209,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 3184 "GalleryConnector.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 3190 "GalleryConnector.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 3200 "GalleryConnector.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 3212 "GalleryConnector.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 3216 "GalleryConnector.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 3222 "GalleryConnector.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 3233 "GalleryConnector.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 3248 "GalleryConnector.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 3252 "GalleryConnector.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 3256 "GalleryConnector.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 3262 "GalleryConnector.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 3274 "GalleryConnector.c" gchar** _tmp25_ = NULL; @@ -3308,91 +3308,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 3295 "GalleryConnector.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 3299 "GalleryConnector.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 3305 "GalleryConnector.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 3312 "GalleryConnector.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3320 "GalleryConnector.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 3358 "GalleryConnector.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 3367 "GalleryConnector.c" gint _tmp48_ = 0; @@ -3408,94 +3408,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 3383 "GalleryConnector.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 3389 "GalleryConnector.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 3403 "GalleryConnector.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 3423 "GalleryConnector.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 3438 "GalleryConnector.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 3442 "GalleryConnector.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 3450 "GalleryConnector.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3461 "GalleryConnector.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3470 "GalleryConnector.c" } @@ -3839,11 +3839,11 @@ static void _vala_array_add4 (PublishingGallery3Album*** array, int* length, int static const gchar* string_to_string (const gchar* self) { const gchar* result = NULL; -#line 1412 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1412 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = self; -#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3818 "GalleryConnector.c" } @@ -9928,19 +9928,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 9905 "GalleryConnector.c" } @@ -10047,37 +10047,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 10022 "GalleryConnector.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10030 "GalleryConnector.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10042 "GalleryConnector.c" } @@ -10097,112 +10097,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 10066 "GalleryConnector.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 10072 "GalleryConnector.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 10076 "GalleryConnector.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 10080 "GalleryConnector.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 10092 "GalleryConnector.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 10102 "GalleryConnector.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 10108 "GalleryConnector.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 10122 "GalleryConnector.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 10132 "GalleryConnector.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 10138 "GalleryConnector.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 10147 "GalleryConnector.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10167 "GalleryConnector.c" } @@ -10763,25 +10763,25 @@ static gchar* string_delimit (const gchar* self, const gchar* delimiters, gchar const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar _tmp3_ = '\0'; -#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (delimiters != NULL, NULL); -#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = delimiters; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = new_delimiter; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strdelimit (_tmp1_, _tmp2_, _tmp3_); -#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10746 "GalleryConnector.c" } @@ -12896,35 +12896,35 @@ static gint string_last_index_of (const gchar* self, const gchar* needle, gint s const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_strrstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 12873 "GalleryConnector.c" gchar* _tmp4_ = NULL; -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 12881 "GalleryConnector.c" } else { -#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 12887 "GalleryConnector.c" } diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.c b/plugins/shotwell-publishing-extras/RajcePublishing.c index 3653b1b..9ede44f 100644 --- a/plugins/shotwell-publishing-extras/RajcePublishing.c +++ b/plugins/shotwell-publishing-extras/RajcePublishing.c @@ -1,4 +1,4 @@ -/* RajcePublishing.c generated by valac 0.32.1, the Vala compiler +/* RajcePublishing.c generated by valac 0.34.1, the Vala compiler * generated from RajcePublishing.vala, do not modify */ /* Copyright 2014 rajce.net @@ -7756,19 +7756,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7770 "RajcePublishing.c" } diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.c b/plugins/shotwell-publishing-extras/TumblrPublishing.c index 5a6498a..71b6574 100644 --- a/plugins/shotwell-publishing-extras/TumblrPublishing.c +++ b/plugins/shotwell-publishing-extras/TumblrPublishing.c @@ -1,4 +1,4 @@ -/* TumblrPublishing.c generated by valac 0.32.1, the Vala compiler +/* TumblrPublishing.c generated by valac 0.34.1, the Vala compiler * generated from TumblrPublishing.vala, do not modify */ /* Copyright 2012 BJA Electronics @@ -2797,11 +2797,11 @@ static gpointer _json_object_ref0 (gpointer self) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 2801 "TumblrPublishing.c" { @@ -2816,73 +2816,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 2832 "TumblrPublishing.c" goto __catch35_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2841 "TumblrPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 2857 "TumblrPublishing.c" goto __catch35_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2868 "TumblrPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2882 "TumblrPublishing.c" } @@ -2890,24 +2890,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch35_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 2896 "TumblrPublishing.c" } __finally35: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2907 "TumblrPublishing.c" } @@ -6081,39 +6081,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 6095 "TumblrPublishing.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6101 "TumblrPublishing.c" } @@ -6126,72 +6126,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 6118 "TumblrPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 6128 "TumblrPublishing.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 6138 "TumblrPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 6144 "TumblrPublishing.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 6155 "TumblrPublishing.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 6167 "TumblrPublishing.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 6171 "TumblrPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 6175 "TumblrPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 6179 "TumblrPublishing.c" gint i = 0; @@ -6214,16 +6214,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 6202 "TumblrPublishing.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 6211 "TumblrPublishing.c" gboolean _tmp11_ = FALSE; @@ -6236,97 +6236,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 6224 "TumblrPublishing.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 6230 "TumblrPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 6240 "TumblrPublishing.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 6252 "TumblrPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 6256 "TumblrPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 6262 "TumblrPublishing.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 6273 "TumblrPublishing.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 6288 "TumblrPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 6292 "TumblrPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 6296 "TumblrPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 6302 "TumblrPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 6314 "TumblrPublishing.c" gchar** _tmp25_ = NULL; @@ -6335,91 +6335,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 6335 "TumblrPublishing.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 6339 "TumblrPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 6345 "TumblrPublishing.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 6352 "TumblrPublishing.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6360 "TumblrPublishing.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 6398 "TumblrPublishing.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 6407 "TumblrPublishing.c" gint _tmp48_ = 0; @@ -6435,94 +6435,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 6423 "TumblrPublishing.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 6429 "TumblrPublishing.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 6443 "TumblrPublishing.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 6463 "TumblrPublishing.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 6478 "TumblrPublishing.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 6482 "TumblrPublishing.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 6490 "TumblrPublishing.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6501 "TumblrPublishing.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6510 "TumblrPublishing.c" } @@ -8022,37 +8022,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 8017 "TumblrPublishing.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8025 "TumblrPublishing.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8037 "TumblrPublishing.c" } @@ -8072,112 +8072,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 8061 "TumblrPublishing.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 8067 "TumblrPublishing.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 8071 "TumblrPublishing.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 8075 "TumblrPublishing.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 8087 "TumblrPublishing.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 8097 "TumblrPublishing.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 8103 "TumblrPublishing.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 8117 "TumblrPublishing.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 8127 "TumblrPublishing.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 8133 "TumblrPublishing.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 8142 "TumblrPublishing.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8162 "TumblrPublishing.c" } diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.c b/plugins/shotwell-publishing-extras/YandexPublishing.c index 35dac7f..d13a33b 100644 --- a/plugins/shotwell-publishing-extras/YandexPublishing.c +++ b/plugins/shotwell-publishing-extras/YandexPublishing.c @@ -1,4 +1,4 @@ -/* YandexPublishing.c generated by valac 0.32.1, the Vala compiler +/* YandexPublishing.c generated by valac 0.34.1, the Vala compiler * generated from YandexPublishing.vala, do not modify */ /* Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net> @@ -2522,24 +2522,24 @@ GType publishing_yandex_uploader_get_type (void) { static gchar* bool_to_string (gboolean self) { gchar* result = NULL; -#line 37 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (self) { #line 2528 "YandexPublishing.c" gchar* _tmp0_ = NULL; -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup ("true"); -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp0_; -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2536 "YandexPublishing.c" } else { gchar* _tmp1_ = NULL; -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_strdup ("false"); -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2545 "YandexPublishing.c" } @@ -2565,39 +2565,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 2597 "YandexPublishing.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2603 "YandexPublishing.c" } diff --git a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c index 53262a3..4b6ea4b 100644 --- a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c +++ b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c @@ -1,4 +1,4 @@ -/* shotwell-publishing-extras.c generated by valac 0.32.1, the Vala compiler +/* shotwell-publishing-extras.c generated by valac 0.34.1, the Vala compiler * generated from shotwell-publishing-extras.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-publishing/FacebookPublishing.c b/plugins/shotwell-publishing/FacebookPublishing.c index e3cccd3..eaf143c 100644 --- a/plugins/shotwell-publishing/FacebookPublishing.c +++ b/plugins/shotwell-publishing/FacebookPublishing.c @@ -1,4 +1,4 @@ -/* FacebookPublishing.c generated by valac 0.32.1, the Vala compiler +/* FacebookPublishing.c generated by valac 0.34.1, the Vala compiler * generated from FacebookPublishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3476,35 +3476,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 3481 "FacebookPublishing.c" gchar* _tmp4_ = NULL; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3489 "FacebookPublishing.c" } else { -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3495 "FacebookPublishing.c" } @@ -3528,103 +3528,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 3529 "FacebookPublishing.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 3538 "FacebookPublishing.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 3544 "FacebookPublishing.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 3553 "FacebookPublishing.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 3559 "FacebookPublishing.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 3568 "FacebookPublishing.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 3572 "FacebookPublishing.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 3580 "FacebookPublishing.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 3589 "FacebookPublishing.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 3593 "FacebookPublishing.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3615 "FacebookPublishing.c" } @@ -3637,33 +3637,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde gunichar _tmp1_ = 0U; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = c; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 3640 "FacebookPublishing.c" gchar* _tmp4_ = NULL; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3648 "FacebookPublishing.c" } else { -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3654 "FacebookPublishing.c" } @@ -3673,11 +3673,11 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 3668 "FacebookPublishing.c" { @@ -3692,73 +3692,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 3699 "FacebookPublishing.c" goto __catch4_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3708 "FacebookPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 3724 "FacebookPublishing.c" goto __catch4_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3735 "FacebookPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3749 "FacebookPublishing.c" } @@ -3766,24 +3766,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch4_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 3763 "FacebookPublishing.c" } __finally4: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3774 "FacebookPublishing.c" } @@ -5471,17 +5471,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 5453 "FacebookPublishing.c" } @@ -10191,13 +10191,13 @@ static GType publishing_facebook_graph_session_graph_endpoint_probe_message_get_ static gchar* g_date_time_to_string (GDateTime* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 2785 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2834 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_date_time_format (self, "%FT%H:%M:%S%z"); -#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp0_; -#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10167 "FacebookPublishing.c" } diff --git a/plugins/shotwell-publishing/FlickrPublishing.c b/plugins/shotwell-publishing/FlickrPublishing.c index b4d74aa..3bada95 100644 --- a/plugins/shotwell-publishing/FlickrPublishing.c +++ b/plugins/shotwell-publishing/FlickrPublishing.c @@ -1,4 +1,4 @@ -/* FlickrPublishing.c generated by valac 0.32.1, the Vala compiler +/* FlickrPublishing.c generated by valac 0.34.1, the Vala compiler * generated from FlickrPublishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -211,7 +211,6 @@ typedef struct _PublishingFlickrPublishingOptionsPaneSizeEntryPrivate Publishing typedef struct _PublishingFlickrPublishingOptionsPaneParamSpecSizeEntry PublishingFlickrPublishingOptionsPaneParamSpecSizeEntry; typedef struct _PublishingFlickrPublishingOptionsPaneParamSpecVisibilityEntry PublishingFlickrPublishingOptionsPaneParamSpecVisibilityEntry; typedef struct _PublishingFlickrUploaderPrivate PublishingFlickrUploaderPrivate; -#define _gexiv2_metadata_free0(var) ((var == NULL) ? NULL : (var = (gexiv2_metadata_free (var), NULL))) #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } @@ -793,7 +792,7 @@ FlickrService* flickr_service_construct (GType object_type, GFile* resource_dire _tmp0__length1 = flickr_service_icon_pixbuf_set_length1; #line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp0_ == NULL) { -#line 791 "FlickrPublishing.c" +#line 790 "FlickrPublishing.c" gint _tmp1_ = 0; GdkPixbuf** _tmp2_ = NULL; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -806,18 +805,18 @@ FlickrService* flickr_service_construct (GType object_type, GFile* resource_dire flickr_service_icon_pixbuf_set_length1 = _tmp1_; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _flickr_service_icon_pixbuf_set_size_ = flickr_service_icon_pixbuf_set_length1; -#line 804 "FlickrPublishing.c" +#line 803 "FlickrPublishing.c" } #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 808 "FlickrPublishing.c" +#line 807 "FlickrPublishing.c" } FlickrService* flickr_service_new (GFile* resource_directory) { #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return flickr_service_construct (TYPE_FLICKR_SERVICE, resource_directory); -#line 815 "FlickrPublishing.c" +#line 814 "FlickrPublishing.c" } @@ -839,7 +838,7 @@ static gint flickr_service_real_get_pluggable_interface (SpitPluggable* base, gi result = _tmp2_; #line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 837 "FlickrPublishing.c" +#line 836 "FlickrPublishing.c" } @@ -852,7 +851,7 @@ static const gchar* flickr_service_real_get_id (SpitPluggable* base) { result = "org.yorba.shotwell.publishing.flickr"; #line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 850 "FlickrPublishing.c" +#line 849 "FlickrPublishing.c" } @@ -865,14 +864,14 @@ static const gchar* flickr_service_real_get_pluggable_name (SpitPluggable* base) result = "Flickr"; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 863 "FlickrPublishing.c" +#line 862 "FlickrPublishing.c" } static gpointer _g_object_ref0 (gpointer self) { #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? g_object_ref (self) : NULL; -#line 870 "FlickrPublishing.c" +#line 869 "FlickrPublishing.c" } @@ -883,17 +882,17 @@ static GdkPixbuf** _vala_array_dup7 (GdkPixbuf** self, int length) { result = g_new0 (GdkPixbuf*, length + 1); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (i = 0; i < length; i++) { -#line 881 "FlickrPublishing.c" +#line 880 "FlickrPublishing.c" GdkPixbuf* _tmp0_ = NULL; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp0_ = _g_object_ref0 (self[i]); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result[i] = _tmp0_; -#line 887 "FlickrPublishing.c" +#line 886 "FlickrPublishing.c" } #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 891 "FlickrPublishing.c" +#line 890 "FlickrPublishing.c" } @@ -975,7 +974,7 @@ static void flickr_service_real_get_info (SpitPluggable* base, SpitPluggableInfo (*info).icons = _tmp9_; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*info).icons_length1 = _tmp9__length1; -#line 973 "FlickrPublishing.c" +#line 972 "FlickrPublishing.c" } @@ -983,7 +982,7 @@ static void flickr_service_real_activation (SpitPluggable* base, gboolean enable FlickrService * self; #line 43 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FLICKR_SERVICE, FlickrService); -#line 981 "FlickrPublishing.c" +#line 980 "FlickrPublishing.c" } @@ -1004,7 +1003,7 @@ static SpitPublishingPublisher* flickr_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/FlickrPublishing.vala" return result; -#line 1002 "FlickrPublishing.c" +#line 1001 "FlickrPublishing.c" } @@ -1017,7 +1016,7 @@ static SpitPublishingPublisherMediaType flickr_service_real_get_supported_media result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO; #line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1015 "FlickrPublishing.c" +#line 1014 "FlickrPublishing.c" } @@ -1026,7 +1025,7 @@ static void flickr_service_class_init (FlickrServiceClass * klass) { flickr_service_parent_class = g_type_class_peek_parent (klass); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (klass)->finalize = flickr_service_finalize; -#line 1024 "FlickrPublishing.c" +#line 1023 "FlickrPublishing.c" } @@ -1043,7 +1042,7 @@ static void flickr_service_spit_pluggable_interface_init (SpitPluggableIface * i iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) flickr_service_real_get_info; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" iface->activation = (void (*)(SpitPluggable*, gboolean)) flickr_service_real_activation; -#line 1041 "FlickrPublishing.c" +#line 1040 "FlickrPublishing.c" } @@ -1054,7 +1053,7 @@ static void flickr_service_spit_publishing_service_interface_init (SpitPublishin iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) flickr_service_real_create_publisher; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) flickr_service_real_get_supported_media; -#line 1052 "FlickrPublishing.c" +#line 1051 "FlickrPublishing.c" } @@ -1068,7 +1067,7 @@ static void flickr_service_finalize (GObject* obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_FLICKR_SERVICE, FlickrService); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (flickr_service_parent_class)->finalize (obj); -#line 1066 "FlickrPublishing.c" +#line 1065 "FlickrPublishing.c" } @@ -1121,21 +1120,21 @@ PublishingFlickrVisibilitySpecification* publishing_flickr_visibility_specificat self->everyone_level = _tmp2_; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 1119 "FlickrPublishing.c" +#line 1118 "FlickrPublishing.c" } PublishingFlickrVisibilitySpecification* publishing_flickr_visibility_specification_new (gint friends_level, gint family_level, gint everyone_level) { #line 80 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_visibility_specification_construct (PUBLISHING_FLICKR_TYPE_VISIBILITY_SPECIFICATION, friends_level, family_level, everyone_level); -#line 1126 "FlickrPublishing.c" +#line 1125 "FlickrPublishing.c" } static void publishing_flickr_value_visibility_specification_init (GValue* value) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1133 "FlickrPublishing.c" +#line 1132 "FlickrPublishing.c" } @@ -1144,7 +1143,7 @@ static void publishing_flickr_value_visibility_specification_free_value (GValue* if (value->data[0].v_pointer) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_visibility_specification_unref (value->data[0].v_pointer); -#line 1142 "FlickrPublishing.c" +#line 1141 "FlickrPublishing.c" } } @@ -1154,11 +1153,11 @@ static void publishing_flickr_value_visibility_specification_copy_value (const G if (src_value->data[0].v_pointer) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = publishing_flickr_visibility_specification_ref (src_value->data[0].v_pointer); -#line 1152 "FlickrPublishing.c" +#line 1151 "FlickrPublishing.c" } else { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1156 "FlickrPublishing.c" +#line 1155 "FlickrPublishing.c" } } @@ -1166,37 +1165,37 @@ static void publishing_flickr_value_visibility_specification_copy_value (const G static gpointer publishing_flickr_value_visibility_specification_peek_pointer (const GValue* value) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 1164 "FlickrPublishing.c" +#line 1163 "FlickrPublishing.c" } static gchar* publishing_flickr_value_visibility_specification_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (collect_values[0].v_pointer) { -#line 1171 "FlickrPublishing.c" +#line 1170 "FlickrPublishing.c" PublishingFlickrVisibilitySpecification* object; object = collect_values[0].v_pointer; #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1178 "FlickrPublishing.c" +#line 1177 "FlickrPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.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 1182 "FlickrPublishing.c" +#line 1181 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = publishing_flickr_visibility_specification_ref (object); -#line 1186 "FlickrPublishing.c" +#line 1185 "FlickrPublishing.c" } else { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1190 "FlickrPublishing.c" +#line 1189 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 1194 "FlickrPublishing.c" +#line 1193 "FlickrPublishing.c" } @@ -1207,25 +1206,25 @@ static gchar* publishing_flickr_value_visibility_specification_lcopy_value (cons if (!object_p) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1205 "FlickrPublishing.c" +#line 1204 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!value->data[0].v_pointer) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = NULL; -#line 1211 "FlickrPublishing.c" +#line 1210 "FlickrPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1215 "FlickrPublishing.c" +#line 1214 "FlickrPublishing.c" } else { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = publishing_flickr_visibility_specification_ref (value->data[0].v_pointer); -#line 1219 "FlickrPublishing.c" +#line 1218 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 1223 "FlickrPublishing.c" +#line 1222 "FlickrPublishing.c" } @@ -1239,7 +1238,7 @@ GParamSpec* publishing_flickr_param_spec_visibility_specification (const gchar* G_PARAM_SPEC (spec)->value_type = object_type; #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return G_PARAM_SPEC (spec); -#line 1237 "FlickrPublishing.c" +#line 1236 "FlickrPublishing.c" } @@ -1248,7 +1247,7 @@ gpointer publishing_flickr_value_get_visibility_specification (const GValue* val g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FLICKR_TYPE_VISIBILITY_SPECIFICATION), NULL); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 1246 "FlickrPublishing.c" +#line 1245 "FlickrPublishing.c" } @@ -1268,17 +1267,17 @@ void publishing_flickr_value_set_visibility_specification (GValue* value, gpoint value->data[0].v_pointer = v_object; #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_visibility_specification_ref (value->data[0].v_pointer); -#line 1266 "FlickrPublishing.c" +#line 1265 "FlickrPublishing.c" } else { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1270 "FlickrPublishing.c" +#line 1269 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_visibility_specification_unref (old); -#line 1276 "FlickrPublishing.c" +#line 1275 "FlickrPublishing.c" } } @@ -1297,17 +1296,17 @@ void publishing_flickr_value_take_visibility_specification (GValue* value, gpoin g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = v_object; -#line 1295 "FlickrPublishing.c" +#line 1294 "FlickrPublishing.c" } else { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1299 "FlickrPublishing.c" +#line 1298 "FlickrPublishing.c" } #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_visibility_specification_unref (old); -#line 1305 "FlickrPublishing.c" +#line 1304 "FlickrPublishing.c" } } @@ -1317,14 +1316,14 @@ static void publishing_flickr_visibility_specification_class_init (PublishingFli publishing_flickr_visibility_specification_parent_class = g_type_class_peek_parent (klass); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingFlickrVisibilitySpecificationClass *) klass)->finalize = publishing_flickr_visibility_specification_finalize; -#line 1315 "FlickrPublishing.c" +#line 1314 "FlickrPublishing.c" } static void publishing_flickr_visibility_specification_instance_init (PublishingFlickrVisibilitySpecification * self) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->ref_count = 1; -#line 1322 "FlickrPublishing.c" +#line 1321 "FlickrPublishing.c" } @@ -1334,7 +1333,7 @@ static void publishing_flickr_visibility_specification_finalize (PublishingFlick self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FLICKR_TYPE_VISIBILITY_SPECIFICATION, PublishingFlickrVisibilitySpecification); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_handlers_destroy (self); -#line 1332 "FlickrPublishing.c" +#line 1331 "FlickrPublishing.c" } @@ -1359,7 +1358,7 @@ gpointer publishing_flickr_visibility_specification_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return instance; -#line 1357 "FlickrPublishing.c" +#line 1356 "FlickrPublishing.c" } @@ -1372,7 +1371,7 @@ void publishing_flickr_visibility_specification_unref (gpointer instance) { PUBLISHING_FLICKR_VISIBILITY_SPECIFICATION_GET_CLASS (self)->finalize (self); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1370 "FlickrPublishing.c" +#line 1369 "FlickrPublishing.c" } } @@ -1383,21 +1382,21 @@ PublishingFlickrPublishingParameters* publishing_flickr_publishing_parameters_co self = (PublishingFlickrPublishingParameters*) g_type_create_instance (object_type); #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 1381 "FlickrPublishing.c" +#line 1380 "FlickrPublishing.c" } PublishingFlickrPublishingParameters* publishing_flickr_publishing_parameters_new (void) { #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_publishing_parameters_construct (PUBLISHING_FLICKR_TYPE_PUBLISHING_PARAMETERS); -#line 1388 "FlickrPublishing.c" +#line 1387 "FlickrPublishing.c" } static void publishing_flickr_value_publishing_parameters_init (GValue* value) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1395 "FlickrPublishing.c" +#line 1394 "FlickrPublishing.c" } @@ -1406,7 +1405,7 @@ static void publishing_flickr_value_publishing_parameters_free_value (GValue* va if (value->data[0].v_pointer) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_parameters_unref (value->data[0].v_pointer); -#line 1404 "FlickrPublishing.c" +#line 1403 "FlickrPublishing.c" } } @@ -1416,11 +1415,11 @@ static void publishing_flickr_value_publishing_parameters_copy_value (const GVal if (src_value->data[0].v_pointer) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = publishing_flickr_publishing_parameters_ref (src_value->data[0].v_pointer); -#line 1414 "FlickrPublishing.c" +#line 1413 "FlickrPublishing.c" } else { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1418 "FlickrPublishing.c" +#line 1417 "FlickrPublishing.c" } } @@ -1428,37 +1427,37 @@ static void publishing_flickr_value_publishing_parameters_copy_value (const GVal static gpointer publishing_flickr_value_publishing_parameters_peek_pointer (const GValue* value) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 1426 "FlickrPublishing.c" +#line 1425 "FlickrPublishing.c" } static gchar* publishing_flickr_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (collect_values[0].v_pointer) { -#line 1433 "FlickrPublishing.c" +#line 1432 "FlickrPublishing.c" PublishingFlickrPublishingParameters* object; object = collect_values[0].v_pointer; #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1440 "FlickrPublishing.c" +#line 1439 "FlickrPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.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 1444 "FlickrPublishing.c" +#line 1443 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = publishing_flickr_publishing_parameters_ref (object); -#line 1448 "FlickrPublishing.c" +#line 1447 "FlickrPublishing.c" } else { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1452 "FlickrPublishing.c" +#line 1451 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 1456 "FlickrPublishing.c" +#line 1455 "FlickrPublishing.c" } @@ -1469,25 +1468,25 @@ static gchar* publishing_flickr_value_publishing_parameters_lcopy_value (const G if (!object_p) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1467 "FlickrPublishing.c" +#line 1466 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!value->data[0].v_pointer) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = NULL; -#line 1473 "FlickrPublishing.c" +#line 1472 "FlickrPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1477 "FlickrPublishing.c" +#line 1476 "FlickrPublishing.c" } else { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = publishing_flickr_publishing_parameters_ref (value->data[0].v_pointer); -#line 1481 "FlickrPublishing.c" +#line 1480 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 1485 "FlickrPublishing.c" +#line 1484 "FlickrPublishing.c" } @@ -1501,7 +1500,7 @@ GParamSpec* publishing_flickr_param_spec_publishing_parameters (const gchar* nam G_PARAM_SPEC (spec)->value_type = object_type; #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return G_PARAM_SPEC (spec); -#line 1499 "FlickrPublishing.c" +#line 1498 "FlickrPublishing.c" } @@ -1510,7 +1509,7 @@ gpointer publishing_flickr_value_get_publishing_parameters (const GValue* value) g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FLICKR_TYPE_PUBLISHING_PARAMETERS), NULL); #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 1508 "FlickrPublishing.c" +#line 1507 "FlickrPublishing.c" } @@ -1530,17 +1529,17 @@ void publishing_flickr_value_set_publishing_parameters (GValue* value, gpointer value->data[0].v_pointer = v_object; #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_parameters_ref (value->data[0].v_pointer); -#line 1528 "FlickrPublishing.c" +#line 1527 "FlickrPublishing.c" } else { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1532 "FlickrPublishing.c" +#line 1531 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_parameters_unref (old); -#line 1538 "FlickrPublishing.c" +#line 1537 "FlickrPublishing.c" } } @@ -1559,17 +1558,17 @@ void publishing_flickr_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 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = v_object; -#line 1557 "FlickrPublishing.c" +#line 1556 "FlickrPublishing.c" } else { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 1561 "FlickrPublishing.c" +#line 1560 "FlickrPublishing.c" } #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_parameters_unref (old); -#line 1567 "FlickrPublishing.c" +#line 1566 "FlickrPublishing.c" } } @@ -1579,14 +1578,14 @@ static void publishing_flickr_publishing_parameters_class_init (PublishingFlickr publishing_flickr_publishing_parameters_parent_class = g_type_class_peek_parent (klass); #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingFlickrPublishingParametersClass *) klass)->finalize = publishing_flickr_publishing_parameters_finalize; -#line 1577 "FlickrPublishing.c" +#line 1576 "FlickrPublishing.c" } static void publishing_flickr_publishing_parameters_instance_init (PublishingFlickrPublishingParameters * self) { #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->ref_count = 1; -#line 1584 "FlickrPublishing.c" +#line 1583 "FlickrPublishing.c" } @@ -1600,7 +1599,7 @@ static void publishing_flickr_publishing_parameters_finalize (PublishingFlickrPu _g_free0 (self->username); #line 93 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_flickr_visibility_specification_unref0 (self->visibility_specification); -#line 1598 "FlickrPublishing.c" +#line 1597 "FlickrPublishing.c" } @@ -1625,7 +1624,7 @@ gpointer publishing_flickr_publishing_parameters_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return instance; -#line 1623 "FlickrPublishing.c" +#line 1622 "FlickrPublishing.c" } @@ -1638,7 +1637,7 @@ void publishing_flickr_publishing_parameters_unref (gpointer instance) { PUBLISHING_FLICKR_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self); #line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1636 "FlickrPublishing.c" +#line 1635 "FlickrPublishing.c" } } @@ -1646,7 +1645,7 @@ void publishing_flickr_publishing_parameters_unref (gpointer instance) { static void _publishing_flickr_flickr_publisher_on_session_authenticated_publishing_rest_support_session_authenticated (PublishingRESTSupportSession* _sender, gpointer self) { #line 122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_session_authenticated ((PublishingFlickrFlickrPublisher*) self); -#line 1644 "FlickrPublishing.c" +#line 1643 "FlickrPublishing.c" } @@ -1701,14 +1700,14 @@ PublishingFlickrFlickrPublisher* publishing_flickr_flickr_publisher_construct (G g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), "authenticated", (GCallback) _publishing_flickr_flickr_publisher_on_session_authenticated_publishing_rest_support_session_authenticated, self, 0); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 1699 "FlickrPublishing.c" +#line 1698 "FlickrPublishing.c" } PublishingFlickrFlickrPublisher* publishing_flickr_flickr_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_flickr_publisher_construct (PUBLISHING_FLICKR_TYPE_FLICKR_PUBLISHER, service, host); -#line 1706 "FlickrPublishing.c" +#line 1705 "FlickrPublishing.c" } @@ -1721,7 +1720,7 @@ static void publishing_flickr_flickr_publisher_invalidate_persistent_session (Pu publishing_flickr_flickr_publisher_set_persistent_access_phase_token_secret (self, ""); #line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_set_persistent_access_phase_username (self, ""); -#line 1719 "FlickrPublishing.c" +#line 1718 "FlickrPublishing.c" } @@ -1744,7 +1743,7 @@ static gboolean publishing_flickr_flickr_publisher_is_persistent_session_valid ( _g_free0 (_tmp3_); #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp4_) { -#line 1742 "FlickrPublishing.c" +#line 1741 "FlickrPublishing.c" gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; #line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -1755,15 +1754,15 @@ static gboolean publishing_flickr_flickr_publisher_is_persistent_session_valid ( _tmp1_ = _tmp6_ != NULL; #line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp6_); -#line 1753 "FlickrPublishing.c" +#line 1752 "FlickrPublishing.c" } else { #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = FALSE; -#line 1757 "FlickrPublishing.c" +#line 1756 "FlickrPublishing.c" } #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp1_) { -#line 1761 "FlickrPublishing.c" +#line 1760 "FlickrPublishing.c" gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; #line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -1774,17 +1773,17 @@ static gboolean publishing_flickr_flickr_publisher_is_persistent_session_valid ( _tmp0_ = _tmp8_ != NULL; #line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp8_); -#line 1772 "FlickrPublishing.c" +#line 1771 "FlickrPublishing.c" } else { #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp0_ = FALSE; -#line 1776 "FlickrPublishing.c" +#line 1775 "FlickrPublishing.c" } #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _tmp0_; #line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1782 "FlickrPublishing.c" +#line 1781 "FlickrPublishing.c" } @@ -1802,7 +1801,7 @@ static gchar* publishing_flickr_flickr_publisher_get_persistent_access_phase_use result = _tmp1_; #line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1800 "FlickrPublishing.c" +#line 1799 "FlickrPublishing.c" } @@ -1819,7 +1818,7 @@ static void publishing_flickr_flickr_publisher_set_persistent_access_phase_usern _tmp1_ = username; #line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "access_phase_username", _tmp1_); -#line 1817 "FlickrPublishing.c" +#line 1816 "FlickrPublishing.c" } @@ -1837,7 +1836,7 @@ static gchar* publishing_flickr_flickr_publisher_get_persistent_access_phase_tok result = _tmp1_; #line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1835 "FlickrPublishing.c" +#line 1834 "FlickrPublishing.c" } @@ -1854,7 +1853,7 @@ static void publishing_flickr_flickr_publisher_set_persistent_access_phase_token _tmp1_ = token; #line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "access_phase_token", _tmp1_); -#line 1852 "FlickrPublishing.c" +#line 1851 "FlickrPublishing.c" } @@ -1872,7 +1871,7 @@ static gchar* publishing_flickr_flickr_publisher_get_persistent_access_phase_tok result = _tmp1_; #line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1870 "FlickrPublishing.c" +#line 1869 "FlickrPublishing.c" } @@ -1889,7 +1888,7 @@ static void publishing_flickr_flickr_publisher_set_persistent_access_phase_token _tmp1_ = secret; #line 158 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "access_phase_token_secret", _tmp1_); -#line 1887 "FlickrPublishing.c" +#line 1886 "FlickrPublishing.c" } @@ -1907,7 +1906,7 @@ static gboolean publishing_flickr_flickr_publisher_get_persistent_strip_metadata result = _tmp1_; #line 162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 1905 "FlickrPublishing.c" +#line 1904 "FlickrPublishing.c" } @@ -1922,7 +1921,7 @@ static void publishing_flickr_flickr_publisher_set_persistent_strip_metadata (Pu _tmp1_ = strip_metadata; #line 166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", _tmp1_); -#line 1920 "FlickrPublishing.c" +#line 1919 "FlickrPublishing.c" } @@ -1936,28 +1935,28 @@ static void publishing_flickr_flickr_publisher_on_welcome_pane_login_clicked (Pu if (!_tmp0_) { #line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 1934 "FlickrPublishing.c" +#line 1933 "FlickrPublishing.c" } #line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:173: EVENT: user clicked 'Login' button in the w" \ "elcome pane"); #line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_run_authentication_request_transaction (self); -#line 1940 "FlickrPublishing.c" +#line 1939 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_auth_request_txn_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { #line 179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_auth_request_txn_completed ((PublishingFlickrFlickrPublisher*) self, _sender); -#line 1947 "FlickrPublishing.c" +#line 1946 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_auth_request_txn_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { #line 180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_auth_request_txn_error ((PublishingFlickrFlickrPublisher*) self, _sender, err); -#line 1954 "FlickrPublishing.c" +#line 1953 "FlickrPublishing.c" } @@ -1995,7 +1994,7 @@ static void publishing_flickr_flickr_publisher_on_auth_request_txn_completed (Pu if (!_tmp4_) { #line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 1992 "FlickrPublishing.c" +#line 1991 "FlickrPublishing.c" } #line 185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = txn; @@ -2018,7 +2017,7 @@ static void publishing_flickr_flickr_publisher_on_auth_request_txn_completed (Pu publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_request (self, _tmp10_); #line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp10_); -#line 2014 "FlickrPublishing.c" +#line 2013 "FlickrPublishing.c" } @@ -2052,7 +2051,7 @@ static void publishing_flickr_flickr_publisher_on_auth_request_txn_error (Publis if (!_tmp4_) { #line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2048 "FlickrPublishing.c" +#line 2047 "FlickrPublishing.c" } #line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:199: EVENT: OAuth authentication request transac" \ @@ -2063,7 +2062,7 @@ static void publishing_flickr_flickr_publisher_on_auth_request_txn_error (Publis _tmp6_ = err; #line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); -#line 2058 "FlickrPublishing.c" +#line 2057 "FlickrPublishing.c" } @@ -2099,7 +2098,7 @@ static void publishing_flickr_flickr_publisher_on_authentication_token_available _tmp5_ = token; #line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_launch_system_browser (self, _tmp5_); -#line 2093 "FlickrPublishing.c" +#line 2092 "FlickrPublishing.c" } @@ -2113,20 +2112,20 @@ static void publishing_flickr_flickr_publisher_on_system_browser_launched (Publi if (!_tmp0_) { #line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2107 "FlickrPublishing.c" +#line 2106 "FlickrPublishing.c" } #line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:216: EVENT: system browser launched."); #line 218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_show_pin_entry_pane (self); -#line 2113 "FlickrPublishing.c" +#line 2112 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_pin_entry_proceed_publishing_flickr_pin_entry_pane_proceed (PublishingFlickrPinEntryPane* _sender, PublishingFlickrPinEntryPane* sender, const gchar* authorization_pin, gpointer self) { #line 222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_pin_entry_proceed ((PublishingFlickrFlickrPublisher*) self, sender, authorization_pin); -#line 2120 "FlickrPublishing.c" +#line 2119 "FlickrPublishing.c" } @@ -2153,7 +2152,7 @@ static void publishing_flickr_flickr_publisher_on_pin_entry_proceed (PublishingF if (!_tmp2_) { #line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2147 "FlickrPublishing.c" +#line 2146 "FlickrPublishing.c" } #line 227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:227: EVENT: user clicked 'Continue' in PIN entry" \ @@ -2162,21 +2161,21 @@ static void publishing_flickr_flickr_publisher_on_pin_entry_proceed (PublishingF _tmp3_ = pin; #line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_verify_pin (self, _tmp3_); -#line 2155 "FlickrPublishing.c" +#line 2154 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_access_token_fetch_txn_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { #line 233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_access_token_fetch_txn_completed ((PublishingFlickrFlickrPublisher*) self, _sender); -#line 2162 "FlickrPublishing.c" +#line 2161 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_access_token_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { #line 234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_access_token_fetch_error ((PublishingFlickrFlickrPublisher*) self, _sender, err); -#line 2169 "FlickrPublishing.c" +#line 2168 "FlickrPublishing.c" } @@ -2211,7 +2210,7 @@ static void publishing_flickr_flickr_publisher_on_access_token_fetch_txn_complet if (!_tmp4_) { #line 237 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2204 "FlickrPublishing.c" +#line 2203 "FlickrPublishing.c" } #line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:239: EVENT: fetching OAuth access token over the" \ @@ -2226,7 +2225,7 @@ static void publishing_flickr_flickr_publisher_on_access_token_fetch_txn_complet publishing_flickr_flickr_publisher_do_extract_access_phase_credentials_from_reponse (self, _tmp7_); #line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp7_); -#line 2218 "FlickrPublishing.c" +#line 2217 "FlickrPublishing.c" } @@ -2260,7 +2259,7 @@ static void publishing_flickr_flickr_publisher_on_access_token_fetch_error (Publ if (!_tmp4_) { #line 250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2252 "FlickrPublishing.c" +#line 2251 "FlickrPublishing.c" } #line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:252: EVENT: fetching OAuth access token over the" \ @@ -2271,7 +2270,7 @@ static void publishing_flickr_flickr_publisher_on_access_token_fetch_error (Publ _tmp6_ = err; #line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); -#line 2262 "FlickrPublishing.c" +#line 2261 "FlickrPublishing.c" } @@ -2297,7 +2296,7 @@ static void publishing_flickr_flickr_publisher_on_session_authenticated (Publish if (!_tmp0_) { #line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2288 "FlickrPublishing.c" +#line 2287 "FlickrPublishing.c" } #line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:261: EVENT: a fully authenticated session has be" \ @@ -2344,21 +2343,21 @@ static void publishing_flickr_flickr_publisher_on_session_authenticated (Publish _g_free0 (_tmp12_); #line 269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_fetch_account_info (self); -#line 2334 "FlickrPublishing.c" +#line 2333 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_account_fetch_txn_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { #line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_account_fetch_txn_completed ((PublishingFlickrFlickrPublisher*) self, _sender); -#line 2341 "FlickrPublishing.c" +#line 2340 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_account_fetch_txn_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { #line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_account_fetch_txn_error ((PublishingFlickrFlickrPublisher*) self, _sender, err); -#line 2348 "FlickrPublishing.c" +#line 2347 "FlickrPublishing.c" } @@ -2393,7 +2392,7 @@ static void publishing_flickr_flickr_publisher_on_account_fetch_txn_completed (P if (!_tmp4_) { #line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2383 "FlickrPublishing.c" +#line 2382 "FlickrPublishing.c" } #line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:279: EVENT: account fetch transaction response r" \ @@ -2408,7 +2407,7 @@ static void publishing_flickr_flickr_publisher_on_account_fetch_txn_completed (P publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (self, _tmp7_); #line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp7_); -#line 2397 "FlickrPublishing.c" +#line 2396 "FlickrPublishing.c" } @@ -2442,7 +2441,7 @@ static void publishing_flickr_flickr_publisher_on_account_fetch_txn_error (Publi if (!_tmp4_) { #line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2431 "FlickrPublishing.c" +#line 2430 "FlickrPublishing.c" } #line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:291: EVENT: account fetch transaction caused a n" \ @@ -2453,7 +2452,7 @@ static void publishing_flickr_flickr_publisher_on_account_fetch_txn_error (Publi _tmp6_ = err; #line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); -#line 2441 "FlickrPublishing.c" +#line 2440 "FlickrPublishing.c" } @@ -2467,28 +2466,28 @@ static void publishing_flickr_flickr_publisher_on_account_info_available (Publis if (!_tmp0_) { #line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2455 "FlickrPublishing.c" +#line 2454 "FlickrPublishing.c" } #line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:299: EVENT: account information has become avail" \ "able"); #line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_show_publishing_options_pane (self); -#line 2461 "FlickrPublishing.c" +#line 2460 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_publishing_options_pane_publish_publishing_flickr_publishing_options_pane_publish (PublishingFlickrPublishingOptionsPane* _sender, gboolean strip_metadata, gpointer self) { #line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_publishing_options_pane_publish ((PublishingFlickrFlickrPublisher*) self, strip_metadata); -#line 2468 "FlickrPublishing.c" +#line 2467 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_publishing_options_pane_logout_publishing_flickr_publishing_options_pane_logout (PublishingFlickrPublishingOptionsPane* _sender, gpointer self) { #line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_publishing_options_pane_logout ((PublishingFlickrFlickrPublisher*) self); -#line 2475 "FlickrPublishing.c" +#line 2474 "FlickrPublishing.c" } @@ -2519,7 +2518,7 @@ static void publishing_flickr_flickr_publisher_on_publishing_options_pane_publis if (!_tmp4_) { #line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2506 "FlickrPublishing.c" +#line 2505 "FlickrPublishing.c" } #line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:310: EVENT: user clicked the 'Publish' button in" \ @@ -2528,7 +2527,7 @@ static void publishing_flickr_flickr_publisher_on_publishing_options_pane_publis _tmp5_ = strip_metadata; #line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_publish (self, _tmp5_); -#line 2514 "FlickrPublishing.c" +#line 2513 "FlickrPublishing.c" } @@ -2558,14 +2557,14 @@ static void publishing_flickr_flickr_publisher_on_publishing_options_pane_logout if (!_tmp4_) { #line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2544 "FlickrPublishing.c" +#line 2543 "FlickrPublishing.c" } #line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:321: EVENT: user clicked the 'Logout' button in " \ "the publishing options pane"); #line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_logout (self); -#line 2550 "FlickrPublishing.c" +#line 2549 "FlickrPublishing.c" } @@ -2586,7 +2585,7 @@ static void publishing_flickr_flickr_publisher_on_upload_status_updated (Publish if (!_tmp0_) { #line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2571 "FlickrPublishing.c" +#line 2570 "FlickrPublishing.c" } #line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = completed_fraction; @@ -2609,21 +2608,21 @@ static void publishing_flickr_flickr_publisher_on_upload_status_updated (Publish _tmp5_ = completed_fraction; #line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ (_tmp4_, _tmp5_, _tmp3__target); -#line 2593 "FlickrPublishing.c" +#line 2592 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) { #line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_upload_complete ((PublishingFlickrFlickrPublisher*) self, _sender, num_photos_published); -#line 2600 "FlickrPublishing.c" +#line 2599 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) { #line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_upload_error ((PublishingFlickrFlickrPublisher*) self, _sender, err); -#line 2607 "FlickrPublishing.c" +#line 2606 "FlickrPublishing.c" } @@ -2644,7 +2643,7 @@ static void publishing_flickr_flickr_publisher_on_upload_complete (PublishingFli if (!_tmp0_) { #line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2628 "FlickrPublishing.c" +#line 2627 "FlickrPublishing.c" } #line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = num_published; @@ -2665,7 +2664,7 @@ static void publishing_flickr_flickr_publisher_on_upload_complete (PublishingFli g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_flickr_flickr_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self); #line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_show_success_pane (self); -#line 2648 "FlickrPublishing.c" +#line 2647 "FlickrPublishing.c" } @@ -2689,7 +2688,7 @@ static void publishing_flickr_flickr_publisher_on_upload_error (PublishingFlickr if (!_tmp0_) { #line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2672 "FlickrPublishing.c" +#line 2671 "FlickrPublishing.c" } #line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = err; @@ -2716,14 +2715,14 @@ static void publishing_flickr_flickr_publisher_on_upload_error (PublishingFlickr _tmp8_ = err; #line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_); -#line 2698 "FlickrPublishing.c" +#line 2697 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_welcome_pane_login_clicked_spit_publishing_login_callback (gpointer self) { #line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_welcome_pane_login_clicked ((PublishingFlickrFlickrPublisher*) self); -#line 2705 "FlickrPublishing.c" +#line 2704 "FlickrPublishing.c" } @@ -2742,7 +2741,7 @@ static void publishing_flickr_flickr_publisher_do_show_login_welcome_pane (Publi _tmp1_ = self->priv->host; #line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_install_welcome_pane (_tmp1_, PUBLISHING_FLICKR_SERVICE_WELCOME_MESSAGE, _publishing_flickr_flickr_publisher_on_welcome_pane_login_clicked_spit_publishing_login_callback, self); -#line 2724 "FlickrPublishing.c" +#line 2723 "FlickrPublishing.c" } @@ -2779,7 +2778,7 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_flickr_flickr_publisher_on_auth_request_txn_completed_publishing_rest_support_transaction_completed, self, 0); #line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_flickr_flickr_publisher_on_auth_request_txn_error_publishing_rest_support_transaction_network_error, self, 0); -#line 2760 "FlickrPublishing.c" +#line 2759 "FlickrPublishing.c" { #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); @@ -2787,7 +2786,7 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra if (G_UNLIKELY (_inner_error_ != NULL)) { #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 2768 "FlickrPublishing.c" +#line 2767 "FlickrPublishing.c" goto __catch16_spit_publishing_publishing_error; } #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -2798,7 +2797,7 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra g_clear_error (&_inner_error_); #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2779 "FlickrPublishing.c" +#line 2778 "FlickrPublishing.c" } } goto __finally16; @@ -2819,7 +2818,7 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); #line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (err); -#line 2800 "FlickrPublishing.c" +#line 2799 "FlickrPublishing.c" } __finally16: #line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -2832,11 +2831,11 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra g_clear_error (&_inner_error_); #line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 2813 "FlickrPublishing.c" +#line 2812 "FlickrPublishing.c" } #line 370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 2817 "FlickrPublishing.c" +#line 2816 "FlickrPublishing.c" } @@ -2883,7 +2882,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _tmp4_ = key_value_pairs; #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4__length1 = key_value_pairs_length1; -#line 2863 "FlickrPublishing.c" +#line 2862 "FlickrPublishing.c" { gchar** pair_collection = NULL; gint pair_collection_length1 = 0; @@ -2895,14 +2894,14 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req pair_collection_length1 = _tmp4__length1; #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (pair_it = 0; pair_it < _tmp4__length1; pair_it = pair_it + 1) { -#line 2875 "FlickrPublishing.c" +#line 2874 "FlickrPublishing.c" gchar* _tmp5_ = NULL; gchar* pair = NULL; #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = g_strdup (pair_collection[pair_it]); #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" pair = _tmp5_; -#line 2882 "FlickrPublishing.c" +#line 2881 "FlickrPublishing.c" { gchar** split_pair = NULL; const gchar* _tmp6_ = NULL; @@ -2931,7 +2930,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _tmp9__length1 = split_pair_length1; #line 397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp9__length1 != 2) { -#line 2911 "FlickrPublishing.c" +#line 2910 "FlickrPublishing.c" SpitPublishingPluginHost* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; GError* _tmp12_ = NULL; @@ -2948,7 +2947,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req spit_publishing_plugin_host_post_error (_tmp10_, _tmp13_); #line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (_tmp13_); -#line 2928 "FlickrPublishing.c" +#line 2927 "FlickrPublishing.c" } #line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp14_ = split_pair; @@ -2958,7 +2957,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _tmp15_ = _tmp14_[0]; #line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (g_strcmp0 (_tmp15_, "oauth_token") == 0) { -#line 2938 "FlickrPublishing.c" +#line 2937 "FlickrPublishing.c" gchar** _tmp16_ = NULL; gint _tmp16__length1 = 0; const gchar* _tmp17_ = NULL; @@ -2975,7 +2974,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _g_free0 (oauth_token); #line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" oauth_token = _tmp18_; -#line 2955 "FlickrPublishing.c" +#line 2954 "FlickrPublishing.c" } else { gchar** _tmp19_ = NULL; gint _tmp19__length1 = 0; @@ -2988,7 +2987,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _tmp20_ = _tmp19_[0]; #line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (g_strcmp0 (_tmp20_, "oauth_token_secret") == 0) { -#line 2968 "FlickrPublishing.c" +#line 2967 "FlickrPublishing.c" gchar** _tmp21_ = NULL; gint _tmp21__length1 = 0; const gchar* _tmp22_ = NULL; @@ -3005,14 +3004,14 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _g_free0 (oauth_token_secret); #line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" oauth_token_secret = _tmp23_; -#line 2985 "FlickrPublishing.c" +#line 2984 "FlickrPublishing.c" } } #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" split_pair = (_vala_array_free (split_pair, split_pair_length1, (GDestroyNotify) g_free), NULL); #line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (pair); -#line 2992 "FlickrPublishing.c" +#line 2991 "FlickrPublishing.c" } } } @@ -3022,18 +3021,18 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req if (_tmp25_ == NULL) { #line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp24_ = TRUE; -#line 3002 "FlickrPublishing.c" +#line 3001 "FlickrPublishing.c" } else { const gchar* _tmp26_ = NULL; #line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp26_ = oauth_token_secret; #line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp24_ = _tmp26_ == NULL; -#line 3009 "FlickrPublishing.c" +#line 3008 "FlickrPublishing.c" } #line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp24_) { -#line 3013 "FlickrPublishing.c" +#line 3012 "FlickrPublishing.c" SpitPublishingPluginHost* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; GError* _tmp29_ = NULL; @@ -3050,7 +3049,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req spit_publishing_plugin_host_post_error (_tmp27_, _tmp30_); #line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (_tmp30_); -#line 3030 "FlickrPublishing.c" +#line 3029 "FlickrPublishing.c" } #line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp31_ = oauth_token; @@ -3064,7 +3063,7 @@ static void publishing_flickr_flickr_publisher_do_parse_token_info_from_auth_req _g_free0 (oauth_token_secret); #line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (oauth_token); -#line 3044 "FlickrPublishing.c" +#line 3043 "FlickrPublishing.c" } @@ -3100,7 +3099,7 @@ static void publishing_flickr_flickr_publisher_do_launch_system_browser (Publish #line 419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:419: ACTION: launching system browser with uri =" \ " '%s'", _tmp5_); -#line 3079 "FlickrPublishing.c" +#line 3078 "FlickrPublishing.c" { const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; @@ -3119,7 +3118,7 @@ static void publishing_flickr_flickr_publisher_do_launch_system_browser (Publish if (G_UNLIKELY (_inner_error_ != NULL)) { #line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == G_SPAWN_ERROR) { -#line 3098 "FlickrPublishing.c" +#line 3097 "FlickrPublishing.c" goto __catch17_g_spawn_error; } #line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3130,7 +3129,7 @@ static void publishing_flickr_flickr_publisher_do_launch_system_browser (Publish g_clear_error (&_inner_error_); #line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3109 "FlickrPublishing.c" +#line 3108 "FlickrPublishing.c" } } goto __finally17; @@ -3160,7 +3159,7 @@ static void publishing_flickr_flickr_publisher_do_launch_system_browser (Publish _g_free0 (login_uri); #line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3139 "FlickrPublishing.c" +#line 3138 "FlickrPublishing.c" } __finally17: #line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3173,13 +3172,13 @@ static void publishing_flickr_flickr_publisher_do_launch_system_browser (Publish g_clear_error (&_inner_error_); #line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3152 "FlickrPublishing.c" +#line 3151 "FlickrPublishing.c" } #line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_system_browser_launched (self); #line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (login_uri); -#line 3158 "FlickrPublishing.c" +#line 3157 "FlickrPublishing.c" } @@ -3201,7 +3200,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin _tmp0_ = gtk_builder_new (); #line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" builder = _tmp0_; -#line 3180 "FlickrPublishing.c" +#line 3179 "FlickrPublishing.c" { GtkBuilder* _tmp1_ = NULL; #line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3210,7 +3209,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin gtk_builder_add_from_resource (_tmp1_, PLUGIN_RESOURCE_PATH "/" "flickr_pin_entry_pane.ui", &_inner_error_); #line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3189 "FlickrPublishing.c" +#line 3188 "FlickrPublishing.c" goto __catch18_g_error; } } @@ -3253,7 +3252,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin _g_object_unref0 (builder); #line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3231 "FlickrPublishing.c" +#line 3230 "FlickrPublishing.c" } __finally18: #line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3266,7 +3265,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin g_clear_error (&_inner_error_); #line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3244 "FlickrPublishing.c" +#line 3243 "FlickrPublishing.c" } #line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp8_ = builder; @@ -3288,7 +3287,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin _g_object_unref0 (pin_entry_pane); #line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_object_unref0 (builder); -#line 3266 "FlickrPublishing.c" +#line 3265 "FlickrPublishing.c" } @@ -3332,7 +3331,7 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_flickr_flickr_publisher_on_access_token_fetch_txn_completed_publishing_rest_support_transaction_completed, self, 0); #line 461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_flickr_flickr_publisher_on_access_token_fetch_error_publishing_rest_support_transaction_network_error, self, 0); -#line 3310 "FlickrPublishing.c" +#line 3309 "FlickrPublishing.c" { #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); @@ -3340,7 +3339,7 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl if (G_UNLIKELY (_inner_error_ != NULL)) { #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3318 "FlickrPublishing.c" +#line 3317 "FlickrPublishing.c" goto __catch19_spit_publishing_publishing_error; } #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3351,7 +3350,7 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl g_clear_error (&_inner_error_); #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3329 "FlickrPublishing.c" +#line 3328 "FlickrPublishing.c" } } goto __finally19; @@ -3372,7 +3371,7 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_); #line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (err); -#line 3350 "FlickrPublishing.c" +#line 3349 "FlickrPublishing.c" } __finally19: #line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3385,11 +3384,11 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl g_clear_error (&_inner_error_); #line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3363 "FlickrPublishing.c" +#line 3362 "FlickrPublishing.c" } #line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 3367 "FlickrPublishing.c" +#line 3366 "FlickrPublishing.c" } @@ -3445,7 +3444,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _tmp4_ = key_value_pairs; #line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4__length1 = key_value_pairs_length1; -#line 3422 "FlickrPublishing.c" +#line 3421 "FlickrPublishing.c" { gchar** key_value_pair_collection = NULL; gint key_value_pair_collection_length1 = 0; @@ -3457,14 +3456,14 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia key_value_pair_collection_length1 = _tmp4__length1; #line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (key_value_pair_it = 0; key_value_pair_it < _tmp4__length1; key_value_pair_it = key_value_pair_it + 1) { -#line 3434 "FlickrPublishing.c" +#line 3433 "FlickrPublishing.c" gchar* _tmp5_ = NULL; gchar* key_value_pair = NULL; #line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = g_strdup (key_value_pair_collection[key_value_pair_it]); #line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" key_value_pair = _tmp5_; -#line 3441 "FlickrPublishing.c" +#line 3440 "FlickrPublishing.c" { gchar** split_pair = NULL; const gchar* _tmp6_ = NULL; @@ -3507,7 +3506,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _g_free0 (key_value_pair); #line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" continue; -#line 3484 "FlickrPublishing.c" +#line 3483 "FlickrPublishing.c" } #line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp10_ = split_pair; @@ -3533,7 +3532,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _tmp16_ = key; #line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (g_strcmp0 (_tmp16_, "oauth_token") == 0) { -#line 3510 "FlickrPublishing.c" +#line 3509 "FlickrPublishing.c" const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; #line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3544,14 +3543,14 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _g_free0 (token); #line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" token = _tmp18_; -#line 3521 "FlickrPublishing.c" +#line 3520 "FlickrPublishing.c" } else { const gchar* _tmp19_ = NULL; #line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp19_ = key; #line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (g_strcmp0 (_tmp19_, "oauth_token_secret") == 0) { -#line 3528 "FlickrPublishing.c" +#line 3527 "FlickrPublishing.c" const gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; #line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3562,14 +3561,14 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _g_free0 (token_secret); #line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" token_secret = _tmp21_; -#line 3539 "FlickrPublishing.c" +#line 3538 "FlickrPublishing.c" } else { const gchar* _tmp22_ = NULL; #line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp22_ = key; #line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (g_strcmp0 (_tmp22_, "username") == 0) { -#line 3546 "FlickrPublishing.c" +#line 3545 "FlickrPublishing.c" const gchar* _tmp23_ = NULL; gchar* _tmp24_ = NULL; #line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3580,7 +3579,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _g_free0 (username); #line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" username = _tmp24_; -#line 3557 "FlickrPublishing.c" +#line 3556 "FlickrPublishing.c" } } } @@ -3592,7 +3591,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia split_pair = (_vala_array_free (split_pair, split_pair_length1, (GDestroyNotify) g_free), NULL); #line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (key_value_pair); -#line 3569 "FlickrPublishing.c" +#line 3568 "FlickrPublishing.c" } } } @@ -3611,31 +3610,31 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia if (_tmp30_ == NULL) { #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp29_ = TRUE; -#line 3587 "FlickrPublishing.c" +#line 3586 "FlickrPublishing.c" } else { const gchar* _tmp31_ = NULL; #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp31_ = token_secret; #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp29_ = _tmp31_ == NULL; -#line 3594 "FlickrPublishing.c" +#line 3593 "FlickrPublishing.c" } #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp29_) { #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp28_ = TRUE; -#line 3600 "FlickrPublishing.c" +#line 3599 "FlickrPublishing.c" } else { const gchar* _tmp32_ = NULL; #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp32_ = username; #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp28_ = _tmp32_ == NULL; -#line 3607 "FlickrPublishing.c" +#line 3606 "FlickrPublishing.c" } #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp28_) { -#line 3611 "FlickrPublishing.c" +#line 3610 "FlickrPublishing.c" SpitPublishingPluginHost* _tmp33_ = NULL; GError* _tmp34_ = NULL; GError* _tmp35_ = NULL; @@ -3650,7 +3649,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia spit_publishing_plugin_host_post_error (_tmp33_, _tmp35_); #line 499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (_tmp35_); -#line 3625 "FlickrPublishing.c" +#line 3624 "FlickrPublishing.c" } #line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp36_ = self->priv->session; @@ -3670,7 +3669,7 @@ static void publishing_flickr_flickr_publisher_do_extract_access_phase_credentia _g_free0 (token); #line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" key_value_pairs = (_vala_array_free (key_value_pairs, key_value_pairs_length1, (GDestroyNotify) g_free), NULL); -#line 3645 "FlickrPublishing.c" +#line 3644 "FlickrPublishing.c" } @@ -3704,7 +3703,7 @@ static void publishing_flickr_flickr_publisher_do_fetch_account_info (Publishing g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_flickr_flickr_publisher_on_account_fetch_txn_completed_publishing_rest_support_transaction_completed, self, 0); #line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_flickr_flickr_publisher_on_account_fetch_txn_error_publishing_rest_support_transaction_network_error, self, 0); -#line 3678 "FlickrPublishing.c" +#line 3677 "FlickrPublishing.c" { #line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); @@ -3712,7 +3711,7 @@ static void publishing_flickr_flickr_publisher_do_fetch_account_info (Publishing if (G_UNLIKELY (_inner_error_ != NULL)) { #line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3686 "FlickrPublishing.c" +#line 3685 "FlickrPublishing.c" goto __catch20_spit_publishing_publishing_error; } #line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3723,7 +3722,7 @@ static void publishing_flickr_flickr_publisher_do_fetch_account_info (Publishing g_clear_error (&_inner_error_); #line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3697 "FlickrPublishing.c" +#line 3696 "FlickrPublishing.c" } } goto __finally20; @@ -3744,7 +3743,7 @@ static void publishing_flickr_flickr_publisher_do_fetch_account_info (Publishing spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_); #line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (err); -#line 3718 "FlickrPublishing.c" +#line 3717 "FlickrPublishing.c" } __finally20: #line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3757,11 +3756,11 @@ static void publishing_flickr_flickr_publisher_do_fetch_account_info (Publishing g_clear_error (&_inner_error_); #line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3731 "FlickrPublishing.c" +#line 3730 "FlickrPublishing.c" } #line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 3735 "FlickrPublishing.c" +#line 3734 "FlickrPublishing.c" } @@ -3777,7 +3776,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P #line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:524: ACTION: parsing account information from xm" \ "l = '%s'", _tmp0_); -#line 3750 "FlickrPublishing.c" +#line 3749 "FlickrPublishing.c" { PublishingRESTSupportXmlDocument* response_doc = NULL; const gchar* _tmp1_ = NULL; @@ -3820,7 +3819,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P if (G_UNLIKELY (_inner_error_ != NULL)) { #line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3793 "FlickrPublishing.c" +#line 3792 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3829,7 +3828,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3802 "FlickrPublishing.c" +#line 3801 "FlickrPublishing.c" } #line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = response_doc; @@ -3851,7 +3850,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _publishing_rest_support_xml_document_unref0 (response_doc); #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3824 "FlickrPublishing.c" +#line 3823 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3862,7 +3861,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3835 "FlickrPublishing.c" +#line 3834 "FlickrPublishing.c" } #line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp8_ = response_doc; @@ -3878,7 +3877,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _publishing_rest_support_xml_document_unref0 (response_doc); #line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3851 "FlickrPublishing.c" +#line 3850 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3889,7 +3888,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3862 "FlickrPublishing.c" +#line 3861 "FlickrPublishing.c" } #line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp11_ = response_doc; @@ -3907,7 +3906,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _publishing_rest_support_xml_document_unref0 (response_doc); #line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3880 "FlickrPublishing.c" +#line 3879 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3920,7 +3919,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3893 "FlickrPublishing.c" +#line 3892 "FlickrPublishing.c" } #line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp14_ = response_doc; @@ -3938,7 +3937,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _publishing_rest_support_xml_document_unref0 (response_doc); #line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3911 "FlickrPublishing.c" +#line 3910 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3951,7 +3950,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3924 "FlickrPublishing.c" +#line 3923 "FlickrPublishing.c" } #line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp17_ = is_pro_str; @@ -3959,7 +3958,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P if (g_strcmp0 (_tmp17_, "0") == 0) { #line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" user_kind = PUBLISHING_FLICKR_USER_KIND_FREE; -#line 3932 "FlickrPublishing.c" +#line 3931 "FlickrPublishing.c" } else { const gchar* _tmp18_ = NULL; #line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3968,7 +3967,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P if (g_strcmp0 (_tmp18_, "1") == 0) { #line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" user_kind = PUBLISHING_FLICKR_USER_KIND_PRO; -#line 3941 "FlickrPublishing.c" +#line 3940 "FlickrPublishing.c" } else { GError* _tmp19_ = NULL; #line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3983,7 +3982,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _publishing_rest_support_xml_document_unref0 (response_doc); #line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3956 "FlickrPublishing.c" +#line 3955 "FlickrPublishing.c" goto __catch21_spit_publishing_publishing_error; } #line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3998,7 +3997,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 3971 "FlickrPublishing.c" +#line 3970 "FlickrPublishing.c" } } #line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -4025,7 +4024,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _g_free0 (is_pro_str); #line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_xml_document_unref0 (response_doc); -#line 3998 "FlickrPublishing.c" +#line 3997 "FlickrPublishing.c" } goto __finally21; __catch21_spit_publishing_publishing_error: @@ -4048,7 +4047,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _g_error_free0 (err); #line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4021 "FlickrPublishing.c" +#line 4020 "FlickrPublishing.c" } #line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp27_ = self->priv->host; @@ -4060,7 +4059,7 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P _g_error_free0 (err); #line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4033 "FlickrPublishing.c" +#line 4032 "FlickrPublishing.c" } __finally21: #line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -4071,11 +4070,11 @@ static void publishing_flickr_flickr_publisher_do_parse_account_info_from_xml (P g_clear_error (&_inner_error_); #line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4044 "FlickrPublishing.c" +#line 4043 "FlickrPublishing.c" } #line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_account_info_available (self); -#line 4048 "FlickrPublishing.c" +#line 4047 "FlickrPublishing.c" } @@ -4096,7 +4095,7 @@ static void publishing_flickr_flickr_publisher_do_logout (PublishingFlickrFlickr self->priv->running = FALSE; #line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_attempt_start (self); -#line 4068 "FlickrPublishing.c" +#line 4067 "FlickrPublishing.c" } @@ -4127,7 +4126,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( _tmp1_ = gtk_builder_new (); #line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" builder = _tmp1_; -#line 4099 "FlickrPublishing.c" +#line 4098 "FlickrPublishing.c" { GtkBuilder* _tmp2_ = NULL; #line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -4136,7 +4135,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/" "flickr_publishing_options_pane.ui", &_inner_error_); #line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4108 "FlickrPublishing.c" +#line 4107 "FlickrPublishing.c" goto __catch22_g_error; } } @@ -4179,7 +4178,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( _g_object_unref0 (builder); #line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4150 "FlickrPublishing.c" +#line 4149 "FlickrPublishing.c" } __finally22: #line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -4192,7 +4191,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( g_clear_error (&_inner_error_); #line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4163 "FlickrPublishing.c" +#line 4162 "FlickrPublishing.c" } #line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp9_ = self->priv->parameters; @@ -4226,7 +4225,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( spit_publishing_plugin_host_install_dialog_pane (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_object_unref0 (builder); -#line 4197 "FlickrPublishing.c" +#line 4196 "FlickrPublishing.c" } @@ -4268,7 +4267,7 @@ gint publishing_flickr_flickr_publisher_flickr_date_time_compare_func (SpitPubli result = _tmp7_; #line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4239 "FlickrPublishing.c" +#line 4238 "FlickrPublishing.c" } @@ -4277,14 +4276,14 @@ static gint _publishing_flickr_flickr_publisher_flickr_date_time_compare_func_gc result = publishing_flickr_flickr_publisher_flickr_date_time_compare_func ((SpitPublishingPublishable*) a, (SpitPublishingPublishable*) b); #line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4248 "FlickrPublishing.c" +#line 4247 "FlickrPublishing.c" } static void _publishing_flickr_flickr_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) { #line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_on_upload_status_updated ((PublishingFlickrFlickrPublisher*) self, file_number, fraction_complete); -#line 4255 "FlickrPublishing.c" +#line 4254 "FlickrPublishing.c" } @@ -4367,7 +4366,7 @@ static void publishing_flickr_flickr_publisher_do_publish (PublishingFlickrFlick if (!_tmp9_) { #line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4337 "FlickrPublishing.c" +#line 4336 "FlickrPublishing.c" } #line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp10_ = self->priv->host; @@ -4387,7 +4386,7 @@ static void publishing_flickr_flickr_publisher_do_publish (PublishingFlickrFlick _tmp14_ = publishables; #line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp14__length1 = publishables_length1; -#line 4357 "FlickrPublishing.c" +#line 4356 "FlickrPublishing.c" { SpitPublishingPublishable** p_collection = NULL; gint p_collection_length1 = 0; @@ -4399,14 +4398,14 @@ static void publishing_flickr_flickr_publisher_do_publish (PublishingFlickrFlick p_collection_length1 = _tmp14__length1; #line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (p_it = 0; p_it < _tmp14__length1; p_it = p_it + 1) { -#line 4369 "FlickrPublishing.c" +#line 4368 "FlickrPublishing.c" SpitPublishingPublishable* _tmp15_ = NULL; SpitPublishingPublishable* p = NULL; #line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp15_ = _g_object_ref0 (p_collection[p_it]); #line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" p = _tmp15_; -#line 4376 "FlickrPublishing.c" +#line 4375 "FlickrPublishing.c" { GeeArrayList* _tmp16_ = NULL; SpitPublishingPublishable* _tmp17_ = NULL; @@ -4418,7 +4417,7 @@ static void publishing_flickr_flickr_publisher_do_publish (PublishingFlickrFlick gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_); #line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_object_unref0 (p); -#line 4388 "FlickrPublishing.c" +#line 4387 "FlickrPublishing.c" } } } @@ -4466,7 +4465,7 @@ static void publishing_flickr_flickr_publisher_do_publish (PublishingFlickrFlick _g_object_unref0 (sorted_list); #line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 4436 "FlickrPublishing.c" +#line 4435 "FlickrPublishing.c" } @@ -4485,7 +4484,7 @@ static void publishing_flickr_flickr_publisher_do_show_success_pane (PublishingF _tmp1_ = self->priv->host; #line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_install_success_pane (_tmp1_); -#line 4455 "FlickrPublishing.c" +#line 4454 "FlickrPublishing.c" } @@ -4503,7 +4502,7 @@ gint publishing_flickr_flickr_publisher_get_persistent_visibility (PublishingFli result = _tmp1_; #line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4473 "FlickrPublishing.c" +#line 4472 "FlickrPublishing.c" } @@ -4518,7 +4517,7 @@ void publishing_flickr_flickr_publisher_set_persistent_visibility (PublishingFli _tmp1_ = vis; #line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "visibility", _tmp1_); -#line 4488 "FlickrPublishing.c" +#line 4487 "FlickrPublishing.c" } @@ -4536,7 +4535,7 @@ gint publishing_flickr_flickr_publisher_get_persistent_default_size (PublishingF result = _tmp1_; #line 655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4506 "FlickrPublishing.c" +#line 4505 "FlickrPublishing.c" } @@ -4551,7 +4550,7 @@ void publishing_flickr_flickr_publisher_set_persistent_default_size (PublishingF _tmp1_ = size; #line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "default_size", _tmp1_); -#line 4521 "FlickrPublishing.c" +#line 4520 "FlickrPublishing.c" } @@ -4570,7 +4569,7 @@ static SpitPublishingService* publishing_flickr_flickr_publisher_real_get_servic result = _tmp1_; #line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4540 "FlickrPublishing.c" +#line 4539 "FlickrPublishing.c" } @@ -4586,7 +4585,7 @@ static gboolean publishing_flickr_flickr_publisher_real_is_running (SpitPublishi result = _tmp0_; #line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4556 "FlickrPublishing.c" +#line 4555 "FlickrPublishing.c" } @@ -4602,7 +4601,7 @@ static void publishing_flickr_flickr_publisher_attempt_start (PublishingFlickrFl _tmp0_ = publishing_flickr_flickr_publisher_is_persistent_session_valid (self); #line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp0_) { -#line 4572 "FlickrPublishing.c" +#line 4571 "FlickrPublishing.c" PublishingFlickrSession* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; @@ -4635,14 +4634,14 @@ static void publishing_flickr_flickr_publisher_attempt_start (PublishingFlickrFl _g_free0 (_tmp5_); #line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp3_); -#line 4604 "FlickrPublishing.c" +#line 4603 "FlickrPublishing.c" } else { #line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:682: attempt start: no persistent session availa" \ "ble; showing login welcome pane"); #line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_do_show_login_welcome_pane (self); -#line 4610 "FlickrPublishing.c" +#line 4609 "FlickrPublishing.c" } } @@ -4659,7 +4658,7 @@ static void publishing_flickr_flickr_publisher_real_start (SpitPublishingPublish if (_tmp0_) { #line 690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 4627 "FlickrPublishing.c" +#line 4626 "FlickrPublishing.c" } #line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = self->priv->was_started; @@ -4668,13 +4667,13 @@ static void publishing_flickr_flickr_publisher_real_start (SpitPublishingPublish #line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_error ("FlickrPublishing.vala:693: FlickrPublisher: start( ): can't start; thi" \ "s publisher is not restartable."); -#line 4635 "FlickrPublishing.c" +#line 4634 "FlickrPublishing.c" } #line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_debug ("FlickrPublishing.vala:695: FlickrPublisher: starting interaction."); #line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_attempt_start (self); -#line 4641 "FlickrPublishing.c" +#line 4640 "FlickrPublishing.c" } @@ -4689,17 +4688,17 @@ static void publishing_flickr_flickr_publisher_real_stop (SpitPublishingPublishe _tmp0_ = self->priv->session; #line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp0_ != NULL) { -#line 4656 "FlickrPublishing.c" +#line 4655 "FlickrPublishing.c" PublishingFlickrSession* _tmp1_ = NULL; #line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = self->priv->session; #line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_rest_support_session_stop_transactions (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 4662 "FlickrPublishing.c" +#line 4661 "FlickrPublishing.c" } #line 706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->running = FALSE; -#line 4666 "FlickrPublishing.c" +#line 4665 "FlickrPublishing.c" } @@ -4710,7 +4709,7 @@ static void publishing_flickr_flickr_publisher_class_init (PublishingFlickrFlick g_type_class_add_private (klass, sizeof (PublishingFlickrFlickrPublisherPrivate)); #line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_flickr_flickr_publisher_finalize; -#line 4677 "FlickrPublishing.c" +#line 4676 "FlickrPublishing.c" } @@ -4725,7 +4724,7 @@ static void publishing_flickr_flickr_publisher_spit_publishing_publisher_interfa iface->start = (void (*)(SpitPublishingPublisher*)) publishing_flickr_flickr_publisher_real_start; #line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_flickr_flickr_publisher_real_stop; -#line 4692 "FlickrPublishing.c" +#line 4691 "FlickrPublishing.c" } @@ -4744,7 +4743,7 @@ static void publishing_flickr_flickr_publisher_instance_init (PublishingFlickrFl self->priv->publishing_options_pane = NULL; #line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->parameters = NULL; -#line 4711 "FlickrPublishing.c" +#line 4710 "FlickrPublishing.c" } @@ -4780,7 +4779,7 @@ static void publishing_flickr_flickr_publisher_finalize (GObject* obj) { _publishing_flickr_publishing_parameters_unref0 (self->priv->parameters); #line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (publishing_flickr_flickr_publisher_parent_class)->finalize (obj); -#line 4747 "FlickrPublishing.c" +#line 4746 "FlickrPublishing.c" } @@ -4909,14 +4908,14 @@ PublishingFlickrPinEntryPane* publishing_flickr_pin_entry_pane_construct (GType publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed (self); #line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 4876 "FlickrPublishing.c" +#line 4875 "FlickrPublishing.c" } PublishingFlickrPinEntryPane* publishing_flickr_pin_entry_pane_new (GtkBuilder* builder) { #line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_pin_entry_pane_construct (PUBLISHING_FLICKR_TYPE_PIN_ENTRY_PANE, builder); -#line 4883 "FlickrPublishing.c" +#line 4882 "FlickrPublishing.c" } @@ -4931,7 +4930,7 @@ static void publishing_flickr_pin_entry_pane_on_continue_clicked (PublishingFlic _tmp1_ = gtk_entry_get_text (_tmp0_); #line 738 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (self, "proceed", self, _tmp1_); -#line 4898 "FlickrPublishing.c" +#line 4897 "FlickrPublishing.c" } @@ -4952,7 +4951,7 @@ static void publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed (Publ _tmp3_ = _tmp2_; #line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), _tmp3_ > ((guint) 0)); -#line 4919 "FlickrPublishing.c" +#line 4918 "FlickrPublishing.c" } @@ -4971,7 +4970,7 @@ static GtkWidget* publishing_flickr_pin_entry_pane_real_get_widget (SpitPublishi result = _tmp1_; #line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4938 "FlickrPublishing.c" +#line 4937 "FlickrPublishing.c" } @@ -4984,21 +4983,21 @@ static SpitPublishingDialogPaneGeometryOptions publishing_flickr_pin_entry_pane_ result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; #line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 4951 "FlickrPublishing.c" +#line 4950 "FlickrPublishing.c" } static void _publishing_flickr_pin_entry_pane_on_continue_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_pin_entry_pane_on_continue_clicked ((PublishingFlickrPinEntryPane*) self); -#line 4958 "FlickrPublishing.c" +#line 4957 "FlickrPublishing.c" } static void _publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { #line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed ((PublishingFlickrPinEntryPane*) self); -#line 4965 "FlickrPublishing.c" +#line 4964 "FlickrPublishing.c" } @@ -5016,7 +5015,7 @@ static void publishing_flickr_pin_entry_pane_real_on_pane_installed (SpitPublish _tmp1_ = self->priv->pin_entry; #line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed_gtk_editable_changed, self, 0); -#line 4983 "FlickrPublishing.c" +#line 4982 "FlickrPublishing.c" } @@ -5040,7 +5039,7 @@ static void publishing_flickr_pin_entry_pane_real_on_pane_uninstalled (SpitPubli g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp3_, NULL, FALSE); #line 760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_flickr_pin_entry_pane_on_pin_entry_contents_changed_gtk_editable_changed, self); -#line 5007 "FlickrPublishing.c" +#line 5006 "FlickrPublishing.c" } @@ -5059,19 +5058,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_STRING (GClosure * closure, GVa data1 = closure->data; #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 5026 "FlickrPublishing.c" +#line 5025 "FlickrPublishing.c" } else { #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" data1 = param_values->data[0].v_pointer; #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" data2 = closure->data; -#line 5032 "FlickrPublishing.c" +#line 5031 "FlickrPublishing.c" } #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" callback = (GMarshalFunc_VOID__OBJECT_STRING) (marshal_data ? marshal_data : cc->callback); #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" callback (data1, g_value_get_object (param_values + 1), g_value_get_string (param_values + 2), data2); -#line 5038 "FlickrPublishing.c" +#line 5037 "FlickrPublishing.c" } @@ -5084,7 +5083,7 @@ static void publishing_flickr_pin_entry_pane_class_init (PublishingFlickrPinEntr G_OBJECT_CLASS (klass)->finalize = publishing_flickr_pin_entry_pane_finalize; #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_new ("proceed", PUBLISHING_FLICKR_TYPE_PIN_ENTRY_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_STRING, G_TYPE_NONE, 2, PUBLISHING_FLICKR_TYPE_PIN_ENTRY_PANE, G_TYPE_STRING); -#line 5051 "FlickrPublishing.c" +#line 5050 "FlickrPublishing.c" } @@ -5099,7 +5098,7 @@ static void publishing_flickr_pin_entry_pane_spit_publishing_dialog_pane_interfa iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_flickr_pin_entry_pane_real_on_pane_installed; #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_flickr_pin_entry_pane_real_on_pane_uninstalled; -#line 5066 "FlickrPublishing.c" +#line 5065 "FlickrPublishing.c" } @@ -5118,7 +5117,7 @@ static void publishing_flickr_pin_entry_pane_instance_init (PublishingFlickrPinE self->priv->explanatory_text = NULL; #line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->builder = NULL; -#line 5085 "FlickrPublishing.c" +#line 5084 "FlickrPublishing.c" } @@ -5140,7 +5139,7 @@ static void publishing_flickr_pin_entry_pane_finalize (GObject* obj) { _g_object_unref0 (self->priv->builder); #line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (publishing_flickr_pin_entry_pane_parent_class)->finalize (obj); -#line 5107 "FlickrPublishing.c" +#line 5106 "FlickrPublishing.c" } @@ -5206,14 +5205,14 @@ PublishingFlickrTransaction* publishing_flickr_transaction_construct (GType obje publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_consumer_key", PUBLISHING_FLICKR_API_KEY); #line 765 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 5173 "FlickrPublishing.c" +#line 5172 "FlickrPublishing.c" } PublishingFlickrTransaction* publishing_flickr_transaction_new (PublishingFlickrSession* session, PublishingRESTSupportHttpMethod method) { #line 765 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_transaction_construct (PUBLISHING_FLICKR_TYPE_TRANSACTION, session, method); -#line 5180 "FlickrPublishing.c" +#line 5179 "FlickrPublishing.c" } @@ -5270,14 +5269,14 @@ PublishingFlickrTransaction* publishing_flickr_transaction_construct_with_uri (G publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_consumer_key", PUBLISHING_FLICKR_API_KEY); #line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 5237 "FlickrPublishing.c" +#line 5236 "FlickrPublishing.c" } PublishingFlickrTransaction* publishing_flickr_transaction_new_with_uri (PublishingFlickrSession* session, const gchar* uri, PublishingRESTSupportHttpMethod method) { #line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_transaction_construct_with_uri (PUBLISHING_FLICKR_TYPE_TRANSACTION, session, uri, method); -#line 5244 "FlickrPublishing.c" +#line 5243 "FlickrPublishing.c" } @@ -5306,7 +5305,7 @@ static void publishing_flickr_transaction_real_execute (PublishingRESTSupportTra g_propagate_error (error, _inner_error_); #line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 5273 "FlickrPublishing.c" +#line 5272 "FlickrPublishing.c" } else { #line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -5314,7 +5313,7 @@ static void publishing_flickr_transaction_real_execute (PublishingRESTSupportTra g_clear_error (&_inner_error_); #line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 5281 "FlickrPublishing.c" +#line 5280 "FlickrPublishing.c" } } } @@ -5358,7 +5357,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum _tmp4_ = status; #line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp4_ == NULL) { -#line 5325 "FlickrPublishing.c" +#line 5324 "FlickrPublishing.c" gchar* _tmp5_ = NULL; #line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = g_strdup ("No status property in root node"); @@ -5368,7 +5367,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum _g_free0 (status); #line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5335 "FlickrPublishing.c" +#line 5334 "FlickrPublishing.c" } #line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp6_ = status; @@ -5380,7 +5379,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum _g_free0 (status); #line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5347 "FlickrPublishing.c" +#line 5346 "FlickrPublishing.c" } { xmlNode* _tmp7_ = NULL; @@ -5399,7 +5398,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum if (G_UNLIKELY (_inner_error_ != NULL)) { #line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5366 "FlickrPublishing.c" +#line 5365 "FlickrPublishing.c" goto __catch23_spit_publishing_publishing_error; } #line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -5410,11 +5409,11 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum g_clear_error (&_inner_error_); #line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 5377 "FlickrPublishing.c" +#line 5376 "FlickrPublishing.c" } #line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" errcode = _tmp7_; -#line 5381 "FlickrPublishing.c" +#line 5380 "FlickrPublishing.c" } goto __finally23; __catch23_spit_publishing_publishing_error: @@ -5435,7 +5434,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum _g_free0 (status); #line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5402 "FlickrPublishing.c" +#line 5401 "FlickrPublishing.c" } __finally23: #line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -5448,7 +5447,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum g_clear_error (&_inner_error_); #line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 5415 "FlickrPublishing.c" +#line 5414 "FlickrPublishing.c" } #line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp12_ = errcode; @@ -5476,7 +5475,7 @@ gchar* publishing_flickr_transaction_validate_xml (PublishingRESTSupportXmlDocum _g_free0 (status); #line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5443 "FlickrPublishing.c" +#line 5442 "FlickrPublishing.c" } @@ -5485,7 +5484,7 @@ static gchar* _publishing_flickr_transaction_validate_xml_publishing_rest_suppor result = publishing_flickr_transaction_validate_xml (doc); #line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5452 "FlickrPublishing.c" +#line 5451 "FlickrPublishing.c" } @@ -5493,26 +5492,26 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5472 "FlickrPublishing.c" +#line 5471 "FlickrPublishing.c" } static gpointer _g_error_copy0 (gpointer self) { #line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? g_error_copy (self) : NULL; -#line 5479 "FlickrPublishing.c" +#line 5478 "FlickrPublishing.c" } @@ -5524,7 +5523,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res g_return_val_if_fail (xml != NULL, NULL); #line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _result_ = NULL; -#line 5491 "FlickrPublishing.c" +#line 5490 "FlickrPublishing.c" { PublishingRESTSupportXmlDocument* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; @@ -5540,7 +5539,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res if (G_UNLIKELY (_inner_error_ != NULL)) { #line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5507 "FlickrPublishing.c" +#line 5506 "FlickrPublishing.c" goto __catch24_spit_publishing_publishing_error; } #line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -5551,7 +5550,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res g_clear_error (&_inner_error_); #line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 5518 "FlickrPublishing.c" +#line 5517 "FlickrPublishing.c" } #line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = _tmp0_; @@ -5563,7 +5562,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res _result_ = _tmp3_; #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_xml_document_unref0 (_tmp0_); -#line 5530 "FlickrPublishing.c" +#line 5529 "FlickrPublishing.c" } goto __finally24; __catch24_spit_publishing_publishing_error: @@ -5595,7 +5594,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res _g_free0 (_tmp7_); #line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp9_) { -#line 5562 "FlickrPublishing.c" +#line 5561 "FlickrPublishing.c" GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; GError* _tmp12_ = NULL; @@ -5609,7 +5608,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res _inner_error_ = _tmp12_; #line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (e); -#line 5576 "FlickrPublishing.c" +#line 5575 "FlickrPublishing.c" goto __finally24; } else { GError* _tmp13_ = NULL; @@ -5622,12 +5621,12 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res _inner_error_ = _tmp14_; #line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (e); -#line 5589 "FlickrPublishing.c" +#line 5588 "FlickrPublishing.c" goto __finally24; } #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (e); -#line 5594 "FlickrPublishing.c" +#line 5593 "FlickrPublishing.c" } __finally24: #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -5640,7 +5639,7 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res _publishing_rest_support_xml_document_unref0 (_result_); #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 5607 "FlickrPublishing.c" +#line 5606 "FlickrPublishing.c" } else { #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_xml_document_unref0 (_result_); @@ -5650,14 +5649,14 @@ PublishingRESTSupportXmlDocument* publishing_flickr_transaction_parse_flickr_res g_clear_error (&_inner_error_); #line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 5617 "FlickrPublishing.c" +#line 5616 "FlickrPublishing.c" } } #line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _result_; #line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 5624 "FlickrPublishing.c" +#line 5623 "FlickrPublishing.c" } @@ -5666,7 +5665,7 @@ static void publishing_flickr_transaction_class_init (PublishingFlickrTransactio publishing_flickr_transaction_parent_class = g_type_class_peek_parent (klass); #line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_flickr_transaction_real_execute; -#line 5633 "FlickrPublishing.c" +#line 5632 "FlickrPublishing.c" } @@ -5697,21 +5696,21 @@ PublishingFlickrAuthenticationRequestTransaction* publishing_flickr_authenticati self = (PublishingFlickrAuthenticationRequestTransaction*) publishing_flickr_transaction_construct_with_uri (object_type, _tmp0_, "https://www.flickr.com/services/oauth/request_token", PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET); #line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 5664 "FlickrPublishing.c" +#line 5663 "FlickrPublishing.c" } PublishingFlickrAuthenticationRequestTransaction* publishing_flickr_authentication_request_transaction_new (PublishingFlickrSession* session) { #line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_authentication_request_transaction_construct (PUBLISHING_FLICKR_TYPE_AUTHENTICATION_REQUEST_TRANSACTION, session); -#line 5671 "FlickrPublishing.c" +#line 5670 "FlickrPublishing.c" } static void publishing_flickr_authentication_request_transaction_class_init (PublishingFlickrAuthenticationRequestTransactionClass * klass) { #line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_authentication_request_transaction_parent_class = g_type_class_peek_parent (klass); -#line 5678 "FlickrPublishing.c" +#line 5677 "FlickrPublishing.c" } @@ -5762,21 +5761,21 @@ PublishingFlickrAccessTokenFetchTransaction* publishing_flickr_access_token_fetc _g_free0 (_tmp4_); #line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 5729 "FlickrPublishing.c" +#line 5728 "FlickrPublishing.c" } PublishingFlickrAccessTokenFetchTransaction* publishing_flickr_access_token_fetch_transaction_new (PublishingFlickrSession* session, const gchar* user_verifier) { #line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_access_token_fetch_transaction_construct (PUBLISHING_FLICKR_TYPE_ACCESS_TOKEN_FETCH_TRANSACTION, session, user_verifier); -#line 5736 "FlickrPublishing.c" +#line 5735 "FlickrPublishing.c" } static void publishing_flickr_access_token_fetch_transaction_class_init (PublishingFlickrAccessTokenFetchTransactionClass * klass) { #line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_access_token_fetch_transaction_parent_class = g_type_class_peek_parent (klass); -#line 5743 "FlickrPublishing.c" +#line 5742 "FlickrPublishing.c" } @@ -5822,21 +5821,21 @@ PublishingFlickrAccountInfoFetchTransaction* publishing_flickr_account_info_fetc _g_free0 (_tmp3_); #line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 5789 "FlickrPublishing.c" +#line 5788 "FlickrPublishing.c" } PublishingFlickrAccountInfoFetchTransaction* publishing_flickr_account_info_fetch_transaction_new (PublishingFlickrSession* session) { #line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_account_info_fetch_transaction_construct (PUBLISHING_FLICKR_TYPE_ACCOUNT_INFO_FETCH_TRANSACTION, session); -#line 5796 "FlickrPublishing.c" +#line 5795 "FlickrPublishing.c" } static void publishing_flickr_account_info_fetch_transaction_class_init (PublishingFlickrAccountInfoFetchTransactionClass * klass) { #line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_account_info_fetch_transaction_parent_class = g_type_class_peek_parent (klass); -#line 5803 "FlickrPublishing.c" +#line 5802 "FlickrPublishing.c" } @@ -5859,21 +5858,21 @@ GType publishing_flickr_account_info_fetch_transaction_get_type (void) { static gpointer _publishing_flickr_publishing_parameters_ref0 (gpointer self) { #line 877 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_flickr_publishing_parameters_ref (self) : NULL; -#line 5826 "FlickrPublishing.c" +#line 5825 "FlickrPublishing.c" } static gpointer _publishing_rest_support_session_ref0 (gpointer self) { #line 878 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_rest_support_session_ref (self) : NULL; -#line 5833 "FlickrPublishing.c" +#line 5832 "FlickrPublishing.c" } static void _g_free0_ (gpointer var) { #line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" var = (g_free (var), NULL); -#line 5840 "FlickrPublishing.c" +#line 5839 "FlickrPublishing.c" } @@ -6067,18 +6066,18 @@ PublishingFlickrUploadTransaction* publishing_flickr_upload_transaction_construc if (_tmp37_ == NULL) { #line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp36_ = TRUE; -#line 6034 "FlickrPublishing.c" +#line 6033 "FlickrPublishing.c" } else { const gchar* _tmp38_ = NULL; #line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp38_ = filename; #line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp36_ = g_strcmp0 (_tmp38_, "") == 0; -#line 6041 "FlickrPublishing.c" +#line 6040 "FlickrPublishing.c" } #line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp36_) { -#line 6045 "FlickrPublishing.c" +#line 6044 "FlickrPublishing.c" SpitPublishingPublishable* _tmp39_ = NULL; gchar* _tmp40_ = NULL; #line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -6089,7 +6088,7 @@ PublishingFlickrUploadTransaction* publishing_flickr_upload_transaction_construc _g_free0 (filename); #line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" filename = _tmp40_; -#line 6056 "FlickrPublishing.c" +#line 6055 "FlickrPublishing.c" } #line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp41_ = disposition_table; @@ -6125,14 +6124,14 @@ PublishingFlickrUploadTransaction* publishing_flickr_upload_transaction_construc _g_hash_table_unref0 (disposition_table); #line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 6092 "FlickrPublishing.c" +#line 6091 "FlickrPublishing.c" } PublishingFlickrUploadTransaction* publishing_flickr_upload_transaction_new (PublishingFlickrSession* session, PublishingFlickrPublishingParameters* parameters, SpitPublishingPublishable* publishable) { #line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_upload_transaction_construct (PUBLISHING_FLICKR_TYPE_UPLOAD_TRANSACTION, session, parameters, publishable); -#line 6099 "FlickrPublishing.c" +#line 6098 "FlickrPublishing.c" } @@ -6143,13 +6142,13 @@ static void _vala_array_add18 (PublishingRESTSupportArgument*** array, int* leng *size = (*size) ? (2 * (*size)) : 4; #line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1); -#line 6110 "FlickrPublishing.c" +#line 6109 "FlickrPublishing.c" } #line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 6116 "FlickrPublishing.c" +#line 6115 "FlickrPublishing.c" } @@ -6177,14 +6176,14 @@ void publishing_flickr_upload_transaction_add_authorization_header_field (Publis _tmp3_ = publishing_rest_support_argument_new (_tmp1_, _tmp2_); #line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _vala_array_add18 (&self->priv->auth_header_fields, &self->priv->auth_header_fields_length1, &self->priv->_auth_header_fields_size_, _tmp3_); -#line 6144 "FlickrPublishing.c" +#line 6143 "FlickrPublishing.c" } static gpointer _publishing_rest_support_argument_ref0 (gpointer self) { #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_rest_support_argument_ref (self) : NULL; -#line 6151 "FlickrPublishing.c" +#line 6150 "FlickrPublishing.c" } @@ -6195,17 +6194,17 @@ static PublishingRESTSupportArgument** _vala_array_dup8 (PublishingRESTSupportAr result = g_new0 (PublishingRESTSupportArgument*, length + 1); #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (i = 0; i < length; i++) { -#line 6162 "FlickrPublishing.c" +#line 6161 "FlickrPublishing.c" PublishingRESTSupportArgument* _tmp0_ = NULL; #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp0_ = _publishing_rest_support_argument_ref0 (self[i]); #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result[i] = _tmp0_; -#line 6168 "FlickrPublishing.c" +#line 6167 "FlickrPublishing.c" } #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 6172 "FlickrPublishing.c" +#line 6171 "FlickrPublishing.c" } @@ -6235,13 +6234,13 @@ PublishingRESTSupportArgument** publishing_flickr_upload_transaction_get_authori if (result_length1) { #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *result_length1 = _tmp2__length1; -#line 6202 "FlickrPublishing.c" +#line 6201 "FlickrPublishing.c" } #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _tmp2_; #line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 6208 "FlickrPublishing.c" +#line 6207 "FlickrPublishing.c" } @@ -6255,19 +6254,19 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub _tmp0_ = g_strdup ("OAuth "); #line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _result_ = _tmp0_; -#line 6222 "FlickrPublishing.c" +#line 6221 "FlickrPublishing.c" { gint i = 0; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" i = 0; -#line 6227 "FlickrPublishing.c" +#line 6226 "FlickrPublishing.c" { gboolean _tmp1_ = FALSE; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = TRUE; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" while (TRUE) { -#line 6234 "FlickrPublishing.c" +#line 6233 "FlickrPublishing.c" gint _tmp3_ = 0; PublishingRESTSupportArgument** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -6296,13 +6295,13 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub gint _tmp24__length1 = 0; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!_tmp1_) { -#line 6263 "FlickrPublishing.c" +#line 6262 "FlickrPublishing.c" gint _tmp2_ = 0; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp2_ = i; #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" i = _tmp2_ + 1; -#line 6269 "FlickrPublishing.c" +#line 6268 "FlickrPublishing.c" } #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = FALSE; @@ -6316,7 +6315,7 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub if (!(_tmp3_ < _tmp4__length1)) { #line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" break; -#line 6283 "FlickrPublishing.c" +#line 6282 "FlickrPublishing.c" } #line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = _result_; @@ -6382,7 +6381,7 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub _tmp24__length1 = self->priv->auth_header_fields_length1; #line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp23_ < (_tmp24__length1 - 1)) { -#line 6349 "FlickrPublishing.c" +#line 6348 "FlickrPublishing.c" const gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; #line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -6393,7 +6392,7 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub _g_free0 (_result_); #line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _result_ = _tmp26_; -#line 6360 "FlickrPublishing.c" +#line 6359 "FlickrPublishing.c" } } } @@ -6402,7 +6401,7 @@ gchar* publishing_flickr_upload_transaction_get_authorization_header_string (Pub result = _result_; #line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 6369 "FlickrPublishing.c" +#line 6368 "FlickrPublishing.c" } @@ -6439,7 +6438,7 @@ static void publishing_flickr_upload_transaction_real_execute (PublishingRESTSup _g_free0 (authorization_header); #line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 6405 "FlickrPublishing.c" +#line 6404 "FlickrPublishing.c" } else { #line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (authorization_header); @@ -6449,12 +6448,12 @@ static void publishing_flickr_upload_transaction_real_execute (PublishingRESTSup g_clear_error (&_inner_error_); #line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 6415 "FlickrPublishing.c" +#line 6414 "FlickrPublishing.c" } } #line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (authorization_header); -#line 6420 "FlickrPublishing.c" +#line 6419 "FlickrPublishing.c" } @@ -6467,14 +6466,14 @@ static void publishing_flickr_upload_transaction_class_init (PublishingFlickrUpl g_type_class_add_private (klass, sizeof (PublishingFlickrUploadTransactionPrivate)); #line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_flickr_upload_transaction_real_execute; -#line 6433 "FlickrPublishing.c" +#line 6432 "FlickrPublishing.c" } static void publishing_flickr_upload_transaction_instance_init (PublishingFlickrUploadTransaction * self) { #line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv = PUBLISHING_FLICKR_UPLOAD_TRANSACTION_GET_PRIVATE (self); -#line 6440 "FlickrPublishing.c" +#line 6439 "FlickrPublishing.c" } @@ -6490,7 +6489,7 @@ static void publishing_flickr_upload_transaction_finalize (PublishingRESTSupport self->priv->auth_header_fields = (_vala_array_free (self->priv->auth_header_fields, self->priv->auth_header_fields_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); #line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_flickr_upload_transaction_parent_class)->finalize (obj); -#line 6456 "FlickrPublishing.c" +#line 6455 "FlickrPublishing.c" } @@ -6512,14 +6511,14 @@ PublishingFlickrSession* publishing_flickr_session_construct (GType object_type) self = (PublishingFlickrSession*) publishing_rest_support_session_construct (object_type, PUBLISHING_FLICKR_ENDPOINT_URL); #line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 6478 "FlickrPublishing.c" +#line 6477 "FlickrPublishing.c" } PublishingFlickrSession* publishing_flickr_session_new (void) { #line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_session_construct (PUBLISHING_FLICKR_TYPE_SESSION); -#line 6485 "FlickrPublishing.c" +#line 6484 "FlickrPublishing.c" } @@ -6535,37 +6534,37 @@ static gboolean publishing_flickr_session_real_is_authenticated (PublishingRESTS _tmp2_ = self->priv->access_phase_token; #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp2_ != NULL) { -#line 6501 "FlickrPublishing.c" +#line 6500 "FlickrPublishing.c" const gchar* _tmp3_ = NULL; #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = self->priv->access_phase_token_secret; #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = _tmp3_ != NULL; -#line 6507 "FlickrPublishing.c" +#line 6506 "FlickrPublishing.c" } else { #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = FALSE; -#line 6511 "FlickrPublishing.c" +#line 6510 "FlickrPublishing.c" } #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp1_) { -#line 6515 "FlickrPublishing.c" +#line 6514 "FlickrPublishing.c" const gchar* _tmp4_ = NULL; #line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4_ = self->priv->username; #line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp0_ = _tmp4_ != NULL; -#line 6521 "FlickrPublishing.c" +#line 6520 "FlickrPublishing.c" } else { #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp0_ = FALSE; -#line 6525 "FlickrPublishing.c" +#line 6524 "FlickrPublishing.c" } #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _tmp0_; #line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 6531 "FlickrPublishing.c" +#line 6530 "FlickrPublishing.c" } @@ -6610,7 +6609,7 @@ void publishing_flickr_session_authenticate_from_persistent_credentials (Publish self->priv->username = _tmp5_; #line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), "authenticated"); -#line 6576 "FlickrPublishing.c" +#line 6575 "FlickrPublishing.c" } @@ -6629,14 +6628,14 @@ void publishing_flickr_session_deauthenticate (PublishingFlickrSession* self) { _g_free0 (self->priv->username); #line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->username = NULL; -#line 6595 "FlickrPublishing.c" +#line 6594 "FlickrPublishing.c" } static gpointer _publishing_rest_support_transaction_ref0 (gpointer self) { #line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_rest_support_transaction_ref (self) : NULL; -#line 6602 "FlickrPublishing.c" +#line 6601 "FlickrPublishing.c" } @@ -6647,13 +6646,13 @@ static void _vala_array_add19 (PublishingRESTSupportArgument*** array, int* leng *size = (*size) ? (2 * (*size)) : 4; #line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1); -#line 6613 "FlickrPublishing.c" +#line 6612 "FlickrPublishing.c" } #line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 6619 "FlickrPublishing.c" +#line 6618 "FlickrPublishing.c" } @@ -6758,7 +6757,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp11_ = upload_txn; #line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp11_ != NULL) { -#line 6724 "FlickrPublishing.c" +#line 6723 "FlickrPublishing.c" PublishingRESTSupportArgument** auth_header_args = NULL; PublishingFlickrUploadTransaction* _tmp12_ = NULL; gint _tmp13_ = 0; @@ -6784,7 +6783,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp15_ = auth_header_args; #line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp15__length1 = auth_header_args_length1; -#line 6749 "FlickrPublishing.c" +#line 6748 "FlickrPublishing.c" { PublishingRESTSupportArgument** arg_collection = NULL; gint arg_collection_length1 = 0; @@ -6796,14 +6795,14 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, arg_collection_length1 = _tmp15__length1; #line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (arg_it = 0; arg_it < _tmp15__length1; arg_it = arg_it + 1) { -#line 6761 "FlickrPublishing.c" +#line 6760 "FlickrPublishing.c" PublishingRESTSupportArgument* _tmp16_ = NULL; PublishingRESTSupportArgument* arg = NULL; #line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp16_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]); #line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" arg = _tmp16_; -#line 6768 "FlickrPublishing.c" +#line 6767 "FlickrPublishing.c" { PublishingRESTSupportArgument** _tmp17_ = NULL; gint _tmp17__length1 = 0; @@ -6821,13 +6820,13 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _vala_array_add19 (&base_string_arguments, &base_string_arguments_length1, &_base_string_arguments_size_, _tmp19_); #line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_rest_support_argument_unref0 (arg); -#line 6786 "FlickrPublishing.c" +#line 6785 "FlickrPublishing.c" } } } #line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" auth_header_args = (_vala_array_free (auth_header_args, auth_header_args_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 6792 "FlickrPublishing.c" +#line 6791 "FlickrPublishing.c" } #line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp20_ = base_string_arguments; @@ -6845,19 +6844,19 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp23_ = g_strdup (""); #line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" arguments_string = _tmp23_; -#line 6810 "FlickrPublishing.c" +#line 6809 "FlickrPublishing.c" { gint i = 0; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" i = 0; -#line 6815 "FlickrPublishing.c" +#line 6814 "FlickrPublishing.c" { gboolean _tmp24_ = FALSE; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp24_ = TRUE; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" while (TRUE) { -#line 6822 "FlickrPublishing.c" +#line 6821 "FlickrPublishing.c" gint _tmp26_ = 0; PublishingRESTSupportArgument** _tmp27_ = NULL; gint _tmp27__length1 = 0; @@ -6882,13 +6881,13 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, gint _tmp43__length1 = 0; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!_tmp24_) { -#line 6847 "FlickrPublishing.c" +#line 6846 "FlickrPublishing.c" gint _tmp25_ = 0; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp25_ = i; #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" i = _tmp25_ + 1; -#line 6853 "FlickrPublishing.c" +#line 6852 "FlickrPublishing.c" } #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp24_ = FALSE; @@ -6902,7 +6901,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, if (!(_tmp26_ < _tmp27__length1)) { #line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" break; -#line 6867 "FlickrPublishing.c" +#line 6866 "FlickrPublishing.c" } #line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp28_ = arguments_string; @@ -6952,7 +6951,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp43__length1 = sorted_args_length1; #line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp42_ < (_tmp43__length1 - 1)) { -#line 6917 "FlickrPublishing.c" +#line 6916 "FlickrPublishing.c" const gchar* _tmp44_ = NULL; gchar* _tmp45_ = NULL; #line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -6963,7 +6962,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _g_free0 (arguments_string); #line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" arguments_string = _tmp45_; -#line 6928 "FlickrPublishing.c" +#line 6927 "FlickrPublishing.c" } } } @@ -6974,7 +6973,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp46_ = self->priv->access_phase_token_secret; #line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp46_ != NULL) { -#line 6939 "FlickrPublishing.c" +#line 6938 "FlickrPublishing.c" const gchar* _tmp47_ = NULL; gchar* _tmp48_ = NULL; #line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -6988,14 +6987,14 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _g_free0 (signing_key); #line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" signing_key = _tmp48_; -#line 6952 "FlickrPublishing.c" +#line 6951 "FlickrPublishing.c" } else { const gchar* _tmp49_ = NULL; #line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp49_ = self->priv->request_phase_token_secret; #line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp49_ != NULL) { -#line 6959 "FlickrPublishing.c" +#line 6958 "FlickrPublishing.c" const gchar* _tmp50_ = NULL; gchar* _tmp51_ = NULL; #line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -7009,7 +7008,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _g_free0 (signing_key); #line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" signing_key = _tmp51_; -#line 6972 "FlickrPublishing.c" +#line 6971 "FlickrPublishing.c" } else { gchar* _tmp52_ = NULL; #line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -7021,7 +7020,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _g_free0 (signing_key); #line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" signing_key = _tmp52_; -#line 6983 "FlickrPublishing.c" +#line 6982 "FlickrPublishing.c" } } #line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -7104,7 +7103,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp78_ = upload_txn; #line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp78_ != NULL) { -#line 7066 "FlickrPublishing.c" +#line 7065 "FlickrPublishing.c" PublishingFlickrUploadTransaction* _tmp79_ = NULL; const gchar* _tmp80_ = NULL; #line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -7113,7 +7112,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp80_ = signature; #line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_upload_transaction_add_authorization_header_field (_tmp79_, "oauth_signature", _tmp80_); -#line 7075 "FlickrPublishing.c" +#line 7074 "FlickrPublishing.c" } else { PublishingRESTSupportTransaction* _tmp81_ = NULL; const gchar* _tmp82_ = NULL; @@ -7123,7 +7122,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, _tmp82_ = signature; #line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_rest_support_transaction_add_argument (_tmp81_, "oauth_signature", _tmp82_); -#line 7085 "FlickrPublishing.c" +#line 7084 "FlickrPublishing.c" } #line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (signature); @@ -7141,7 +7140,7 @@ void publishing_flickr_session_sign_transaction (PublishingFlickrSession* self, base_string_arguments = (_vala_array_free (base_string_arguments, base_string_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); #line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (http_method); -#line 7103 "FlickrPublishing.c" +#line 7102 "FlickrPublishing.c" } @@ -7172,7 +7171,7 @@ void publishing_flickr_session_set_request_phase_credentials (PublishingFlickrSe _g_free0 (self->priv->request_phase_token_secret); #line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->request_phase_token_secret = _tmp3_; -#line 7134 "FlickrPublishing.c" +#line 7133 "FlickrPublishing.c" } @@ -7217,7 +7216,7 @@ void publishing_flickr_session_set_access_phase_credentials (PublishingFlickrSes self->priv->username = _tmp5_; #line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), "authenticated"); -#line 7179 "FlickrPublishing.c" +#line 7178 "FlickrPublishing.c" } @@ -7276,7 +7275,7 @@ gchar* publishing_flickr_session_get_oauth_nonce (PublishingFlickrSession* self) result = _tmp11_; #line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7238 "FlickrPublishing.c" +#line 7237 "FlickrPublishing.c" } @@ -7287,39 +7286,39 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 7261 "FlickrPublishing.c" +#line 7260 "FlickrPublishing.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 7269 "FlickrPublishing.c" +#line 7268 "FlickrPublishing.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 7281 "FlickrPublishing.c" +#line 7280 "FlickrPublishing.c" } } @@ -7337,114 +7336,114 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 7305 "FlickrPublishing.c" +#line 7304 "FlickrPublishing.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 7311 "FlickrPublishing.c" +#line 7310 "FlickrPublishing.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 7315 "FlickrPublishing.c" +#line 7314 "FlickrPublishing.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 7319 "FlickrPublishing.c" +#line 7318 "FlickrPublishing.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 7331 "FlickrPublishing.c" +#line 7330 "FlickrPublishing.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 7341 "FlickrPublishing.c" +#line 7340 "FlickrPublishing.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 7347 "FlickrPublishing.c" +#line 7346 "FlickrPublishing.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 7361 "FlickrPublishing.c" +#line 7360 "FlickrPublishing.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 7371 "FlickrPublishing.c" +#line 7370 "FlickrPublishing.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 7377 "FlickrPublishing.c" +#line 7376 "FlickrPublishing.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 7386 "FlickrPublishing.c" +#line 7385 "FlickrPublishing.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 7406 "FlickrPublishing.c" +#line 7405 "FlickrPublishing.c" } @@ -7473,7 +7472,7 @@ gchar* publishing_flickr_session_get_oauth_timestamp (PublishingFlickrSession* s result = _tmp4_; #line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7435 "FlickrPublishing.c" +#line 7434 "FlickrPublishing.c" } @@ -7496,7 +7495,7 @@ gchar* publishing_flickr_session_get_request_phase_token (PublishingFlickrSessio result = _tmp2_; #line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7458 "FlickrPublishing.c" +#line 7457 "FlickrPublishing.c" } @@ -7519,7 +7518,7 @@ gchar* publishing_flickr_session_get_access_phase_token (PublishingFlickrSession result = _tmp2_; #line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7481 "FlickrPublishing.c" +#line 7480 "FlickrPublishing.c" } @@ -7542,7 +7541,7 @@ gchar* publishing_flickr_session_get_access_phase_token_secret (PublishingFlickr result = _tmp2_; #line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7504 "FlickrPublishing.c" +#line 7503 "FlickrPublishing.c" } @@ -7565,7 +7564,7 @@ gchar* publishing_flickr_session_get_username (PublishingFlickrSession* self) { result = _tmp2_; #line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 7527 "FlickrPublishing.c" +#line 7526 "FlickrPublishing.c" } @@ -7578,7 +7577,7 @@ static void publishing_flickr_session_class_init (PublishingFlickrSessionClass * g_type_class_add_private (klass, sizeof (PublishingFlickrSessionPrivate)); #line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_flickr_session_real_is_authenticated; -#line 7540 "FlickrPublishing.c" +#line 7539 "FlickrPublishing.c" } @@ -7595,7 +7594,7 @@ static void publishing_flickr_session_instance_init (PublishingFlickrSession * s self->priv->access_phase_token_secret = NULL; #line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->username = NULL; -#line 7557 "FlickrPublishing.c" +#line 7556 "FlickrPublishing.c" } @@ -7615,7 +7614,7 @@ static void publishing_flickr_session_finalize (PublishingRESTSupportSession* ob _g_free0 (self->priv->username); #line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_flickr_session_parent_class)->finalize (obj); -#line 7577 "FlickrPublishing.c" +#line 7576 "FlickrPublishing.c" } @@ -7634,28 +7633,28 @@ GType publishing_flickr_session_get_type (void) { static void _publishing_flickr_publishing_options_pane_on_visibility_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { #line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_on_visibility_changed ((PublishingFlickrPublishingOptionsPane*) self); -#line 7596 "FlickrPublishing.c" +#line 7595 "FlickrPublishing.c" } static void _publishing_flickr_publishing_options_pane_on_size_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { #line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_on_size_changed ((PublishingFlickrPublishingOptionsPane*) self); -#line 7603 "FlickrPublishing.c" +#line 7602 "FlickrPublishing.c" } static void _publishing_flickr_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_on_logout_clicked ((PublishingFlickrPublishingOptionsPane*) self); -#line 7610 "FlickrPublishing.c" +#line 7609 "FlickrPublishing.c" } static void _publishing_flickr_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_on_publish_clicked ((PublishingFlickrPublishingOptionsPane*) self); -#line 7617 "FlickrPublishing.c" +#line 7616 "FlickrPublishing.c" } @@ -7903,7 +7902,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _tmp48_ = _tmp47_->user_kind; #line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp48_ == PUBLISHING_FLICKR_USER_KIND_FREE) { -#line 7865 "FlickrPublishing.c" +#line 7864 "FlickrPublishing.c" const gchar* _tmp49_ = NULL; PublishingFlickrPublishingParameters* _tmp50_ = NULL; gint _tmp51_ = 0; @@ -7941,7 +7940,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane upload_label_text = _tmp57_; #line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp56_); -#line 7899 "FlickrPublishing.c" +#line 7898 "FlickrPublishing.c" } else { const gchar* _tmp58_ = NULL; const gchar* _tmp59_ = NULL; @@ -7956,7 +7955,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _g_free0 (upload_label_text); #line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" upload_label_text = _tmp60_; -#line 7914 "FlickrPublishing.c" +#line 7913 "FlickrPublishing.c" } #line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp61_ = self->priv->upload_info_label; @@ -7974,7 +7973,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _tmp65_ = media_type; #line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp65_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 7932 "FlickrPublishing.c" +#line 7931 "FlickrPublishing.c" const gchar* _tmp66_ = NULL; gchar* _tmp67_ = NULL; #line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -7985,14 +7984,14 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _g_free0 (visibility_label_text); #line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" visibility_label_text = _tmp67_; -#line 7943 "FlickrPublishing.c" +#line 7942 "FlickrPublishing.c" } else { SpitPublishingPublisherMediaType _tmp68_ = 0; #line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp68_ = media_type; #line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp68_ == (SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO)) { -#line 7950 "FlickrPublishing.c" +#line 7949 "FlickrPublishing.c" const gchar* _tmp69_ = NULL; gchar* _tmp70_ = NULL; #line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8003,7 +8002,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _g_free0 (visibility_label_text); #line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" visibility_label_text = _tmp70_; -#line 7961 "FlickrPublishing.c" +#line 7960 "FlickrPublishing.c" } } #line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8022,7 +8021,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _tmp74_ = media_type; #line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp74_ != SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 7980 "FlickrPublishing.c" +#line 7979 "FlickrPublishing.c" GtkComboBoxText* _tmp75_ = NULL; #line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_populate_size_combo (self); @@ -8030,7 +8029,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _tmp75_ = self->priv->size_combo; #line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_flickr_publishing_options_pane_on_size_changed_gtk_combo_box_changed, self, 0); -#line 7988 "FlickrPublishing.c" +#line 7987 "FlickrPublishing.c" } else { GtkComboBoxText* _tmp76_ = NULL; GtkLabel* _tmp77_ = NULL; @@ -8042,7 +8041,7 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _tmp77_ = self->priv->size_label; #line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 8000 "FlickrPublishing.c" +#line 7999 "FlickrPublishing.c" } #line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp78_ = self->priv->strip_metadata_check; @@ -8064,14 +8063,14 @@ PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane _g_free0 (upload_label_text); #line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 8022 "FlickrPublishing.c" +#line 8021 "FlickrPublishing.c" } PublishingFlickrPublishingOptionsPane* publishing_flickr_publishing_options_pane_new (PublishingFlickrFlickrPublisher* publisher, PublishingFlickrPublishingParameters* parameters, SpitPublishingPublisherMediaType media_type, GtkBuilder* builder, gboolean strip_metadata) { #line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_publishing_options_pane_construct (PUBLISHING_FLICKR_TYPE_PUBLISHING_OPTIONS_PANE, publisher, parameters, media_type, builder, strip_metadata); -#line 8029 "FlickrPublishing.c" +#line 8028 "FlickrPublishing.c" } @@ -8080,14 +8079,14 @@ static void publishing_flickr_publishing_options_pane_on_logout_clicked (Publish g_return_if_fail (PUBLISHING_FLICKR_IS_PUBLISHING_OPTIONS_PANE (self)); #line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 8038 "FlickrPublishing.c" +#line 8037 "FlickrPublishing.c" } static gpointer _publishing_flickr_visibility_specification_ref0 (gpointer self) { #line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_flickr_visibility_specification_ref (self) : NULL; -#line 8045 "FlickrPublishing.c" +#line 8044 "FlickrPublishing.c" } @@ -8129,7 +8128,7 @@ static void publishing_flickr_publishing_options_pane_on_publish_clicked (Publis _tmp7_ = self->priv->media_type; #line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if ((_tmp7_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) { -#line 8087 "FlickrPublishing.c" +#line 8086 "FlickrPublishing.c" PublishingFlickrPublishingParameters* _tmp8_ = NULL; PublishingFlickrPublishingOptionsPaneSizeEntry** _tmp9_ = NULL; gint _tmp9__length1 = 0; @@ -8153,7 +8152,7 @@ static void publishing_flickr_publishing_options_pane_on_publish_clicked (Publis _tmp13_ = _tmp12_->size; #line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp8_->photo_major_axis_size = _tmp13_; -#line 8111 "FlickrPublishing.c" +#line 8110 "FlickrPublishing.c" } #line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp14_ = self->priv->strip_metadata_check; @@ -8161,7 +8160,7 @@ static void publishing_flickr_publishing_options_pane_on_publish_clicked (Publis _tmp15_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_toggle_button_get_type (), GtkToggleButton)); #line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (self, "publish", _tmp15_); -#line 8119 "FlickrPublishing.c" +#line 8118 "FlickrPublishing.c" } @@ -8172,13 +8171,13 @@ static void _vala_array_add20 (PublishingFlickrPublishingOptionsPaneVisibilityEn *size = (*size) ? (2 * (*size)) : 4; #line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneVisibilityEntry*, *array, (*size) + 1); -#line 8130 "FlickrPublishing.c" +#line 8129 "FlickrPublishing.c" } #line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8136 "FlickrPublishing.c" +#line 8135 "FlickrPublishing.c" } @@ -8189,13 +8188,13 @@ static void _vala_array_add21 (PublishingFlickrPublishingOptionsPaneVisibilityEn *size = (*size) ? (2 * (*size)) : 4; #line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneVisibilityEntry*, *array, (*size) + 1); -#line 8147 "FlickrPublishing.c" +#line 8146 "FlickrPublishing.c" } #line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8153 "FlickrPublishing.c" +#line 8152 "FlickrPublishing.c" } @@ -8206,13 +8205,13 @@ static void _vala_array_add22 (PublishingFlickrPublishingOptionsPaneVisibilityEn *size = (*size) ? (2 * (*size)) : 4; #line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneVisibilityEntry*, *array, (*size) + 1); -#line 8164 "FlickrPublishing.c" +#line 8163 "FlickrPublishing.c" } #line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8170 "FlickrPublishing.c" +#line 8169 "FlickrPublishing.c" } @@ -8223,13 +8222,13 @@ static void _vala_array_add23 (PublishingFlickrPublishingOptionsPaneVisibilityEn *size = (*size) ? (2 * (*size)) : 4; #line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneVisibilityEntry*, *array, (*size) + 1); -#line 8181 "FlickrPublishing.c" +#line 8180 "FlickrPublishing.c" } #line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8187 "FlickrPublishing.c" +#line 8186 "FlickrPublishing.c" } @@ -8240,13 +8239,13 @@ static void _vala_array_add24 (PublishingFlickrPublishingOptionsPaneVisibilityEn *size = (*size) ? (2 * (*size)) : 4; #line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneVisibilityEntry*, *array, (*size) + 1); -#line 8198 "FlickrPublishing.c" +#line 8197 "FlickrPublishing.c" } #line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8204 "FlickrPublishing.c" +#line 8203 "FlickrPublishing.c" } @@ -8386,20 +8385,20 @@ static PublishingFlickrPublishingOptionsPaneVisibilityEntry** publishing_flickr_ if (result_length1) { #line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *result_length1 = _tmp26__length1; -#line 8344 "FlickrPublishing.c" +#line 8343 "FlickrPublishing.c" } #line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _tmp26_; #line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 8350 "FlickrPublishing.c" +#line 8349 "FlickrPublishing.c" } static gpointer _publishing_flickr_publishing_options_pane_visibility_entry_ref0 (gpointer self) { #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_flickr_publishing_options_pane_visibility_entry_ref (self) : NULL; -#line 8357 "FlickrPublishing.c" +#line 8356 "FlickrPublishing.c" } @@ -8419,7 +8418,7 @@ static void publishing_flickr_publishing_options_pane_populate_visibility_combo _tmp0__length1 = self->priv->visibilities_length1; #line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp0_ == NULL) { -#line 8377 "FlickrPublishing.c" +#line 8376 "FlickrPublishing.c" gint _tmp1_ = 0; PublishingFlickrPublishingOptionsPaneVisibilityEntry** _tmp2_ = NULL; #line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8432,13 +8431,13 @@ static void publishing_flickr_publishing_options_pane_populate_visibility_combo self->priv->visibilities_length1 = _tmp1_; #line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->_visibilities_size_ = self->priv->visibilities_length1; -#line 8390 "FlickrPublishing.c" +#line 8389 "FlickrPublishing.c" } #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = self->priv->visibilities; #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3__length1 = self->priv->visibilities_length1; -#line 8396 "FlickrPublishing.c" +#line 8395 "FlickrPublishing.c" { PublishingFlickrPublishingOptionsPaneVisibilityEntry** v_collection = NULL; gint v_collection_length1 = 0; @@ -8450,14 +8449,14 @@ static void publishing_flickr_publishing_options_pane_populate_visibility_combo v_collection_length1 = _tmp3__length1; #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (v_it = 0; v_it < _tmp3__length1; v_it = v_it + 1) { -#line 8408 "FlickrPublishing.c" +#line 8407 "FlickrPublishing.c" PublishingFlickrPublishingOptionsPaneVisibilityEntry* _tmp4_ = NULL; PublishingFlickrPublishingOptionsPaneVisibilityEntry* v = NULL; #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4_ = _publishing_flickr_publishing_options_pane_visibility_entry_ref0 (v_collection[v_it]); #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" v = _tmp4_; -#line 8415 "FlickrPublishing.c" +#line 8414 "FlickrPublishing.c" { GtkComboBoxText* _tmp5_ = NULL; PublishingFlickrPublishingOptionsPaneVisibilityEntry* _tmp6_ = NULL; @@ -8472,7 +8471,7 @@ static void publishing_flickr_publishing_options_pane_populate_visibility_combo gtk_combo_box_text_append_text (_tmp5_, _tmp7_); #line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_flickr_publishing_options_pane_visibility_entry_unref0 (v); -#line 8430 "FlickrPublishing.c" +#line 8429 "FlickrPublishing.c" } } } @@ -8484,7 +8483,7 @@ static void publishing_flickr_publishing_options_pane_populate_visibility_combo _tmp10_ = publishing_flickr_flickr_publisher_get_persistent_visibility (_tmp9_); #line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), _tmp10_); -#line 8442 "FlickrPublishing.c" +#line 8441 "FlickrPublishing.c" } @@ -8495,13 +8494,13 @@ static void _vala_array_add25 (PublishingFlickrPublishingOptionsPaneSizeEntry*** *size = (*size) ? (2 * (*size)) : 4; #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneSizeEntry*, *array, (*size) + 1); -#line 8453 "FlickrPublishing.c" +#line 8452 "FlickrPublishing.c" } #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8459 "FlickrPublishing.c" +#line 8458 "FlickrPublishing.c" } @@ -8512,13 +8511,13 @@ static void _vala_array_add26 (PublishingFlickrPublishingOptionsPaneSizeEntry*** *size = (*size) ? (2 * (*size)) : 4; #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneSizeEntry*, *array, (*size) + 1); -#line 8470 "FlickrPublishing.c" +#line 8469 "FlickrPublishing.c" } #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8476 "FlickrPublishing.c" +#line 8475 "FlickrPublishing.c" } @@ -8529,13 +8528,13 @@ static void _vala_array_add27 (PublishingFlickrPublishingOptionsPaneSizeEntry*** *size = (*size) ? (2 * (*size)) : 4; #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneSizeEntry*, *array, (*size) + 1); -#line 8487 "FlickrPublishing.c" +#line 8486 "FlickrPublishing.c" } #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8493 "FlickrPublishing.c" +#line 8492 "FlickrPublishing.c" } @@ -8546,13 +8545,13 @@ static void _vala_array_add28 (PublishingFlickrPublishingOptionsPaneSizeEntry*** *size = (*size) ? (2 * (*size)) : 4; #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneSizeEntry*, *array, (*size) + 1); -#line 8504 "FlickrPublishing.c" +#line 8503 "FlickrPublishing.c" } #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8510 "FlickrPublishing.c" +#line 8509 "FlickrPublishing.c" } @@ -8563,13 +8562,13 @@ static void _vala_array_add29 (PublishingFlickrPublishingOptionsPaneSizeEntry*** *size = (*size) ? (2 * (*size)) : 4; #line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (PublishingFlickrPublishingOptionsPaneSizeEntry*, *array, (*size) + 1); -#line 8521 "FlickrPublishing.c" +#line 8520 "FlickrPublishing.c" } #line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 8527 "FlickrPublishing.c" +#line 8526 "FlickrPublishing.c" } @@ -8669,20 +8668,20 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry** publishing_flickr_publis if (result_length1) { #line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *result_length1 = _tmp16__length1; -#line 8627 "FlickrPublishing.c" +#line 8626 "FlickrPublishing.c" } #line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" result = _tmp16_; #line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 8633 "FlickrPublishing.c" +#line 8632 "FlickrPublishing.c" } static gpointer _publishing_flickr_publishing_options_pane_size_entry_ref0 (gpointer self) { #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self ? publishing_flickr_publishing_options_pane_size_entry_ref (self) : NULL; -#line 8640 "FlickrPublishing.c" +#line 8639 "FlickrPublishing.c" } @@ -8702,7 +8701,7 @@ static void publishing_flickr_publishing_options_pane_populate_size_combo (Publi _tmp0__length1 = self->priv->sizes_length1; #line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp0_ == NULL) { -#line 8660 "FlickrPublishing.c" +#line 8659 "FlickrPublishing.c" gint _tmp1_ = 0; PublishingFlickrPublishingOptionsPaneSizeEntry** _tmp2_ = NULL; #line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8715,13 +8714,13 @@ static void publishing_flickr_publishing_options_pane_populate_size_combo (Publi self->priv->sizes_length1 = _tmp1_; #line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->_sizes_size_ = self->priv->sizes_length1; -#line 8673 "FlickrPublishing.c" +#line 8672 "FlickrPublishing.c" } #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = self->priv->sizes; #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3__length1 = self->priv->sizes_length1; -#line 8679 "FlickrPublishing.c" +#line 8678 "FlickrPublishing.c" { PublishingFlickrPublishingOptionsPaneSizeEntry** e_collection = NULL; gint e_collection_length1 = 0; @@ -8733,14 +8732,14 @@ static void publishing_flickr_publishing_options_pane_populate_size_combo (Publi e_collection_length1 = _tmp3__length1; #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (e_it = 0; e_it < _tmp3__length1; e_it = e_it + 1) { -#line 8691 "FlickrPublishing.c" +#line 8690 "FlickrPublishing.c" PublishingFlickrPublishingOptionsPaneSizeEntry* _tmp4_ = NULL; PublishingFlickrPublishingOptionsPaneSizeEntry* e = NULL; #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4_ = _publishing_flickr_publishing_options_pane_size_entry_ref0 (e_collection[e_it]); #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" e = _tmp4_; -#line 8698 "FlickrPublishing.c" +#line 8697 "FlickrPublishing.c" { GtkComboBoxText* _tmp5_ = NULL; PublishingFlickrPublishingOptionsPaneSizeEntry* _tmp6_ = NULL; @@ -8755,7 +8754,7 @@ static void publishing_flickr_publishing_options_pane_populate_size_combo (Publi gtk_combo_box_text_append_text (_tmp5_, _tmp7_); #line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _publishing_flickr_publishing_options_pane_size_entry_unref0 (e); -#line 8713 "FlickrPublishing.c" +#line 8712 "FlickrPublishing.c" } } } @@ -8767,7 +8766,7 @@ static void publishing_flickr_publishing_options_pane_populate_size_combo (Publi _tmp10_ = publishing_flickr_flickr_publisher_get_persistent_default_size (_tmp9_); #line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), _tmp10_); -#line 8725 "FlickrPublishing.c" +#line 8724 "FlickrPublishing.c" } @@ -8785,7 +8784,7 @@ static void publishing_flickr_publishing_options_pane_on_size_changed (Publishin _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); #line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_set_persistent_default_size (_tmp0_, _tmp2_); -#line 8743 "FlickrPublishing.c" +#line 8742 "FlickrPublishing.c" } @@ -8803,7 +8802,7 @@ static void publishing_flickr_publishing_options_pane_on_visibility_changed (Pub _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); #line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_flickr_publisher_set_persistent_visibility (_tmp0_, _tmp2_); -#line 8761 "FlickrPublishing.c" +#line 8760 "FlickrPublishing.c" } @@ -8818,7 +8817,7 @@ void publishing_flickr_publishing_options_pane_notify_publish (PublishingFlickrP _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton)); #line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (self, "publish", _tmp1_); -#line 8776 "FlickrPublishing.c" +#line 8775 "FlickrPublishing.c" } @@ -8827,7 +8826,7 @@ void publishing_flickr_publishing_options_pane_notify_logout (PublishingFlickrPu g_return_if_fail (PUBLISHING_FLICKR_IS_PUBLISHING_OPTIONS_PANE (self)); #line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 8785 "FlickrPublishing.c" +#line 8784 "FlickrPublishing.c" } @@ -8846,7 +8845,7 @@ static GtkWidget* publishing_flickr_publishing_options_pane_real_get_widget (Spi result = _tmp1_; #line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 8804 "FlickrPublishing.c" +#line 8803 "FlickrPublishing.c" } @@ -8859,21 +8858,21 @@ static SpitPublishingDialogPaneGeometryOptions publishing_flickr_publishing_opti result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; #line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 8817 "FlickrPublishing.c" +#line 8816 "FlickrPublishing.c" } static void _publishing_flickr_publishing_options_pane_notify_publish_publishing_flickr_publishing_options_pane_publish (PublishingFlickrPublishingOptionsPane* _sender, gboolean strip_metadata, gpointer self) { #line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_notify_publish ((PublishingFlickrPublishingOptionsPane*) self); -#line 8824 "FlickrPublishing.c" +#line 8823 "FlickrPublishing.c" } static void _publishing_flickr_publishing_options_pane_notify_logout_publishing_flickr_publishing_options_pane_logout (PublishingFlickrPublishingOptionsPane* _sender, gpointer self) { #line 1276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_notify_logout ((PublishingFlickrPublishingOptionsPane*) self); -#line 8831 "FlickrPublishing.c" +#line 8830 "FlickrPublishing.c" } @@ -8885,7 +8884,7 @@ static void publishing_flickr_publishing_options_pane_real_on_pane_installed (Sp g_signal_connect_object (self, "publish", (GCallback) _publishing_flickr_publishing_options_pane_notify_publish_publishing_flickr_publishing_options_pane_publish, self, 0); #line 1276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_connect_object (self, "logout", (GCallback) _publishing_flickr_publishing_options_pane_notify_logout_publishing_flickr_publishing_options_pane_logout, self, 0); -#line 8843 "FlickrPublishing.c" +#line 8842 "FlickrPublishing.c" } @@ -8903,7 +8902,7 @@ static void publishing_flickr_publishing_options_pane_real_on_pane_uninstalled ( g_signal_parse_name ("logout", PUBLISHING_FLICKR_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp1_, NULL, FALSE); #line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_flickr_publishing_options_pane_notify_logout_publishing_flickr_publishing_options_pane_logout, self); -#line 8861 "FlickrPublishing.c" +#line 8860 "FlickrPublishing.c" } @@ -8930,21 +8929,21 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry* publishing_flickr_publish self->size = _tmp2_; #line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 8888 "FlickrPublishing.c" +#line 8887 "FlickrPublishing.c" } static PublishingFlickrPublishingOptionsPaneSizeEntry* publishing_flickr_publishing_options_pane_size_entry_new (const gchar* creator_title, gint creator_size) { #line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_publishing_options_pane_size_entry_construct (PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_TYPE_SIZE_ENTRY, creator_title, creator_size); -#line 8895 "FlickrPublishing.c" +#line 8894 "FlickrPublishing.c" } static void publishing_flickr_publishing_options_pane_value_size_entry_init (GValue* value) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 8902 "FlickrPublishing.c" +#line 8901 "FlickrPublishing.c" } @@ -8953,7 +8952,7 @@ static void publishing_flickr_publishing_options_pane_value_size_entry_free_valu if (value->data[0].v_pointer) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_size_entry_unref (value->data[0].v_pointer); -#line 8911 "FlickrPublishing.c" +#line 8910 "FlickrPublishing.c" } } @@ -8963,11 +8962,11 @@ static void publishing_flickr_publishing_options_pane_value_size_entry_copy_valu if (src_value->data[0].v_pointer) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = publishing_flickr_publishing_options_pane_size_entry_ref (src_value->data[0].v_pointer); -#line 8921 "FlickrPublishing.c" +#line 8920 "FlickrPublishing.c" } else { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 8925 "FlickrPublishing.c" +#line 8924 "FlickrPublishing.c" } } @@ -8975,37 +8974,37 @@ static void publishing_flickr_publishing_options_pane_value_size_entry_copy_valu static gpointer publishing_flickr_publishing_options_pane_value_size_entry_peek_pointer (const GValue* value) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 8933 "FlickrPublishing.c" +#line 8932 "FlickrPublishing.c" } static gchar* publishing_flickr_publishing_options_pane_value_size_entry_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (collect_values[0].v_pointer) { -#line 8940 "FlickrPublishing.c" +#line 8939 "FlickrPublishing.c" PublishingFlickrPublishingOptionsPaneSizeEntry* object; object = collect_values[0].v_pointer; #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 8947 "FlickrPublishing.c" +#line 8946 "FlickrPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.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 8951 "FlickrPublishing.c" +#line 8950 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = publishing_flickr_publishing_options_pane_size_entry_ref (object); -#line 8955 "FlickrPublishing.c" +#line 8954 "FlickrPublishing.c" } else { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 8959 "FlickrPublishing.c" +#line 8958 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 8963 "FlickrPublishing.c" +#line 8962 "FlickrPublishing.c" } @@ -9016,25 +9015,25 @@ static gchar* publishing_flickr_publishing_options_pane_value_size_entry_lcopy_v if (!object_p) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 8974 "FlickrPublishing.c" +#line 8973 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!value->data[0].v_pointer) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = NULL; -#line 8980 "FlickrPublishing.c" +#line 8979 "FlickrPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = value->data[0].v_pointer; -#line 8984 "FlickrPublishing.c" +#line 8983 "FlickrPublishing.c" } else { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = publishing_flickr_publishing_options_pane_size_entry_ref (value->data[0].v_pointer); -#line 8988 "FlickrPublishing.c" +#line 8987 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 8992 "FlickrPublishing.c" +#line 8991 "FlickrPublishing.c" } @@ -9048,7 +9047,7 @@ static GParamSpec* publishing_flickr_publishing_options_pane_param_spec_size_ent G_PARAM_SPEC (spec)->value_type = object_type; #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return G_PARAM_SPEC (spec); -#line 9006 "FlickrPublishing.c" +#line 9005 "FlickrPublishing.c" } @@ -9057,7 +9056,7 @@ static gpointer publishing_flickr_publishing_options_pane_value_get_size_entry ( g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_TYPE_SIZE_ENTRY), NULL); #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 9015 "FlickrPublishing.c" +#line 9014 "FlickrPublishing.c" } @@ -9077,17 +9076,17 @@ static void publishing_flickr_publishing_options_pane_value_set_size_entry (GVal value->data[0].v_pointer = v_object; #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_size_entry_ref (value->data[0].v_pointer); -#line 9035 "FlickrPublishing.c" +#line 9034 "FlickrPublishing.c" } else { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9039 "FlickrPublishing.c" +#line 9038 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_size_entry_unref (old); -#line 9045 "FlickrPublishing.c" +#line 9044 "FlickrPublishing.c" } } @@ -9106,17 +9105,17 @@ static void publishing_flickr_publishing_options_pane_value_take_size_entry (GVa g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = v_object; -#line 9064 "FlickrPublishing.c" +#line 9063 "FlickrPublishing.c" } else { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9068 "FlickrPublishing.c" +#line 9067 "FlickrPublishing.c" } #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_size_entry_unref (old); -#line 9074 "FlickrPublishing.c" +#line 9073 "FlickrPublishing.c" } } @@ -9126,14 +9125,14 @@ static void publishing_flickr_publishing_options_pane_size_entry_class_init (Pub publishing_flickr_publishing_options_pane_size_entry_parent_class = g_type_class_peek_parent (klass); #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingFlickrPublishingOptionsPaneSizeEntryClass *) klass)->finalize = publishing_flickr_publishing_options_pane_size_entry_finalize; -#line 9084 "FlickrPublishing.c" +#line 9083 "FlickrPublishing.c" } static void publishing_flickr_publishing_options_pane_size_entry_instance_init (PublishingFlickrPublishingOptionsPaneSizeEntry * self) { #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->ref_count = 1; -#line 9091 "FlickrPublishing.c" +#line 9090 "FlickrPublishing.c" } @@ -9145,7 +9144,7 @@ static void publishing_flickr_publishing_options_pane_size_entry_finalize (Publi g_signal_handlers_destroy (self); #line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (self->title); -#line 9103 "FlickrPublishing.c" +#line 9102 "FlickrPublishing.c" } @@ -9170,7 +9169,7 @@ static gpointer publishing_flickr_publishing_options_pane_size_entry_ref (gpoint g_atomic_int_inc (&self->ref_count); #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return instance; -#line 9128 "FlickrPublishing.c" +#line 9127 "FlickrPublishing.c" } @@ -9183,7 +9182,7 @@ static void publishing_flickr_publishing_options_pane_size_entry_unref (gpointer PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_SIZE_ENTRY_GET_CLASS (self)->finalize (self); #line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 9141 "FlickrPublishing.c" +#line 9140 "FlickrPublishing.c" } } @@ -9218,21 +9217,21 @@ static PublishingFlickrPublishingOptionsPaneVisibilityEntry* publishing_flickr_p self->title = _tmp3_; #line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 9176 "FlickrPublishing.c" +#line 9175 "FlickrPublishing.c" } static PublishingFlickrPublishingOptionsPaneVisibilityEntry* publishing_flickr_publishing_options_pane_visibility_entry_new (const gchar* creator_title, PublishingFlickrVisibilitySpecification* creator_specification) { #line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_publishing_options_pane_visibility_entry_construct (PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_TYPE_VISIBILITY_ENTRY, creator_title, creator_specification); -#line 9183 "FlickrPublishing.c" +#line 9182 "FlickrPublishing.c" } static void publishing_flickr_publishing_options_pane_value_visibility_entry_init (GValue* value) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9190 "FlickrPublishing.c" +#line 9189 "FlickrPublishing.c" } @@ -9241,7 +9240,7 @@ static void publishing_flickr_publishing_options_pane_value_visibility_entry_fre if (value->data[0].v_pointer) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_visibility_entry_unref (value->data[0].v_pointer); -#line 9199 "FlickrPublishing.c" +#line 9198 "FlickrPublishing.c" } } @@ -9251,11 +9250,11 @@ static void publishing_flickr_publishing_options_pane_value_visibility_entry_cop if (src_value->data[0].v_pointer) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = publishing_flickr_publishing_options_pane_visibility_entry_ref (src_value->data[0].v_pointer); -#line 9209 "FlickrPublishing.c" +#line 9208 "FlickrPublishing.c" } else { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 9213 "FlickrPublishing.c" +#line 9212 "FlickrPublishing.c" } } @@ -9263,37 +9262,37 @@ static void publishing_flickr_publishing_options_pane_value_visibility_entry_cop static gpointer publishing_flickr_publishing_options_pane_value_visibility_entry_peek_pointer (const GValue* value) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 9221 "FlickrPublishing.c" +#line 9220 "FlickrPublishing.c" } static gchar* publishing_flickr_publishing_options_pane_value_visibility_entry_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (collect_values[0].v_pointer) { -#line 9228 "FlickrPublishing.c" +#line 9227 "FlickrPublishing.c" PublishingFlickrPublishingOptionsPaneVisibilityEntry* object; object = collect_values[0].v_pointer; #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9235 "FlickrPublishing.c" +#line 9234 "FlickrPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.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 9239 "FlickrPublishing.c" +#line 9238 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = publishing_flickr_publishing_options_pane_visibility_entry_ref (object); -#line 9243 "FlickrPublishing.c" +#line 9242 "FlickrPublishing.c" } else { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9247 "FlickrPublishing.c" +#line 9246 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 9251 "FlickrPublishing.c" +#line 9250 "FlickrPublishing.c" } @@ -9304,25 +9303,25 @@ static gchar* publishing_flickr_publishing_options_pane_value_visibility_entry_l if (!object_p) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 9262 "FlickrPublishing.c" +#line 9261 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!value->data[0].v_pointer) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = NULL; -#line 9268 "FlickrPublishing.c" +#line 9267 "FlickrPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = value->data[0].v_pointer; -#line 9272 "FlickrPublishing.c" +#line 9271 "FlickrPublishing.c" } else { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *object_p = publishing_flickr_publishing_options_pane_visibility_entry_ref (value->data[0].v_pointer); -#line 9276 "FlickrPublishing.c" +#line 9275 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return NULL; -#line 9280 "FlickrPublishing.c" +#line 9279 "FlickrPublishing.c" } @@ -9336,7 +9335,7 @@ static GParamSpec* publishing_flickr_publishing_options_pane_param_spec_visibili G_PARAM_SPEC (spec)->value_type = object_type; #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return G_PARAM_SPEC (spec); -#line 9294 "FlickrPublishing.c" +#line 9293 "FlickrPublishing.c" } @@ -9345,7 +9344,7 @@ static gpointer publishing_flickr_publishing_options_pane_value_get_visibility_e g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_TYPE_VISIBILITY_ENTRY), NULL); #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return value->data[0].v_pointer; -#line 9303 "FlickrPublishing.c" +#line 9302 "FlickrPublishing.c" } @@ -9365,17 +9364,17 @@ static void publishing_flickr_publishing_options_pane_value_set_visibility_entry value->data[0].v_pointer = v_object; #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_visibility_entry_ref (value->data[0].v_pointer); -#line 9323 "FlickrPublishing.c" +#line 9322 "FlickrPublishing.c" } else { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9327 "FlickrPublishing.c" +#line 9326 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_visibility_entry_unref (old); -#line 9333 "FlickrPublishing.c" +#line 9332 "FlickrPublishing.c" } } @@ -9394,17 +9393,17 @@ static void publishing_flickr_publishing_options_pane_value_take_visibility_entr g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = v_object; -#line 9352 "FlickrPublishing.c" +#line 9351 "FlickrPublishing.c" } else { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" value->data[0].v_pointer = NULL; -#line 9356 "FlickrPublishing.c" +#line 9355 "FlickrPublishing.c" } #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (old) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishing_flickr_publishing_options_pane_visibility_entry_unref (old); -#line 9362 "FlickrPublishing.c" +#line 9361 "FlickrPublishing.c" } } @@ -9414,14 +9413,14 @@ static void publishing_flickr_publishing_options_pane_visibility_entry_class_ini publishing_flickr_publishing_options_pane_visibility_entry_parent_class = g_type_class_peek_parent (klass); #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingFlickrPublishingOptionsPaneVisibilityEntryClass *) klass)->finalize = publishing_flickr_publishing_options_pane_visibility_entry_finalize; -#line 9372 "FlickrPublishing.c" +#line 9371 "FlickrPublishing.c" } static void publishing_flickr_publishing_options_pane_visibility_entry_instance_init (PublishingFlickrPublishingOptionsPaneVisibilityEntry * self) { #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->ref_count = 1; -#line 9379 "FlickrPublishing.c" +#line 9378 "FlickrPublishing.c" } @@ -9435,7 +9434,7 @@ static void publishing_flickr_publishing_options_pane_visibility_entry_finalize _publishing_flickr_visibility_specification_unref0 (self->specification); #line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (self->title); -#line 9393 "FlickrPublishing.c" +#line 9392 "FlickrPublishing.c" } @@ -9460,7 +9459,7 @@ static gpointer publishing_flickr_publishing_options_pane_visibility_entry_ref ( g_atomic_int_inc (&self->ref_count); #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return instance; -#line 9418 "FlickrPublishing.c" +#line 9417 "FlickrPublishing.c" } @@ -9473,7 +9472,7 @@ static void publishing_flickr_publishing_options_pane_visibility_entry_unref (gp PUBLISHING_FLICKR_PUBLISHING_OPTIONS_PANE_VISIBILITY_ENTRY_GET_CLASS (self)->finalize (self); #line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 9431 "FlickrPublishing.c" +#line 9430 "FlickrPublishing.c" } } @@ -9489,7 +9488,7 @@ static void publishing_flickr_publishing_options_pane_class_init (PublishingFlic g_signal_new ("publish", PUBLISHING_FLICKR_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN); #line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_signal_new ("logout", PUBLISHING_FLICKR_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 9447 "FlickrPublishing.c" +#line 9446 "FlickrPublishing.c" } @@ -9504,7 +9503,7 @@ static void publishing_flickr_publishing_options_pane_spit_publishing_dialog_pan iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_flickr_publishing_options_pane_real_on_pane_installed; #line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_flickr_publishing_options_pane_real_on_pane_uninstalled; -#line 9462 "FlickrPublishing.c" +#line 9461 "FlickrPublishing.c" } @@ -9545,7 +9544,7 @@ static void publishing_flickr_publishing_options_pane_instance_init (PublishingF self->priv->parameters = NULL; #line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv->publisher = NULL; -#line 9503 "FlickrPublishing.c" +#line 9502 "FlickrPublishing.c" } @@ -9583,7 +9582,7 @@ static void publishing_flickr_publishing_options_pane_finalize (GObject* obj) { _g_object_unref0 (self->priv->publisher); #line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" G_OBJECT_CLASS (publishing_flickr_publishing_options_pane_parent_class)->finalize (obj); -#line 9541 "FlickrPublishing.c" +#line 9540 "FlickrPublishing.c" } @@ -9635,14 +9634,14 @@ PublishingFlickrUploader* publishing_flickr_uploader_construct (GType object_typ self->priv->strip_metadata = _tmp4_; #line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return self; -#line 9593 "FlickrPublishing.c" +#line 9592 "FlickrPublishing.c" } PublishingFlickrUploader* publishing_flickr_uploader_new (PublishingFlickrSession* session, SpitPublishingPublishable** publishables, int publishables_length1, PublishingFlickrPublishingParameters* parameters, gboolean strip_metadata) { #line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return publishing_flickr_uploader_construct (PUBLISHING_FLICKR_TYPE_UPLOADER, session, publishables, publishables_length1, parameters, strip_metadata); -#line 9600 "FlickrPublishing.c" +#line 9599 "FlickrPublishing.c" } @@ -9653,13 +9652,13 @@ static void _vala_array_add30 (gchar*** array, int* length, int* size, gchar* va *size = (*size) ? (2 * (*size)) : 4; #line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 9611 "FlickrPublishing.c" +#line 9610 "FlickrPublishing.c" } #line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[(*length)++] = value; #line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" (*array)[*length] = NULL; -#line 9617 "FlickrPublishing.c" +#line 9616 "FlickrPublishing.c" } @@ -9689,13 +9688,13 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU if (_tmp1_ != SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) { #line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 9647 "FlickrPublishing.c" +#line 9646 "FlickrPublishing.c" } #line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp2_ = gexiv2_metadata_new (); #line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" publishable_metadata = _tmp2_; -#line 9653 "FlickrPublishing.c" +#line 9652 "FlickrPublishing.c" { GExiv2Metadata* _tmp3_ = NULL; SpitPublishingPublishable* _tmp4_ = NULL; @@ -9723,7 +9722,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_object_unref0 (_tmp6_); #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9681 "FlickrPublishing.c" +#line 9680 "FlickrPublishing.c" goto __catch25_g_error; } } @@ -9759,20 +9758,20 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_object_unref0 (_tmp11_); #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (err); -#line 9716 "FlickrPublishing.c" +#line 9715 "FlickrPublishing.c" } __finally25: #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _gexiv2_metadata_free0 (publishable_metadata); + _g_object_unref0 (publishable_metadata); #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_clear_error (&_inner_error_); #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 9729 "FlickrPublishing.c" +#line 9728 "FlickrPublishing.c" } #line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp14_ = publishable_metadata; @@ -9781,10 +9780,10 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU #line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (!_tmp15_) { #line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _gexiv2_metadata_free0 (publishable_metadata); + _g_object_unref0 (publishable_metadata); #line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 9741 "FlickrPublishing.c" +#line 9740 "FlickrPublishing.c" } #line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp16_ = publishable_metadata; @@ -9792,7 +9791,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp17_ = gexiv2_metadata_has_tag (_tmp16_, "Iptc.Application2.Caption"); #line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp17_) { -#line 9749 "FlickrPublishing.c" +#line 9748 "FlickrPublishing.c" GExiv2Metadata* _tmp18_ = NULL; GExiv2Metadata* _tmp19_ = NULL; gchar* _tmp20_ = NULL; @@ -9817,7 +9816,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_free0 (_tmp23_); #line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp21_); -#line 9774 "FlickrPublishing.c" +#line 9773 "FlickrPublishing.c" } #line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp24_ = publishable_metadata; @@ -9825,7 +9824,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp25_ = gexiv2_metadata_has_tag (_tmp24_, "Iptc.Application2.Headline"); #line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp25_) { -#line 9782 "FlickrPublishing.c" +#line 9781 "FlickrPublishing.c" GExiv2Metadata* _tmp26_ = NULL; GExiv2Metadata* _tmp27_ = NULL; gchar* _tmp28_ = NULL; @@ -9850,7 +9849,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_free0 (_tmp31_); #line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (_tmp29_); -#line 9807 "FlickrPublishing.c" +#line 9806 "FlickrPublishing.c" } #line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp32_ = publishable_metadata; @@ -9858,7 +9857,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp33_ = gexiv2_metadata_has_tag (_tmp32_, "Iptc.Application2.Keywords"); #line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp33_) { -#line 9815 "FlickrPublishing.c" +#line 9814 "FlickrPublishing.c" GeeSet* keyword_set = NULL; GeeHashSet* _tmp34_ = NULL; gchar** iptc_keywords = NULL; @@ -9918,14 +9917,14 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp38__length1 = iptc_keywords_length1; #line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp38_ != NULL) { -#line 9875 "FlickrPublishing.c" +#line 9874 "FlickrPublishing.c" gchar** _tmp39_ = NULL; gint _tmp39__length1 = 0; #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp39_ = iptc_keywords; #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp39__length1 = iptc_keywords_length1; -#line 9882 "FlickrPublishing.c" +#line 9881 "FlickrPublishing.c" { gchar** keyword_collection = NULL; gint keyword_collection_length1 = 0; @@ -9937,14 +9936,14 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU keyword_collection_length1 = _tmp39__length1; #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (keyword_it = 0; keyword_it < _tmp39__length1; keyword_it = keyword_it + 1) { -#line 9894 "FlickrPublishing.c" +#line 9893 "FlickrPublishing.c" gchar* _tmp40_ = NULL; gchar* keyword = NULL; #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp40_ = g_strdup (keyword_collection[keyword_it]); #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" keyword = _tmp40_; -#line 9901 "FlickrPublishing.c" +#line 9900 "FlickrPublishing.c" { GeeSet* _tmp41_ = NULL; const gchar* _tmp42_ = NULL; @@ -9956,7 +9955,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, GEE_TYPE_COLLECTION, GeeCollection), _tmp42_); #line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (keyword); -#line 9913 "FlickrPublishing.c" +#line 9912 "FlickrPublishing.c" } } } @@ -9977,14 +9976,14 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp46__length1 = xmp_keywords_length1; #line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (_tmp46_ != NULL) { -#line 9934 "FlickrPublishing.c" +#line 9933 "FlickrPublishing.c" gchar** _tmp47_ = NULL; gint _tmp47__length1 = 0; #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp47_ = xmp_keywords; #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp47__length1 = xmp_keywords_length1; -#line 9941 "FlickrPublishing.c" +#line 9940 "FlickrPublishing.c" { gchar** keyword_collection = NULL; gint keyword_collection_length1 = 0; @@ -9996,14 +9995,14 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU keyword_collection_length1 = _tmp47__length1; #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" for (keyword_it = 0; keyword_it < _tmp47__length1; keyword_it = keyword_it + 1) { -#line 9953 "FlickrPublishing.c" +#line 9952 "FlickrPublishing.c" gchar* _tmp48_ = NULL; gchar* keyword = NULL; #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp48_ = g_strdup (keyword_collection[keyword_it]); #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" keyword = _tmp48_; -#line 9960 "FlickrPublishing.c" +#line 9959 "FlickrPublishing.c" { GeeSet* _tmp49_ = NULL; const gchar* _tmp50_ = NULL; @@ -10015,7 +10014,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GEE_TYPE_COLLECTION, GeeCollection), _tmp50_); #line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_free0 (keyword); -#line 9972 "FlickrPublishing.c" +#line 9971 "FlickrPublishing.c" } } } @@ -10070,7 +10069,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _tmp61__length1 = no_keywords_length1; #line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" gexiv2_metadata_set_tag_multiple (_tmp60_, "Iptc.Application2.Keywords", _tmp61_); -#line 10027 "FlickrPublishing.c" +#line 10026 "FlickrPublishing.c" { GExiv2Metadata* _tmp62_ = NULL; SpitPublishingPublishable* _tmp63_ = NULL; @@ -10098,7 +10097,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_object_unref0 (_tmp65_); #line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10055 "FlickrPublishing.c" +#line 10054 "FlickrPublishing.c" goto __catch26_g_error; } } @@ -10134,7 +10133,7 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU _g_object_unref0 (_tmp70_); #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_error_free0 (err); -#line 10090 "FlickrPublishing.c" +#line 10089 "FlickrPublishing.c" } __finally26: #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -10150,14 +10149,14 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_object_unref0 (keyword_set); #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _gexiv2_metadata_free0 (publishable_metadata); + _g_object_unref0 (publishable_metadata); #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" g_clear_error (&_inner_error_); #line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return; -#line 10113 "FlickrPublishing.c" +#line 10112 "FlickrPublishing.c" } #line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" no_keywords = (_vala_array_free (no_keywords, no_keywords_length1, (GDestroyNotify) g_free), NULL); @@ -10169,11 +10168,11 @@ static void publishing_flickr_uploader_preprocess_publishable (PublishingFlickrU iptc_keywords = (_vala_array_free (iptc_keywords, iptc_keywords_length1, (GDestroyNotify) g_free), NULL); #line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _g_object_unref0 (keyword_set); -#line 10125 "FlickrPublishing.c" +#line 10124 "FlickrPublishing.c" } #line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _gexiv2_metadata_free0 (publishable_metadata); -#line 10129 "FlickrPublishing.c" + _g_object_unref0 (publishable_metadata); +#line 10128 "FlickrPublishing.c" } @@ -10223,7 +10222,7 @@ static PublishingRESTSupportTransaction* publishing_flickr_uploader_real_create_ result = _tmp8_; #line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" return result; -#line 10179 "FlickrPublishing.c" +#line 10178 "FlickrPublishing.c" } @@ -10236,14 +10235,14 @@ static void publishing_flickr_uploader_class_init (PublishingFlickrUploaderClass g_type_class_add_private (klass, sizeof (PublishingFlickrUploaderPrivate)); #line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_flickr_uploader_real_create_transaction; -#line 10192 "FlickrPublishing.c" +#line 10191 "FlickrPublishing.c" } static void publishing_flickr_uploader_instance_init (PublishingFlickrUploader * self) { #line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" self->priv = PUBLISHING_FLICKR_UPLOADER_GET_PRIVATE (self); -#line 10199 "FlickrPublishing.c" +#line 10198 "FlickrPublishing.c" } @@ -10255,7 +10254,7 @@ static void publishing_flickr_uploader_finalize (PublishingRESTSupportBatchUploa _publishing_flickr_publishing_parameters_unref0 (self->priv->parameters); #line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_flickr_uploader_parent_class)->finalize (obj); -#line 10211 "FlickrPublishing.c" +#line 10210 "FlickrPublishing.c" } diff --git a/plugins/shotwell-publishing/PicasaPublishing.c b/plugins/shotwell-publishing/PicasaPublishing.c index cda058e..abbd994 100644 --- a/plugins/shotwell-publishing/PicasaPublishing.c +++ b/plugins/shotwell-publishing/PicasaPublishing.c @@ -1,4 +1,4 @@ -/* PicasaPublishing.c generated by valac 0.32.1, the Vala compiler +/* PicasaPublishing.c generated by valac 0.34.1, the Vala compiler * generated from PicasaPublishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3689,37 +3689,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 3677 "PicasaPublishing.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3685 "PicasaPublishing.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3697 "PicasaPublishing.c" } @@ -3739,112 +3739,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 3721 "PicasaPublishing.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 3727 "PicasaPublishing.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 3731 "PicasaPublishing.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 3735 "PicasaPublishing.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 3747 "PicasaPublishing.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 3757 "PicasaPublishing.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 3763 "PicasaPublishing.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 3777 "PicasaPublishing.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 3787 "PicasaPublishing.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 3793 "PicasaPublishing.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 3802 "PicasaPublishing.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3822 "PicasaPublishing.c" } @@ -3857,72 +3857,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 3839 "PicasaPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 3849 "PicasaPublishing.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 3859 "PicasaPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 3865 "PicasaPublishing.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 3876 "PicasaPublishing.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 3888 "PicasaPublishing.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 3892 "PicasaPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 3896 "PicasaPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 3900 "PicasaPublishing.c" gint i = 0; @@ -3945,16 +3945,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 3923 "PicasaPublishing.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 3932 "PicasaPublishing.c" gboolean _tmp11_ = FALSE; @@ -3967,97 +3967,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 3945 "PicasaPublishing.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 3951 "PicasaPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 3961 "PicasaPublishing.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 3973 "PicasaPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 3977 "PicasaPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 3983 "PicasaPublishing.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 3994 "PicasaPublishing.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 4009 "PicasaPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 4013 "PicasaPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 4017 "PicasaPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 4023 "PicasaPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 4035 "PicasaPublishing.c" gchar** _tmp25_ = NULL; @@ -4066,91 +4066,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 4056 "PicasaPublishing.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 4060 "PicasaPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 4066 "PicasaPublishing.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 4073 "PicasaPublishing.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4081 "PicasaPublishing.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 4119 "PicasaPublishing.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 4128 "PicasaPublishing.c" gint _tmp48_ = 0; @@ -4166,94 +4166,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 4144 "PicasaPublishing.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 4150 "PicasaPublishing.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 4164 "PicasaPublishing.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 4184 "PicasaPublishing.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 4199 "PicasaPublishing.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 4203 "PicasaPublishing.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 4211 "PicasaPublishing.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4222 "PicasaPublishing.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4231 "PicasaPublishing.c" } @@ -4272,39 +4272,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 4276 "PicasaPublishing.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4282 "PicasaPublishing.c" } @@ -5784,19 +5784,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 5774 "PicasaPublishing.c" } @@ -6959,11 +6959,11 @@ gchar* publishing_picasa_publishing_parameters_get_target_album_entry_url (Publi static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 6941 "PicasaPublishing.c" { @@ -6978,73 +6978,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 6972 "PicasaPublishing.c" goto __catch15_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 6981 "PicasaPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 6997 "PicasaPublishing.c" goto __catch15_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 7008 "PicasaPublishing.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7022 "PicasaPublishing.c" } @@ -7052,24 +7052,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch15_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 7036 "PicasaPublishing.c" } __finally15: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 7047 "PicasaPublishing.c" } diff --git a/plugins/shotwell-publishing/PiwigoPublishing.c b/plugins/shotwell-publishing/PiwigoPublishing.c index 6b684ba..f8c3b68 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.c +++ b/plugins/shotwell-publishing/PiwigoPublishing.c @@ -1,4 +1,4 @@ -/* PiwigoPublishing.c generated by valac 0.32.1, the Vala compiler +/* PiwigoPublishing.c generated by valac 0.34.1, the Vala compiler * generated from PiwigoPublishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -5408,19 +5408,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 5418 "PiwigoPublishing.c" } @@ -8872,7 +8872,7 @@ static void publishing_piwigo_publishing_options_pane_update_publish_button_sens #line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = category_name; #line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - if (g_strcmp0 (_tmp21_, "") != 0) { + if (g_strcmp0 (_tmp21_, "") == 0) { #line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = TRUE; #line 8868 "PiwigoPublishing.c" @@ -8979,7 +8979,7 @@ static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_po gboolean isfirst = FALSE; SpitPublishingPublishable** _tmp7_ = NULL; gint _tmp7__length1 = 0; - const gchar* _tmp18_ = NULL; + const gchar* _tmp19_ = NULL; #line 1337 "/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" @@ -9047,7 +9047,8 @@ static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_po gchar* cur = NULL; SpitPublishingPublishable* _tmp10_ = NULL; gchar* _tmp11_ = NULL; - gboolean _tmp12_ = FALSE; + const gchar* _tmp12_ = NULL; + gboolean _tmp13_ = FALSE; #line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = pub; #line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -9055,70 +9056,82 @@ static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_po #line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cur = _tmp11_; #line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp12_ = isfirst; + _tmp12_ = cur; #line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - if (_tmp12_) { -#line 9051 "PiwigoPublishing.c" - const gchar* _tmp13_ = NULL; - gchar* _tmp14_ = NULL; -#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp13_ = cur; + if (_tmp12_ == NULL) { #line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp14_ = g_strdup (_tmp13_); + _g_free0 (cur); #line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _g_free0 (common); + _g_object_unref0 (pub); #line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - common = _tmp14_; -#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - isfirst = FALSE; -#line 9064 "PiwigoPublishing.c" - } else { - const gchar* _tmp15_ = NULL; - const gchar* _tmp16_ = NULL; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp15_ = cur; + continue; +#line 9058 "PiwigoPublishing.c" + } #line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp16_ = common; + _tmp13_ = isfirst; #line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - if (g_strcmp0 (_tmp15_, _tmp16_) != 0) { -#line 9074 "PiwigoPublishing.c" - gchar* _tmp17_ = NULL; + if (_tmp13_) { +#line 9064 "PiwigoPublishing.c" + const gchar* _tmp14_ = NULL; + gchar* _tmp15_ = NULL; #line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp17_ = g_strdup (""); + _tmp14_ = cur; #line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _g_free0 (common); + _tmp15_ = g_strdup (_tmp14_); +#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (common); #line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - common = _tmp17_; + common = _tmp15_; #line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + isfirst = FALSE; +#line 9077 "PiwigoPublishing.c" + } else { + const gchar* _tmp16_ = NULL; + const gchar* _tmp17_ = NULL; +#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp16_ = cur; +#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp17_ = common; +#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (g_strcmp0 (_tmp16_, _tmp17_) != 0) { +#line 9087 "PiwigoPublishing.c" + gchar* _tmp18_ = NULL; +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp18_ = g_strdup (""); +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (common); +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + common = _tmp18_; +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (cur); -#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (pub); -#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9088 "PiwigoPublishing.c" +#line 9101 "PiwigoPublishing.c" } } #line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (cur); #line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (pub); -#line 9095 "PiwigoPublishing.c" +#line 9108 "PiwigoPublishing.c" } } } } -#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp18_ = common; -#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:1358: PiwigoConnector: found common event commen" \ -"t %s\n", _tmp18_); -#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1362 "/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" \ +"t %s\n", _tmp19_); +#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = common; -#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9110 "PiwigoPublishing.c" +#line 9123 "PiwigoPublishing.c" } @@ -9129,88 +9142,88 @@ static void publishing_piwigo_publishing_options_pane_create_categories_combo (P gint _tmp5__length1 = 0; const gchar* _tmp21_ = NULL; gboolean _tmp22_ = FALSE; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->existing_categories; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->existing_categories_length1; -#line 9127 "PiwigoPublishing.c" +#line 9140 "PiwigoPublishing.c" { PublishingPiwigoCategory** cat_collection = NULL; gint cat_collection_length1 = 0; gint _cat_collection_size_ = 0; gint cat_it = 0; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection = _tmp0_; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection_length1 = _tmp0__length1; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (cat_it = 0; cat_it < _tmp0__length1; cat_it = cat_it + 1) { -#line 9139 "PiwigoPublishing.c" +#line 9152 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp1_ = NULL; PublishingPiwigoCategory* cat = NULL; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat = _tmp1_; -#line 9146 "PiwigoPublishing.c" +#line 9159 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoCategory* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->existing_categories_combo; -#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = cat; -#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->display_name; -#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (cat); -#line 9161 "PiwigoPublishing.c" +#line 9174 "PiwigoPublishing.c" } } } -#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->existing_categories; -#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5__length1 = self->priv->existing_categories_length1; -#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp5__length1 == 0) { -#line 9171 "PiwigoPublishing.c" +#line 9184 "PiwigoPublishing.c" GtkComboBoxText* _tmp6_ = NULL; GtkRadioButton* _tmp7_ = NULL; GtkRadioButton* _tmp8_ = NULL; GtkTextView* _tmp9_ = NULL; GtkLabel* _tmp10_ = NULL; GtkEntry* _tmp11_ = NULL; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->existing_categories_combo; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1372 "/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 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->use_existing_radio; -#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1373 "/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 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->create_new_radio; -#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1374 "/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 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->album_comment; -#line 1371 "/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 (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = self->priv->album_comment_label; -#line 1372 "/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 (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = self->priv->new_category_entry; -#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1377 "/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 9202 "PiwigoPublishing.c" +#line 9215 "PiwigoPublishing.c" } else { gint last_category_index = 0; gint _tmp12_ = 0; @@ -9219,64 +9232,64 @@ static void publishing_piwigo_publishing_options_pane_create_categories_combo (P GtkEntry* _tmp18_ = NULL; GtkTextView* _tmp19_ = NULL; GtkLabel* _tmp20_ = NULL; -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = self->priv->last_category; -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = publishing_piwigo_publishing_options_pane_find_category_index (self, _tmp12_); -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_category_index = _tmp13_; -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = last_category_index; -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp14_ < 0) { -#line 9221 "PiwigoPublishing.c" +#line 9234 "PiwigoPublishing.c" GtkComboBoxText* _tmp15_ = NULL; -#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = self->priv->existing_categories_combo; -#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1381 "/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 9227 "PiwigoPublishing.c" +#line 9240 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp16_ = NULL; gint _tmp17_ = 0; -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = self->priv->existing_categories_combo; -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = last_category_index; -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1383 "/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 9237 "PiwigoPublishing.c" +#line 9250 "PiwigoPublishing.c" } -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = self->priv->new_category_entry; -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1385 "/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 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = self->priv->album_comment; -#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1386 "/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 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = self->priv->album_comment_label; -#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1387 "/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 9251 "PiwigoPublishing.c" +#line 9264 "PiwigoPublishing.c" } -#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME; -#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp21_); -#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp22_) { -#line 9259 "PiwigoPublishing.c" +#line 9272 "PiwigoPublishing.c" GtkEntry* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; -#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = self->priv->new_category_entry; -#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME; -#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_text (_tmp23_, _tmp24_); -#line 9268 "PiwigoPublishing.c" +#line 9281 "PiwigoPublishing.c" } } @@ -9288,67 +9301,67 @@ static void publishing_piwigo_publishing_options_pane_create_within_categories_c GtkLabel* _tmp6_ = NULL; GtkComboBoxText* _tmp7_ = NULL; GtkComboBoxText* _tmp8_ = NULL; -#line 1389 "/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 1391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->within_existing_combo; -#line 1391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp0_, "/ "); -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->existing_categories; -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = self->priv->existing_categories_length1; -#line 9290 "PiwigoPublishing.c" +#line 9303 "PiwigoPublishing.c" { PublishingPiwigoCategory** cat_collection = NULL; gint cat_collection_length1 = 0; gint _cat_collection_size_ = 0; gint cat_it = 0; -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection = _tmp1_; -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection_length1 = _tmp1__length1; -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (cat_it = 0; cat_it < _tmp1__length1; cat_it = cat_it + 1) { -#line 9302 "PiwigoPublishing.c" +#line 9315 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp2_ = NULL; PublishingPiwigoCategory* cat = NULL; -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]); -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat = _tmp2_; -#line 9309 "PiwigoPublishing.c" +#line 9322 "PiwigoPublishing.c" { GtkComboBoxText* _tmp3_ = NULL; PublishingPiwigoCategory* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->within_existing_combo; -#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = cat; -#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_->display_name; -#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp3_, _tmp5_); -#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (cat); -#line 9324 "PiwigoPublishing.c" +#line 9337 "PiwigoPublishing.c" } } } -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->within_existing_label; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1400 "/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 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->within_existing_combo; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/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 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->within_existing_combo; -#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1402 "/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 9340 "PiwigoPublishing.c" +#line 9353 "PiwigoPublishing.c" } @@ -9359,77 +9372,77 @@ static void publishing_piwigo_publishing_options_pane_create_permissions_combo ( gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->perm_levels; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->perm_levels_length1; -#line 9357 "PiwigoPublishing.c" +#line 9370 "PiwigoPublishing.c" { PublishingPiwigoPermissionLevel** perm_collection = NULL; gint perm_collection_length1 = 0; gint _perm_collection_size_ = 0; gint perm_it = 0; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm_collection = _tmp0_; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm_collection_length1 = _tmp0__length1; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (perm_it = 0; perm_it < _tmp0__length1; perm_it = perm_it + 1) { -#line 9369 "PiwigoPublishing.c" +#line 9382 "PiwigoPublishing.c" PublishingPiwigoPermissionLevel* _tmp1_ = NULL; PublishingPiwigoPermissionLevel* perm = NULL; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_permission_level_ref0 (perm_collection[perm_it]); -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm = _tmp1_; -#line 9376 "PiwigoPublishing.c" +#line 9389 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoPermissionLevel* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->perms_combo; -#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = perm; -#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->name; -#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_permission_level_unref0 (perm); -#line 9391 "PiwigoPublishing.c" +#line 9404 "PiwigoPublishing.c" } } } -#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->last_permission_level; -#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_publishing_options_pane_find_permission_level_index (self, _tmp5_); -#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_permission_level_index = _tmp6_; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = last_permission_level_index; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ < 0) { -#line 9405 "PiwigoPublishing.c" +#line 9418 "PiwigoPublishing.c" GtkComboBoxText* _tmp8_ = NULL; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->perms_combo; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1411 "/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 9411 "PiwigoPublishing.c" +#line 9424 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp9_ = NULL; gint _tmp10_ = 0; -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->perms_combo; -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = last_permission_level_index; -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1413 "/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 9421 "PiwigoPublishing.c" +#line 9434 "PiwigoPublishing.c" } } @@ -9441,112 +9454,112 @@ static void publishing_piwigo_publishing_options_pane_create_size_combo (Publish gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->photo_sizes; -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->photo_sizes_length1; -#line 9439 "PiwigoPublishing.c" +#line 9452 "PiwigoPublishing.c" { PublishingPiwigoSizeEntry** size_collection = NULL; gint size_collection_length1 = 0; gint _size_collection_size_ = 0; gint size_it = 0; -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size_collection = _tmp0_; -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size_collection_length1 = _tmp0__length1; -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (size_it = 0; size_it < _tmp0__length1; size_it = size_it + 1) { -#line 9451 "PiwigoPublishing.c" +#line 9464 "PiwigoPublishing.c" PublishingPiwigoSizeEntry* _tmp1_ = NULL; PublishingPiwigoSizeEntry* size = NULL; -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_size_entry_ref0 (size_collection[size_it]); -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size = _tmp1_; -#line 9458 "PiwigoPublishing.c" +#line 9471 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoSizeEntry* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->size_combo; -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = size; -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->name; -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_size_entry_unref0 (size); -#line 9473 "PiwigoPublishing.c" +#line 9486 "PiwigoPublishing.c" } } } -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->last_photo_size; -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_publishing_options_pane_find_size_index (self, _tmp5_); -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_size_index = _tmp6_; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = last_size_index; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ < 0) { -#line 9487 "PiwigoPublishing.c" +#line 9500 "PiwigoPublishing.c" GtkComboBoxText* _tmp8_ = NULL; gint _tmp9_ = 0; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->size_combo; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_piwigo_publishing_options_pane_find_size_index (self, PUBLISHING_PIWIGO_ORIGINAL_SIZE); -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1423 "/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 9496 "PiwigoPublishing.c" +#line 9509 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp10_ = NULL; gint _tmp11_ = 0; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = self->priv->size_combo; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = last_size_index; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1425 "/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 9506 "PiwigoPublishing.c" +#line 9519 "PiwigoPublishing.c" } } static void publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { PublishingPiwigoPublishingOptionsPane * self; -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 9515 "PiwigoPublishing.c" +#line 9528 "PiwigoPublishing.c" } static gint publishing_piwigo_publishing_options_pane_find_category_index (PublishingPiwigoPublishingOptionsPane* self, gint category_id) { gint result = 0; gint _result_ = 0; -#line 1428 "/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), 0); -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9526 "PiwigoPublishing.c" +#line 9539 "PiwigoPublishing.c" { gint i = 0; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9531 "PiwigoPublishing.c" +#line 9544 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9538 "PiwigoPublishing.c" +#line 9551 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoCategory** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9556,85 +9569,85 @@ static gint publishing_piwigo_publishing_options_pane_find_category_index (Publi PublishingPiwigoCategory* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9550 "PiwigoPublishing.c" +#line 9563 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9556 "PiwigoPublishing.c" +#line 9569 "PiwigoPublishing.c" } -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->existing_categories; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->existing_categories_length1; -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9570 "PiwigoPublishing.c" +#line 9583 "PiwigoPublishing.c" } -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->existing_categories; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->existing_categories_length1; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = category_id; -#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9586 "PiwigoPublishing.c" +#line 9599 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9594 "PiwigoPublishing.c" +#line 9607 "PiwigoPublishing.c" } } } } -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9603 "PiwigoPublishing.c" +#line 9616 "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 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0); -#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9614 "PiwigoPublishing.c" +#line 9627 "PiwigoPublishing.c" { gint i = 0; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9619 "PiwigoPublishing.c" +#line 9632 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9626 "PiwigoPublishing.c" +#line 9639 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoPermissionLevel** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9644,85 +9657,85 @@ static gint publishing_piwigo_publishing_options_pane_find_permission_level_inde PublishingPiwigoPermissionLevel* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9638 "PiwigoPublishing.c" +#line 9651 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9644 "PiwigoPublishing.c" +#line 9657 "PiwigoPublishing.c" } -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->perm_levels; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->perm_levels_length1; -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9658 "PiwigoPublishing.c" +#line 9671 "PiwigoPublishing.c" } -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->perm_levels; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->perm_levels_length1; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = permission_level_id; -#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9674 "PiwigoPublishing.c" +#line 9687 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9682 "PiwigoPublishing.c" +#line 9695 "PiwigoPublishing.c" } } } } -#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9691 "PiwigoPublishing.c" +#line 9704 "PiwigoPublishing.c" } static gint publishing_piwigo_publishing_options_pane_find_size_index (PublishingPiwigoPublishingOptionsPane* self, gint size_id) { gint result = 0; gint _result_ = 0; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0); -#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9702 "PiwigoPublishing.c" +#line 9715 "PiwigoPublishing.c" { gint i = 0; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9707 "PiwigoPublishing.c" +#line 9720 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9714 "PiwigoPublishing.c" +#line 9727 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoSizeEntry** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9732,62 +9745,62 @@ static gint publishing_piwigo_publishing_options_pane_find_size_index (Publishin PublishingPiwigoSizeEntry* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9726 "PiwigoPublishing.c" +#line 9739 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9732 "PiwigoPublishing.c" +#line 9745 "PiwigoPublishing.c" } -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->photo_sizes; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->photo_sizes_length1; -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9746 "PiwigoPublishing.c" +#line 9759 "PiwigoPublishing.c" } -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->photo_sizes; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->photo_sizes_length1; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = size_id; -#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9762 "PiwigoPublishing.c" +#line 9775 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9770 "PiwigoPublishing.c" +#line 9783 "PiwigoPublishing.c" } } } } -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9779 "PiwigoPublishing.c" +#line 9792 "PiwigoPublishing.c" } @@ -9796,36 +9809,36 @@ static gboolean publishing_piwigo_publishing_options_pane_category_already_exist gboolean _result_ = FALSE; PublishingPiwigoCategory** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE); -#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (category_name != NULL, FALSE); -#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = FALSE; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->existing_categories; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->existing_categories_length1; -#line 9798 "PiwigoPublishing.c" +#line 9811 "PiwigoPublishing.c" { PublishingPiwigoCategory** category_collection = NULL; gint category_collection_length1 = 0; gint _category_collection_size_ = 0; gint category_it = 0; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_collection = _tmp0_; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_collection_length1 = _tmp0__length1; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (category_it = 0; category_it < _tmp0__length1; category_it = category_it + 1) { -#line 9810 "PiwigoPublishing.c" +#line 9823 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp1_ = NULL; PublishingPiwigoCategory* category = NULL; -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_category_ref0 (category_collection[category_it]); -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category = _tmp1_; -#line 9817 "PiwigoPublishing.c" +#line 9830 "PiwigoPublishing.c" { PublishingPiwigoCategory* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; @@ -9833,41 +9846,41 @@ static gboolean publishing_piwigo_publishing_options_pane_category_already_exist gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = category; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_->display_name; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = string_strip (_tmp3_); -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = category_name; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strcmp0 (_tmp5_, _tmp6_) == 0; -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_) { -#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = TRUE; -#line 1466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (category); -#line 1466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9847 "PiwigoPublishing.c" +#line 9860 "PiwigoPublishing.c" } -#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (category); -#line 9851 "PiwigoPublishing.c" +#line 9864 "PiwigoPublishing.c" } } } -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9859 "PiwigoPublishing.c" +#line 9872 "PiwigoPublishing.c" } @@ -9886,19 +9899,19 @@ static void g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETER data1 = closure->data; #line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 9878 "PiwigoPublishing.c" +#line 9891 "PiwigoPublishing.c" } else { #line 1112 "/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" data2 = closure->data; -#line 9884 "PiwigoPublishing.c" +#line 9897 "PiwigoPublishing.c" } #line 1112 "/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" callback (data1, publishing_piwigo_value_get_publishing_parameters (param_values + 1), g_value_get_boolean (param_values + 2), data2); -#line 9890 "PiwigoPublishing.c" +#line 9903 "PiwigoPublishing.c" } @@ -9921,7 +9934,7 @@ static void publishing_piwigo_publishing_options_pane_class_init (PublishingPiwi _tmp1_ = g_strdup (_tmp0_); #line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME = _tmp1_; -#line 9913 "PiwigoPublishing.c" +#line 9926 "PiwigoPublishing.c" } @@ -9936,7 +9949,7 @@ static void publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pan 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" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled; -#line 9928 "PiwigoPublishing.c" +#line 9941 "PiwigoPublishing.c" } @@ -9951,7 +9964,7 @@ static void publishing_piwigo_publishing_options_pane_instance_init (PublishingP self->priv->title_as_comment_check = NULL; #line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->no_upload_tags_check = NULL; -#line 9943 "PiwigoPublishing.c" +#line 9956 "PiwigoPublishing.c" } @@ -10001,7 +10014,7 @@ static void publishing_piwigo_publishing_options_pane_finalize (GObject* obj) { 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" G_OBJECT_CLASS (publishing_piwigo_publishing_options_pane_parent_class)->finalize (obj); -#line 9993 "PiwigoPublishing.c" +#line 10006 "PiwigoPublishing.c" } @@ -10024,18 +10037,18 @@ GType publishing_piwigo_publishing_options_pane_get_type (void) { PublishingPiwigoSession* publishing_piwigo_session_construct (GType object_type) { PublishingPiwigoSession* self = NULL; -#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSession*) publishing_rest_support_session_construct (object_type, ""); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10020 "PiwigoPublishing.c" +#line 10033 "PiwigoPublishing.c" } PublishingPiwigoSession* publishing_piwigo_session_new (void) { -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_construct (PUBLISHING_PIWIGO_TYPE_SESSION); -#line 10027 "PiwigoPublishing.c" +#line 10040 "PiwigoPublishing.c" } @@ -10045,43 +10058,43 @@ static gboolean publishing_piwigo_session_real_is_authenticated (PublishingRESTS gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; const gchar* _tmp2_ = NULL; -#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession); -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->pwg_id; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_ != NULL) { -#line 10043 "PiwigoPublishing.c" +#line 10056 "PiwigoPublishing.c" const gchar* _tmp3_ = NULL; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->pwg_url; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _tmp3_ != NULL; -#line 10049 "PiwigoPublishing.c" +#line 10062 "PiwigoPublishing.c" } else { -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = FALSE; -#line 10053 "PiwigoPublishing.c" +#line 10066 "PiwigoPublishing.c" } -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp1_) { -#line 10057 "PiwigoPublishing.c" +#line 10070 "PiwigoPublishing.c" const gchar* _tmp4_ = NULL; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->username; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _tmp4_ != NULL; -#line 10063 "PiwigoPublishing.c" +#line 10076 "PiwigoPublishing.c" } else { -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 10067 "PiwigoPublishing.c" +#line 10080 "PiwigoPublishing.c" } -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp0_; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10073 "PiwigoPublishing.c" +#line 10086 "PiwigoPublishing.c" } @@ -10092,58 +10105,58 @@ void publishing_piwigo_session_authenticate (PublishingPiwigoSession* self, cons gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (url != NULL); -#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (username != NULL); -#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (id != NULL); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = url; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = _tmp1_; -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = g_strdup (_tmp2_); -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = _tmp3_; -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = id; -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup (_tmp4_); -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = _tmp5_; -#line 10116 "PiwigoPublishing.c" +#line 10129 "PiwigoPublishing.c" } void publishing_piwigo_session_deauthenticate (PublishingPiwigoSession* self) { -#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = NULL; -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = NULL; -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = NULL; -#line 10135 "PiwigoPublishing.c" +#line 10148 "PiwigoPublishing.c" } @@ -10151,17 +10164,17 @@ gchar* publishing_piwigo_session_get_username (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL); -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->username; -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10153 "PiwigoPublishing.c" +#line 10166 "PiwigoPublishing.c" } @@ -10169,17 +10182,17 @@ gchar* publishing_piwigo_session_get_pwg_url (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1512 "/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 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pwg_url; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/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 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10171 "PiwigoPublishing.c" +#line 10184 "PiwigoPublishing.c" } @@ -10187,78 +10200,78 @@ gchar* publishing_piwigo_session_get_pwg_id (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1516 "/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 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pwg_id; -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1517 "/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 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10189 "PiwigoPublishing.c" +#line 10202 "PiwigoPublishing.c" } void publishing_piwigo_session_set_pwg_id (PublishingPiwigoSession* self, const gchar* id) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (id != NULL); -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = id; -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1521 "/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 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = _tmp1_; -#line 10208 "PiwigoPublishing.c" +#line 10221 "PiwigoPublishing.c" } static void publishing_piwigo_session_class_init (PublishingPiwigoSessionClass * klass) { -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_parent_class = g_type_class_peek_parent (klass); -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_piwigo_session_finalize; -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoSessionPrivate)); -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_piwigo_session_real_is_authenticated; -#line 10221 "PiwigoPublishing.c" +#line 10234 "PiwigoPublishing.c" } static void publishing_piwigo_session_instance_init (PublishingPiwigoSession * self) { -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_SESSION_GET_PRIVATE (self); -#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = NULL; -#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = NULL; -#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = NULL; -#line 10234 "PiwigoPublishing.c" +#line 10247 "PiwigoPublishing.c" } static void publishing_piwigo_session_finalize (PublishingRESTSupportSession* obj) { PublishingPiwigoSession * self; -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession); -#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_piwigo_session_parent_class)->finalize (obj); -#line 10250 "PiwigoPublishing.c" +#line 10263 "PiwigoPublishing.c" } @@ -10283,52 +10296,52 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct (GType obje PublishingPiwigoSession* _tmp0_ = NULL; PublishingPiwigoSession* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1535 "/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 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = session; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1536 "/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 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_) { -#line 10287 "PiwigoPublishing.c" +#line 10300 "PiwigoPublishing.c" PublishingPiwigoSession* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = session; -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_session_get_pwg_id (_tmp3_); -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = g_strconcat ("pwg_id=", _tmp5_, NULL); -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_; -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/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 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp7_); -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 10309 "PiwigoPublishing.c" +#line 10322 "PiwigoPublishing.c" } -#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10313 "PiwigoPublishing.c" +#line 10326 "PiwigoPublishing.c" } PublishingPiwigoTransaction* publishing_piwigo_transaction_new (PublishingPiwigoSession* session) { -#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_transaction_construct (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session); -#line 10320 "PiwigoPublishing.c" +#line 10333 "PiwigoPublishing.c" } @@ -10343,46 +10356,46 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct_authenticat gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = session; -#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_piwigo_session_get_pwg_url (_tmp1_); -#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_; -#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/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 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp3_); -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = session; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_piwigo_session_get_pwg_id (_tmp4_); -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strconcat ("pwg_id=", _tmp6_, NULL); -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _tmp7_; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/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 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp8_); -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10367 "PiwigoPublishing.c" +#line 10380 "PiwigoPublishing.c" } PublishingPiwigoTransaction* publishing_piwigo_transaction_new_authenticated (PublishingPiwigoSession* session) { -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_transaction_construct_authenticated (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session); -#line 10374 "PiwigoPublishing.c" +#line 10387 "PiwigoPublishing.c" } @@ -10406,143 +10419,143 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; GError * _inner_error_ = NULL; -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = doc; -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp1_; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = root; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = (gchar*) xmlGetProp (_tmp2_, (xmlChar*) "stat"); -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" status = _tmp3_; -#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = status; -#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp4_ == NULL) { -#line 10416 "PiwigoPublishing.c" +#line 10429 "PiwigoPublishing.c" gchar* _tmp5_ = NULL; -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup ("No status property in root node"); -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp5_; -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10426 "PiwigoPublishing.c" +#line 10439 "PiwigoPublishing.c" } -#line 1550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = status; -#line 1550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp6_, "ok") == 0) { -#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = NULL; -#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10438 "PiwigoPublishing.c" +#line 10451 "PiwigoPublishing.c" } { xmlNode* _tmp7_ = NULL; PublishingRESTSupportXmlDocument* _tmp8_ = NULL; xmlNode* _tmp9_ = NULL; xmlNode* _tmp10_ = NULL; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = doc; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = root; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_rest_support_xml_document_get_named_child (_tmp8_, _tmp9_, "err", &_inner_error_); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp10_; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 10457 "PiwigoPublishing.c" +#line 10470 "PiwigoPublishing.c" goto __catch46_spit_publishing_publishing_error; } -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/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 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10468 "PiwigoPublishing.c" +#line 10481 "PiwigoPublishing.c" } -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" errcode = _tmp7_; -#line 10472 "PiwigoPublishing.c" +#line 10485 "PiwigoPublishing.c" } goto __finally46; __catch46_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp11_ = NULL; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = g_strdup ("No error code specified"); -#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp11_; -#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10493 "PiwigoPublishing.c" +#line 10506 "PiwigoPublishing.c" } __finally46: -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/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 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10506 "PiwigoPublishing.c" +#line 10519 "PiwigoPublishing.c" } -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = errcode; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = (gchar*) xmlGetProp (_tmp12_, (xmlChar*) "msg"); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _tmp13_; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = errcode; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = (gchar*) xmlGetProp (_tmp15_, (xmlChar*) "code"); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _tmp16_; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = g_strdup_printf ("%s (error code %s)", _tmp14_, _tmp17_); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = _tmp18_; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp17_); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp14_); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp19_; -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10534 "PiwigoPublishing.c" +#line 10547 "PiwigoPublishing.c" } @@ -10555,93 +10568,93 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc xmlNode* _tmp7_ = NULL; gchar* _tmp8_ = NULL; GError * _inner_error_ = NULL; -#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = doc; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp1_; -#line 10555 "PiwigoPublishing.c" +#line 10568 "PiwigoPublishing.c" { xmlNode* _tmp2_ = NULL; PublishingRESTSupportXmlDocument* _tmp3_ = NULL; xmlNode* _tmp4_ = NULL; xmlNode* _tmp5_ = NULL; -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = doc; -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = root; -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_xml_document_get_named_child (_tmp3_, _tmp4_, "err", &_inner_error_); -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _tmp5_; -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 10573 "PiwigoPublishing.c" +#line 10586 "PiwigoPublishing.c" goto __catch47_spit_publishing_publishing_error; } -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/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 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10582 "PiwigoPublishing.c" +#line 10595 "PiwigoPublishing.c" } -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" errcode = _tmp2_; -#line 10586 "PiwigoPublishing.c" +#line 10599 "PiwigoPublishing.c" } goto __finally47; __catch47_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp6_ = NULL; -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = g_strdup ("0"); -#line 1569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp6_; -#line 1569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 1569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10605 "PiwigoPublishing.c" +#line 10618 "PiwigoPublishing.c" } __finally47: -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/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 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10616 "PiwigoPublishing.c" +#line 10629 "PiwigoPublishing.c" } -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = errcode; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = (gchar*) xmlGetProp (_tmp7_, (xmlChar*) "code"); -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp8_; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10626 "PiwigoPublishing.c" +#line 10639 "PiwigoPublishing.c" } static void publishing_piwigo_transaction_class_init (PublishingPiwigoTransactionClass * klass) { -#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10633 "PiwigoPublishing.c" +#line 10646 "PiwigoPublishing.c" } @@ -10675,47 +10688,47 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (url != NULL, NULL); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (username != NULL, NULL); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (password != NULL, NULL); -#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = url; -#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1584 "/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 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1586 "/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 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1587 "/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 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = password; -#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/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 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10693 "PiwigoPublishing.c" +#line 10706 "PiwigoPublishing.c" } PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password) { -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/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 10700 "PiwigoPublishing.c" +#line 10713 "PiwigoPublishing.c" } static void publishing_piwigo_session_login_transaction_class_init (PublishingPiwigoSessionLoginTransactionClass * klass) { -#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_login_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10707 "PiwigoPublishing.c" +#line 10720 "PiwigoPublishing.c" } @@ -10747,77 +10760,77 @@ PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_statu gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (url != NULL, NULL); -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (pwg_id != NULL, NULL); -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = url; -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1597 "/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 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = session; -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_session_get_pwg_id (_tmp2_); -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strconcat ("pwg_id=", _tmp4_, NULL); -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/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 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp4_); -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1600 "/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 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10771 "PiwigoPublishing.c" +#line 10784 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new_unauthenticated (PublishingPiwigoSession* session, const gchar* url, const gchar* pwg_id) { -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1596 "/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 10778 "PiwigoPublishing.c" +#line 10791 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_construct (GType object_type, PublishingPiwigoSession* session) { PublishingPiwigoSessionGetStatusTransaction* self = NULL; PublishingPiwigoSession* _tmp0_ = NULL; -#line 1599 "/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 (session), NULL); -#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionGetStatusTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1606 "/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 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10795 "PiwigoPublishing.c" +#line 10808 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new (PublishingPiwigoSession* session) { -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1603 "/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 10802 "PiwigoPublishing.c" +#line 10815 "PiwigoPublishing.c" } static void publishing_piwigo_session_get_status_transaction_class_init (PublishingPiwigoSessionGetStatusTransactionClass * klass) { -#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_get_status_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10809 "PiwigoPublishing.c" +#line 10822 "PiwigoPublishing.c" } @@ -10843,33 +10856,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 1610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoCategoriesGetListTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1617 "/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 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1618 "/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 1610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10847 "PiwigoPublishing.c" +#line 10860 "PiwigoPublishing.c" } PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_new (PublishingPiwigoSession* session) { -#line 1610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1614 "/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 10854 "PiwigoPublishing.c" +#line 10867 "PiwigoPublishing.c" } static void publishing_piwigo_categories_get_list_transaction_class_init (PublishingPiwigoCategoriesGetListTransactionClass * klass) { -#line 1609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_get_list_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10861 "PiwigoPublishing.c" +#line 10874 "PiwigoPublishing.c" } @@ -10895,31 +10908,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 1619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionLogoutTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1626 "/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 1619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10897 "PiwigoPublishing.c" +#line 10910 "PiwigoPublishing.c" } PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_new (PublishingPiwigoSession* session) { -#line 1619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_logout_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGOUT_TRANSACTION, session); -#line 10904 "PiwigoPublishing.c" +#line 10917 "PiwigoPublishing.c" } static void publishing_piwigo_session_logout_transaction_class_init (PublishingPiwigoSessionLogoutTransactionClass * klass) { -#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_logout_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10911 "PiwigoPublishing.c" +#line 10924 "PiwigoPublishing.c" } @@ -10945,69 +10958,69 @@ PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_trans const gchar* _tmp1_ = NULL; gint _tmp2_ = 0; const gchar* _tmp6_ = NULL; -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (category != NULL, NULL); -#line 1628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoCategoriesAddTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1634 "/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 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = category; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1635 "/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 1633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = parent_id; -#line 1633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_ != 0) { -#line 10955 "PiwigoPublishing.c" +#line 10968 "PiwigoPublishing.c" gint _tmp3_ = 0; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = parent_id; -#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = g_strdup_printf ("%i", _tmp3_); -#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1634 "/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_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "parent", _tmp5_); -#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 10969 "PiwigoPublishing.c" +#line 10982 "PiwigoPublishing.c" } -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = comment; -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp6_, "") != 0) { -#line 10975 "PiwigoPublishing.c" +#line 10988 "PiwigoPublishing.c" const gchar* _tmp7_ = NULL; -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = comment; -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1642 "/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 10981 "PiwigoPublishing.c" +#line 10994 "PiwigoPublishing.c" } -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10985 "PiwigoPublishing.c" +#line 10998 "PiwigoPublishing.c" } PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_transaction_new (PublishingPiwigoSession* session, const gchar* category, gint parent_id, const gchar* comment) { -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/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 10992 "PiwigoPublishing.c" +#line 11005 "PiwigoPublishing.c" } static void publishing_piwigo_categories_add_transaction_class_init (PublishingPiwigoCategoriesAddTransactionClass * klass) { -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_add_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10999 "PiwigoPublishing.c" +#line 11012 "PiwigoPublishing.c" } @@ -11034,74 +11047,74 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; -#line 11032 "PiwigoPublishing.c" +#line 11045 "PiwigoPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; -#line 11042 "PiwigoPublishing.c" +#line 11055 "PiwigoPublishing.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; -#line 11052 "PiwigoPublishing.c" +#line 11065 "PiwigoPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; -#line 11058 "PiwigoPublishing.c" +#line 11071 "PiwigoPublishing.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { -#line 11069 "PiwigoPublishing.c" +#line 11082 "PiwigoPublishing.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; -#line 11081 "PiwigoPublishing.c" +#line 11094 "PiwigoPublishing.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; -#line 11085 "PiwigoPublishing.c" +#line 11098 "PiwigoPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; -#line 11089 "PiwigoPublishing.c" +#line 11102 "PiwigoPublishing.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { -#line 11093 "PiwigoPublishing.c" +#line 11106 "PiwigoPublishing.c" gint i = 0; gsize len = 0UL; gint _tmp31_ = 0; @@ -11122,18 +11135,18 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; -#line 11116 "PiwigoPublishing.c" +#line 11129 "PiwigoPublishing.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { -#line 11125 "PiwigoPublishing.c" +#line 11138 "PiwigoPublishing.c" gboolean _tmp11_ = FALSE; gboolean _tmp12_ = FALSE; gchar** _tmp13_ = NULL; @@ -11144,192 +11157,192 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { -#line 11138 "PiwigoPublishing.c" +#line 11151 "PiwigoPublishing.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; -#line 11144 "PiwigoPublishing.c" +#line 11157 "PiwigoPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { -#line 11154 "PiwigoPublishing.c" +#line 11167 "PiwigoPublishing.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; -#line 11166 "PiwigoPublishing.c" +#line 11179 "PiwigoPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; -#line 11170 "PiwigoPublishing.c" +#line 11183 "PiwigoPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; -#line 11176 "PiwigoPublishing.c" +#line 11189 "PiwigoPublishing.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { -#line 11187 "PiwigoPublishing.c" +#line 11200 "PiwigoPublishing.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; -#line 11202 "PiwigoPublishing.c" +#line 11215 "PiwigoPublishing.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; -#line 11206 "PiwigoPublishing.c" +#line 11219 "PiwigoPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; -#line 11210 "PiwigoPublishing.c" +#line 11223 "PiwigoPublishing.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; -#line 11216 "PiwigoPublishing.c" +#line 11229 "PiwigoPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { -#line 11228 "PiwigoPublishing.c" +#line 11241 "PiwigoPublishing.c" gchar** _tmp25_ = NULL; gint _tmp25__length1 = 0; gint _tmp26_ = 0; const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; -#line 11249 "PiwigoPublishing.c" +#line 11262 "PiwigoPublishing.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; -#line 11253 "PiwigoPublishing.c" +#line 11266 "PiwigoPublishing.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; -#line 11259 "PiwigoPublishing.c" +#line 11272 "PiwigoPublishing.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { -#line 11266 "PiwigoPublishing.c" +#line 11279 "PiwigoPublishing.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11274 "PiwigoPublishing.c" +#line 11287 "PiwigoPublishing.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; -#line 11312 "PiwigoPublishing.c" +#line 11325 "PiwigoPublishing.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { -#line 11321 "PiwigoPublishing.c" +#line 11334 "PiwigoPublishing.c" gint _tmp48_ = 0; gchar** _tmp49_ = NULL; gint _tmp49__length1 = 0; @@ -11343,104 +11356,104 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { -#line 11337 "PiwigoPublishing.c" +#line 11350 "PiwigoPublishing.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; -#line 11343 "PiwigoPublishing.c" +#line 11356 "PiwigoPublishing.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; -#line 11357 "PiwigoPublishing.c" +#line 11370 "PiwigoPublishing.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { -#line 11377 "PiwigoPublishing.c" +#line 11390 "PiwigoPublishing.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; -#line 11392 "PiwigoPublishing.c" +#line 11405 "PiwigoPublishing.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; -#line 11396 "PiwigoPublishing.c" +#line 11409 "PiwigoPublishing.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; -#line 11404 "PiwigoPublishing.c" +#line 11417 "PiwigoPublishing.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11415 "PiwigoPublishing.c" +#line 11428 "PiwigoPublishing.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11424 "PiwigoPublishing.c" +#line 11437 "PiwigoPublishing.c" } } static void _g_free0_ (gpointer var) { -#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" var = (g_free (var), NULL); -#line 11432 "PiwigoPublishing.c" +#line 11445 "PiwigoPublishing.c" } @@ -11506,381 +11519,381 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c gchar* _tmp74_ = NULL; gchar* _tmp75_ = NULL; gchar* _tmp76_ = NULL; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters), NULL); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishable; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = session; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_session_get_pwg_url (_tmp2_); -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/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 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp4_); -#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = session; -#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1652 "/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 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp6_) { -#line 11524 "PiwigoPublishing.c" +#line 11537 "PiwigoPublishing.c" PublishingPiwigoSession* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = session; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishing_piwigo_session_get_pwg_id (_tmp7_); -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _tmp8_; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = g_strconcat ("pwg_id=", _tmp9_, NULL); -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp10_; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/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 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp11_); -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp9_); -#line 11546 "PiwigoPublishing.c" +#line 11559 "PiwigoPublishing.c" } -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = parameters; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp12_); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = _tmp13_; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = publishable; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = spit_publishing_publishable_get_publishing_keywords (_tmp14_, &_tmp15_); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords = _tmp16_; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords_length1 = _tmp15_; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _keywords_size_ = keywords_length1; -#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = g_strdup (""); -#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" tags = _tmp17_; -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = keywords; -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18__length1 = keywords_length1; -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp18_ != NULL) { -#line 11576 "PiwigoPublishing.c" +#line 11589 "PiwigoPublishing.c" gchar** _tmp19_ = NULL; gint _tmp19__length1 = 0; gchar* _tmp20_ = NULL; -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = keywords; -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19__length1 = keywords_length1; -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _vala_g_strjoinv (",", _tmp19_, _tmp19__length1); -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (tags); -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" tags = _tmp20_; -#line 11590 "PiwigoPublishing.c" +#line 11603 "PiwigoPublishing.c" } -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishable; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = spit_publishing_publishable_get_serialized_file (_tmp21_); -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = _tmp22_; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = g_file_get_basename (_tmp23_); -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = _tmp24_; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = parameters; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = _tmp26_->category; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = _tmp27_->id; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = parameters; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = _tmp29_->perm_level; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = _tmp30_->id; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:1659: PiwigoConnector: Uploading photo %s to cat" \ +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:1663: PiwigoConnector: Uploading photo %s to cat" \ "egory id %d with perm level %d", _tmp25_, _tmp28_, _tmp31_); -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp25_); -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp23_); -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = publishable; -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = spit_publishing_publishable_get_publishing_name (_tmp32_); -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp33_; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = publishable; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = spit_publishing_publishable_get_param_string (_tmp34_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT); -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" comment = _tmp35_; -#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = name; -#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp36_, "") != 0) { -#line 11636 "PiwigoPublishing.c" +#line 11649 "PiwigoPublishing.c" SpitPublishingPublishable* _tmp37_ = NULL; gchar* _tmp38_ = NULL; const gchar* _tmp39_ = NULL; gboolean _tmp40_ = FALSE; const gchar* _tmp41_ = NULL; -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = publishable; -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = spit_publishing_publishable_get_param_string (_tmp37_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME); -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp38_; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = name; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1672 "/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 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = comment; -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp41_ != NULL) { -#line 11658 "PiwigoPublishing.c" +#line 11671 "PiwigoPublishing.c" const gchar* _tmp42_ = NULL; -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = comment; -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = g_strcmp0 (_tmp42_, "") != 0; -#line 11664 "PiwigoPublishing.c" +#line 11677 "PiwigoPublishing.c" } else { -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = FALSE; -#line 11668 "PiwigoPublishing.c" +#line 11681 "PiwigoPublishing.c" } -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp40_) { -#line 11672 "PiwigoPublishing.c" +#line 11685 "PiwigoPublishing.c" const gchar* _tmp43_ = NULL; -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = comment; -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1674 "/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 11678 "PiwigoPublishing.c" +#line 11691 "PiwigoPublishing.c" } } else { gboolean _tmp44_ = FALSE; const gchar* _tmp45_ = NULL; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = comment; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp45_ != NULL) { -#line 11687 "PiwigoPublishing.c" +#line 11700 "PiwigoPublishing.c" const gchar* _tmp46_ = NULL; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = comment; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = g_strcmp0 (_tmp46_, "") != 0; -#line 11693 "PiwigoPublishing.c" +#line 11706 "PiwigoPublishing.c" } else { -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = FALSE; -#line 11697 "PiwigoPublishing.c" +#line 11710 "PiwigoPublishing.c" } -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp44_) { -#line 11701 "PiwigoPublishing.c" +#line 11714 "PiwigoPublishing.c" const gchar* _tmp47_ = NULL; const gchar* _tmp48_ = NULL; -#line 1675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = name; -#line 1675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1679 "/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 1676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = comment; -#line 1676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1680 "/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 11712 "PiwigoPublishing.c" +#line 11725 "PiwigoPublishing.c" } else { PublishingPiwigoPublishingParameters* _tmp49_ = NULL; gboolean _tmp50_ = FALSE; -#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = parameters; -#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = _tmp49_->title_as_comment; -#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp50_) { -#line 11722 "PiwigoPublishing.c" +#line 11735 "PiwigoPublishing.c" const gchar* _tmp51_ = NULL; -#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = name; -#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1686 "/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 11728 "PiwigoPublishing.c" +#line 11741 "PiwigoPublishing.c" } else { const gchar* _tmp52_ = NULL; -#line 1684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = name; -#line 1684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1688 "/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 11735 "PiwigoPublishing.c" +#line 11748 "PiwigoPublishing.c" } } } -#line 1688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1692 "/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 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = parameters; -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = _tmp53_->category; -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = _tmp54_->id; -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp56_ = g_strdup_printf ("%i", _tmp55_); -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp57_ = _tmp56_; -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/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 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp57_); -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp58_ = parameters; -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = _tmp58_->perm_level; -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp60_ = _tmp59_->id; -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp61_ = g_strdup_printf ("%i", _tmp60_); -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62_ = _tmp61_; -#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/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 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp62_); -#line 1691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp63_ = parameters; -#line 1691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = _tmp63_->no_upload_tags; -#line 1691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp64_) { -#line 11775 "PiwigoPublishing.c" +#line 11788 "PiwigoPublishing.c" const gchar* _tmp65_ = NULL; -#line 1692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp65_ = tags; -#line 1692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp65_, "") != 0) { -#line 11781 "PiwigoPublishing.c" +#line 11794 "PiwigoPublishing.c" const gchar* _tmp66_ = NULL; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp66_ = tags; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1697 "/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 11787 "PiwigoPublishing.c" +#line 11800 "PiwigoPublishing.c" } } -#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = g_str_hash; -#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68_ = g_str_equal; -#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp69_ = g_hash_table_new_full (_tmp67_, _tmp68_, _g_free0_, _g_free0_); -#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" disposition_table = _tmp69_; -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp70_ = g_strdup ("filename"); -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp71_ = publishable; -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp72_ = spit_publishing_publishable_get_param_string (_tmp71_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME); -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp73_ = _tmp72_; -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp74_ = soup_uri_encode (_tmp73_, NULL); -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_hash_table_insert (disposition_table, _tmp70_, _tmp74_); -#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp73_); -#line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp75_ = g_strdup ("name"); -#line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp76_ = g_strdup ("image"); -#line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_hash_table_insert (disposition_table, _tmp75_, _tmp76_); -#line 1710 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1714 "/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 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_hash_table_unref0 (disposition_table); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (comment); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (tags); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords = (_vala_array_free (keywords, keywords_length1, (GDestroyNotify) g_free), NULL); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 11832 "PiwigoPublishing.c" +#line 11845 "PiwigoPublishing.c" } PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_new (PublishingPiwigoSession* session, PublishingPiwigoPublishingParameters* parameters, SpitPublishingPublishable* publishable) { -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/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 11839 "PiwigoPublishing.c" +#line 11852 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_class_init (PublishingPiwigoImagesAddTransactionClass * klass) { -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_images_add_transaction_parent_class = g_type_class_peek_parent (klass); -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_piwigo_images_add_transaction_finalize; -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoImagesAddTransactionPrivate)); -#line 11850 "PiwigoPublishing.c" +#line 11863 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_instance_init (PublishingPiwigoImagesAddTransaction * self) { -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_IMAGES_ADD_TRANSACTION_GET_PRIVATE (self); -#line 1644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = NULL; -#line 11859 "PiwigoPublishing.c" +#line 11872 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_finalize (PublishingRESTSupportTransaction* obj) { PublishingPiwigoImagesAddTransaction * self; -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, PublishingPiwigoImagesAddTransaction); -#line 1644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_piwigo_images_add_transaction_parent_class)->finalize (obj); -#line 11871 "PiwigoPublishing.c" +#line 11884 "PiwigoPublishing.c" } diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala b/plugins/shotwell-publishing/PiwigoPublishing.vala index c3a1bd0..63623ea 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.vala +++ b/plugins/shotwell-publishing/PiwigoPublishing.vala @@ -1309,7 +1309,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object { !( create_new_radio.get_active() && ( - category_name != "" || + category_name == "" || category_already_exists(search_name) ) ) @@ -1342,8 +1342,12 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object { bool isfirst = true; if (publishables != null) { foreach (Spit.Publishing.Publishable pub in publishables) { - string cur = pub.get_param_string( + string? cur = pub.get_param_string( Spit.Publishing.Publishable.PARAM_STRING_EVENTCOMMENT); + if (cur == null) { + continue; + } + if (isfirst) { common = cur; isfirst = false; diff --git a/plugins/shotwell-publishing/YouTubePublishing.c b/plugins/shotwell-publishing/YouTubePublishing.c index cc7cd07..ed78ff1 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.c +++ b/plugins/shotwell-publishing/YouTubePublishing.c @@ -1,4 +1,4 @@ -/* YouTubePublishing.c generated by valac 0.32.1, the Vala compiler +/* YouTubePublishing.c generated by valac 0.34.1, the Vala compiler * generated from YouTubePublishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3718,39 +3718,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 3716 "YouTubePublishing.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3722 "YouTubePublishing.c" } diff --git a/plugins/shotwell-publishing/shotwell-publishing.c b/plugins/shotwell-publishing/shotwell-publishing.c index c5b6a4b..0009ab9 100644 --- a/plugins/shotwell-publishing/shotwell-publishing.c +++ b/plugins/shotwell-publishing/shotwell-publishing.c @@ -1,4 +1,4 @@ -/* shotwell-publishing.c generated by valac 0.32.1, the Vala compiler +/* shotwell-publishing.c generated by valac 0.34.1, the Vala compiler * generated from shotwell-publishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/plugins/shotwell-transitions/BlindsEffect.c b/plugins/shotwell-transitions/BlindsEffect.c index a8fa711..ca6ff17 100644 --- a/plugins/shotwell-transitions/BlindsEffect.c +++ b/plugins/shotwell-transitions/BlindsEffect.c @@ -1,4 +1,4 @@ -/* BlindsEffect.c generated by valac 0.32.1, the Vala compiler +/* BlindsEffect.c generated by valac 0.34.1, the Vala compiler * generated from BlindsEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/ChessEffect.c b/plugins/shotwell-transitions/ChessEffect.c index a59a2e6..0542294 100644 --- a/plugins/shotwell-transitions/ChessEffect.c +++ b/plugins/shotwell-transitions/ChessEffect.c @@ -1,4 +1,4 @@ -/* ChessEffect.c generated by valac 0.32.1, the Vala compiler +/* ChessEffect.c generated by valac 0.34.1, the Vala compiler * generated from ChessEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/CircleEffect.c b/plugins/shotwell-transitions/CircleEffect.c index 0bd66ef..15b1730 100644 --- a/plugins/shotwell-transitions/CircleEffect.c +++ b/plugins/shotwell-transitions/CircleEffect.c @@ -1,4 +1,4 @@ -/* CircleEffect.c generated by valac 0.32.1, the Vala compiler +/* CircleEffect.c generated by valac 0.34.1, the Vala compiler * generated from CircleEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/CirclesEffect.c b/plugins/shotwell-transitions/CirclesEffect.c index 542de61..9be7560 100644 --- a/plugins/shotwell-transitions/CirclesEffect.c +++ b/plugins/shotwell-transitions/CirclesEffect.c @@ -1,4 +1,4 @@ -/* CirclesEffect.c generated by valac 0.32.1, the Vala compiler +/* CirclesEffect.c generated by valac 0.34.1, the Vala compiler * generated from CirclesEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/ClockEffect.c b/plugins/shotwell-transitions/ClockEffect.c index 3074f40..e6e8800 100644 --- a/plugins/shotwell-transitions/ClockEffect.c +++ b/plugins/shotwell-transitions/ClockEffect.c @@ -1,4 +1,4 @@ -/* ClockEffect.c generated by valac 0.32.1, the Vala compiler +/* ClockEffect.c generated by valac 0.34.1, the Vala compiler * generated from ClockEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/CrumbleEffect.c b/plugins/shotwell-transitions/CrumbleEffect.c index 4fab4db..71eb2a9 100644 --- a/plugins/shotwell-transitions/CrumbleEffect.c +++ b/plugins/shotwell-transitions/CrumbleEffect.c @@ -1,4 +1,4 @@ -/* CrumbleEffect.c generated by valac 0.32.1, the Vala compiler +/* CrumbleEffect.c generated by valac 0.34.1, the Vala compiler * generated from CrumbleEffect.vala, do not modify */ /* Copyright 2010 Maxim Kartashev diff --git a/plugins/shotwell-transitions/FadeEffect.c b/plugins/shotwell-transitions/FadeEffect.c index 132f3d6..a943b53 100644 --- a/plugins/shotwell-transitions/FadeEffect.c +++ b/plugins/shotwell-transitions/FadeEffect.c @@ -1,4 +1,4 @@ -/* FadeEffect.c generated by valac 0.32.1, the Vala compiler +/* FadeEffect.c generated by valac 0.34.1, the Vala compiler * generated from FadeEffect.vala, do not modify */ /* Copyright 2010 Maxim Kartashev diff --git a/plugins/shotwell-transitions/SlideEffect.c b/plugins/shotwell-transitions/SlideEffect.c index 1fa1cd3..19b10bb 100644 --- a/plugins/shotwell-transitions/SlideEffect.c +++ b/plugins/shotwell-transitions/SlideEffect.c @@ -1,4 +1,4 @@ -/* SlideEffect.c generated by valac 0.32.1, the Vala compiler +/* SlideEffect.c generated by valac 0.34.1, the Vala compiler * generated from SlideEffect.vala, do not modify */ /* Copyright 2010 Maxim Kartashev diff --git a/plugins/shotwell-transitions/SquaresEffect.c b/plugins/shotwell-transitions/SquaresEffect.c index 29fab0c..28bf4b1 100644 --- a/plugins/shotwell-transitions/SquaresEffect.c +++ b/plugins/shotwell-transitions/SquaresEffect.c @@ -1,4 +1,4 @@ -/* SquaresEffect.c generated by valac 0.32.1, the Vala compiler +/* SquaresEffect.c generated by valac 0.34.1, the Vala compiler * generated from SquaresEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/StripesEffect.c b/plugins/shotwell-transitions/StripesEffect.c index c6e802d..2124bd5 100644 --- a/plugins/shotwell-transitions/StripesEffect.c +++ b/plugins/shotwell-transitions/StripesEffect.c @@ -1,4 +1,4 @@ -/* StripesEffect.c generated by valac 0.32.1, the Vala compiler +/* StripesEffect.c generated by valac 0.34.1, the Vala compiler * generated from StripesEffect.vala, do not modify */ /* Copyright 2013 Jens Bav diff --git a/plugins/shotwell-transitions/shotwell-transitions.c b/plugins/shotwell-transitions/shotwell-transitions.c index 7e6d981..cf83002 100644 --- a/plugins/shotwell-transitions/shotwell-transitions.c +++ b/plugins/shotwell-transitions/shotwell-transitions.c @@ -1,4 +1,4 @@ -/* shotwell-transitions.c generated by valac 0.32.1, the Vala compiler +/* shotwell-transitions.c generated by valac 0.34.1, the Vala compiler * generated from shotwell-transitions.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. Binary files differ@@ -1,34 +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-09-04 08:43+0000\n" +"POT-Creation-Date: 2016-07-19 11:28+0000\n" "PO-Revision-Date: 2016-07-20 12:36+0200\n" "Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n" "Language-Team: Español; Castellano <gnome-es-list@gnome.org>\n" @@ -135,7 +135,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:416 +#: misc/org.yorba.shotwell.gschema.xml:410 msgid "default size" msgstr "tamaño predeterminado" @@ -163,9 +163,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:384 -#: misc/org.yorba.shotwell.gschema.xml:442 -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:378 +#: misc/org.yorba.shotwell.gschema.xml:436 +#: misc/org.yorba.shotwell.gschema.xml:492 msgid "username" msgstr "nombre de usuario" @@ -182,7 +182,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:460 +#: misc/org.yorba.shotwell.gschema.xml:454 msgid "last category" msgstr "última categoría" @@ -191,7 +191,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:472 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "last photo size" msgstr "último tamaño de foto" @@ -229,11 +229,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: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 msgid "remove sensitive info from uploads" msgstr "" @@ -272,166 +272,154 @@ 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 -#, fuzzy -#| msgid "display sidebar" -msgid "display toolbar" -msgstr "mostrar barra lateral" - -#: misc/org.yorba.shotwell.gschema.xml:41 -#, fuzzy -#| 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 lateral, 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:47 +#: misc/org.yorba.shotwell.gschema.xml:41 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:52 +#: misc/org.yorba.shotwell.gschema.xml:46 msgid "display photo titles" msgstr "mostrar títulos de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:47 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:52 msgid "display photo comments" msgstr "mostrar comentarios de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:53 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:58 msgid "display event comments" msgstr "mostrar comentarios del evento" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:59 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:64 msgid "display photo tags" msgstr "mostrar etiquetas de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:65 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:70 msgid "display photo ratings" msgstr "mostrar puntuación de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "" "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:76 msgid "rating filter level" msgstr "nivel de filtrado de puntuación" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:77 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:82 msgid "sort events ascending" msgstr "ordenar eventos ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:83 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:88 msgid "sort library photos ascending" msgstr "ordenar fotos de la biblioteca ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:89 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:94 msgid "sort library photos criteria" msgstr "criterio de ordenación de fotos en la biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:95 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:106 +#: misc/org.yorba.shotwell.gschema.xml:100 msgid "sort event photos ascending" msgstr "ordenar fotos de eventos ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:101 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:106 msgid "sort event photos criteria" msgstr "criterio de ordenación de las fotos de eventos" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:107 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:118 +#: misc/org.yorba.shotwell.gschema.xml:112 msgid "use 24 hour time" msgstr "usar formato de 24 horas" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:113 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:118 msgid "keep relative time between photos" msgstr "mantener el tiempo relativo entre fotos" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:119 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:124 msgid "modify original photo files" msgstr "modificar archivos de fotos originales" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:125 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:130 msgid "show welcome dialog on startup" msgstr "mostrar diálogo de bienvenida al inicio" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." @@ -439,70 +427,71 @@ 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:142 +#: misc/org.yorba.shotwell.gschema.xml:136 msgid "sidebar position" msgstr "posición de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "The width, in pixels, of the sidebar" msgstr "La anchura en píxeles de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:148 +#: misc/org.yorba.shotwell.gschema.xml:142 msgid "photo thumbnail scale" msgstr "escala de la miniatura de la foto" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:143 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:154 +#: misc/org.yorba.shotwell.gschema.xml:148 +#| msgid "Pin the toolbar open" msgid "pin toolbar state" msgstr "estado de anclaje de la barra de herramientas" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:149 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:160 +#: misc/org.yorba.shotwell.gschema.xml:154 msgid "background color" msgstr "color de fondo" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:155 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:166 +#: misc/org.yorba.shotwell.gschema.xml:160 msgid "Selection state of \"hide photos\" option" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:167 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "" "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:168 msgid "delay" msgstr "retardo" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:169 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:180 +#: misc/org.yorba.shotwell.gschema.xml:174 msgid "transition delay" msgstr "retraso de la transición" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:175 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:180 msgid "transition effect id" msgstr "ID del efecto de transición" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" @@ -510,100 +499,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:192 +#: misc/org.yorba.shotwell.gschema.xml:186 msgid "Show title" msgstr "Mostrar título" -#: misc/org.yorba.shotwell.gschema.xml:193 +#: misc/org.yorba.shotwell.gschema.xml:187 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:200 +#: misc/org.yorba.shotwell.gschema.xml:194 msgid "maximize library window" msgstr "maximizar ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:195 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:206 +#: misc/org.yorba.shotwell.gschema.xml:200 msgid "width of library window" msgstr "anchura de la ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:201 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:212 +#: misc/org.yorba.shotwell.gschema.xml:206 msgid "height of library window" msgstr "altura de la ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:207 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:218 +#: misc/org.yorba.shotwell.gschema.xml:212 msgid "maximize direct-edit window" msgstr "maximizar ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:213 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:224 +#: misc/org.yorba.shotwell.gschema.xml:218 msgid "width of direct-edit window" msgstr "anchura de la ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:219 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:230 +#: misc/org.yorba.shotwell.gschema.xml:224 msgid "height of direct-edit window" msgstr "altura de la ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:225 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:236 +#: misc/org.yorba.shotwell.gschema.xml:230 msgid "sidebar divider position" msgstr "posición del divisor de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:237 +#: misc/org.yorba.shotwell.gschema.xml:231 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:238 msgid "import directory" msgstr "importar carpeta" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:239 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:250 +#: misc/org.yorba.shotwell.gschema.xml:244 msgid "watch library directory for new files" msgstr "vigilar carpeta de biblioteca en busca de archivos nuevos" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:245 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:250 msgid "write metadata to master files" msgstr "escribir metadatos en archivos maestros" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." @@ -611,148 +600,150 @@ 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:262 +#: misc/org.yorba.shotwell.gschema.xml:256 msgid "use lowercase filenames" msgstr "usar nombres de archivos en minúscula" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:257 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:262 +#| msgid "_Directory structure:" msgid "directory pattern" msgstr "patrón de carpetas" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:263 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:268 msgid "directory pattern custom" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:269 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:274 msgid "RAW developer default" msgstr "desarrollador RAW predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:281 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "Default option for which RAW developer Shotwell will use." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:282 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:289 +#: misc/org.yorba.shotwell.gschema.xml:283 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:293 +#: misc/org.yorba.shotwell.gschema.xml:287 msgid "Most-recently-used crop custom aspect ratio's numerator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:294 +#: misc/org.yorba.shotwell.gschema.xml:288 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 +#: misc/org.yorba.shotwell.gschema.xml:292 msgid "Most-recently-used crop custom aspect ratio's denominator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:299 +#: misc/org.yorba.shotwell.gschema.xml:293 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:300 msgid "external photo editor" msgstr "dditor de fotos externo" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:301 msgid "External application used to edit photos." msgstr "Aplicación externa usada para editar fotos." -#: misc/org.yorba.shotwell.gschema.xml:312 +#: misc/org.yorba.shotwell.gschema.xml:306 msgid "external raw editor" msgstr "editor RAW externo" -#: misc/org.yorba.shotwell.gschema.xml:313 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "External application used to edit RAW photos." msgstr "Aplicación externa usada para editar fotos RAW." -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:314 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:326 +#: misc/org.yorba.shotwell.gschema.xml:320 msgid "default publishing service" msgstr "servicio de publicación predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:334 msgid "access token" msgstr "testigo de acceso" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:335 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:346 +#: misc/org.yorba.shotwell.gschema.xml:340 msgid "user i.d." msgstr "ID de usuario" -#: misc/org.yorba.shotwell.gschema.xml:347 +#: misc/org.yorba.shotwell.gschema.xml:341 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:352 +#: misc/org.yorba.shotwell.gschema.xml:346 msgid "user name" msgstr "nombre de usuario" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:347 +#| msgid "You are not currently logged into Yandex.Fotki." 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:358 -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:384 msgid "default size code" msgstr "código de tamaño predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:353 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:365 +#: misc/org.yorba.shotwell.gschema.xml:359 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" @@ -760,19 +751,19 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Facebook" -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:366 msgid "OAuth Access Phase Token" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:367 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:372 msgid "OAuth Access Phase Token Secret" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:373 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" @@ -781,23 +772,23 @@ msgstr "" "autenticación para el usuario que actualmente ha iniciado sesión en Flickr, " "si existe" -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:379 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:391 +#: misc/org.yorba.shotwell.gschema.xml:385 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:396 +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "default visibility" msgstr "visibilidad predeterminada" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:391 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" @@ -805,7 +796,7 @@ msgstr "" "Un código numérico que representa la visibilidad predeterminada de las fotos " "publicadas en Flickr" -#: misc/org.yorba.shotwell.gschema.xml:403 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" @@ -813,18 +804,18 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Flicrk" -#: misc/org.yorba.shotwell.gschema.xml:410 -#: misc/org.yorba.shotwell.gschema.xml:542 +#: misc/org.yorba.shotwell.gschema.xml:404 +#: misc/org.yorba.shotwell.gschema.xml:536 msgid "refresh token" msgstr "actualizar testigo" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:405 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:411 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" @@ -832,18 +823,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:422 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:416 +#: misc/org.yorba.shotwell.gschema.xml:510 msgid "last album" msgstr "último álbum" -#: misc/org.yorba.shotwell.gschema.xml:423 -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:417 +#: misc/org.yorba.shotwell.gschema.xml:511 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:429 +#: misc/org.yorba.shotwell.gschema.xml:423 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" @@ -851,49 +842,47 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Picasa" -#: misc/org.yorba.shotwell.gschema.xml:436 -#, fuzzy -#| msgid "Piwigio URL" -msgid "Piwigo URL" +#: misc/org.yorba.shotwell.gschema.xml:430 +msgid "Piwigio URL" msgstr "URL de Pigwio" -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:431 msgid "URL of the Piwigo server." msgstr "URL del servidor Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:437 msgid "Piwigo username, if logged in." msgstr "Nombre de usuario de Piwigo, si ha iniciado sesión." -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:442 msgid "password" msgstr "contraseña" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "Piwigo password, if logged in." msgstr "Contraseña de Piwigo, si ha iniciado sesión." -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "remember password" msgstr "recortar contraseña" -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "If true, remember the Piwigo password." msgstr "Si es cierto, recordar la contraseña de Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "The last selected Piwigo category." msgstr "La última categoría de Piwigo seleccionada." -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "last permission level" msgstr "último nivel de permisos" -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "The last chosen Piwigo permission level." msgstr "El último nivel de privilegios elegido el Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." @@ -901,7 +890,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:479 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" @@ -909,14 +898,15 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:478 +#| 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 "" "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:485 +#: misc/org.yorba.shotwell.gschema.xml:479 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" @@ -924,11 +914,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:490 +#: misc/org.yorba.shotwell.gschema.xml:484 msgid "do not upload tags when uploading to Piwigo" msgstr "no subir etiquetas al subir a Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:491 +#: misc/org.yorba.shotwell.gschema.xml:485 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." @@ -936,27 +926,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:499 +#: misc/org.yorba.shotwell.gschema.xml:493 msgid "Gallery3 username" msgstr "Nombre de usuario de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:498 msgid "API key" msgstr "Clave de la API" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "Gallery3 API key" msgstr "Clave de la API de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:504 msgid "URL" msgstr "URL" -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:505 msgid "Gallery3 site URL" msgstr "URL de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:517 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" @@ -964,25 +954,25 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:522 msgid "scaling constraint of uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:523 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:528 msgid "pixels of the major axis uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:535 +#: misc/org.yorba.shotwell.gschema.xml:529 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:537 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." @@ -990,33 +980,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:550 +#: misc/org.yorba.shotwell.gschema.xml:544 msgid "last used import service" msgstr "último servicio de importación usado" -#: misc/org.yorba.shotwell.gschema.xml:551 +#: misc/org.yorba.shotwell.gschema.xml:545 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:558 +#: misc/org.yorba.shotwell.gschema.xml:552 msgid "interpreter state cookie" msgstr "cookie de estado del intérprete" -#: misc/org.yorba.shotwell.gschema.xml:559 +#: misc/org.yorba.shotwell.gschema.xml:553 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:566 +#: misc/org.yorba.shotwell.gschema.xml:560 msgid "content layout mode" msgstr "modo de distribución del contenido" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:561 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" @@ -1024,36 +1014,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:572 +#: misc/org.yorba.shotwell.gschema.xml:566 msgid "content ppi" msgstr "ppp del contenido" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:567 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:578 +#: misc/org.yorba.shotwell.gschema.xml:572 msgid "content width" msgstr "anchura del contenido" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:573 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:584 +#: misc/org.yorba.shotwell.gschema.xml:578 msgid "content height" msgstr "altura del contenido" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:579 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:590 +#: misc/org.yorba.shotwell.gschema.xml:584 msgid "content units" msgstr "unidades del contenido" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:585 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" @@ -1061,11 +1051,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:596 +#: misc/org.yorba.shotwell.gschema.xml:590 msgid "images per page code" msgstr "código de imágenes por página" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:591 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" @@ -1073,32 +1063,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:602 +#: misc/org.yorba.shotwell.gschema.xml:596 msgid "size selection" msgstr "tamaño de la selección" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:597 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:608 +#: misc/org.yorba.shotwell.gschema.xml:602 msgid "match aspect ratio" msgstr "coincidir con relación de aspecto" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:603 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:608 msgid "print titles" msgstr "imprimir títulos" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:609 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." @@ -1106,211 +1096,212 @@ msgstr "" "Cierto si se debe imprimir el título de la foto al imprimirla, falso en otro " "caso." -#: misc/org.yorba.shotwell.gschema.xml:620 +#: misc/org.yorba.shotwell.gschema.xml:614 msgid "titles font" msgstr "tipografía de los títulos" -#: misc/org.yorba.shotwell.gschema.xml:621 +#: misc/org.yorba.shotwell.gschema.xml:615 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:632 +#: misc/org.yorba.shotwell.gschema.xml:626 msgid "enable facebook publishing plugin" msgstr "activar complemento de publicación en Facebook" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:627 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:638 +#: misc/org.yorba.shotwell.gschema.xml:632 msgid "enable flickr publishing plugin" msgstr "activar complemento de publicación en Flickr" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:633 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:644 +#: misc/org.yorba.shotwell.gschema.xml:638 msgid "enable picasa publishing plugin" msgstr "activar complemento de publicación en Picasa" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:639 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:650 +#: misc/org.yorba.shotwell.gschema.xml:644 msgid "enable youtube publishing plugin" msgstr "activar complemento de publicación en Youtube" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:645 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:656 +#: misc/org.yorba.shotwell.gschema.xml:650 msgid "enable piwigo publishing plugin" msgstr "activar complemento de publicación en Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:651 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:662 +#: misc/org.yorba.shotwell.gschema.xml:656 msgid "enable yandex publishing plugin" msgstr "activar complemento de publicación en Yandex" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:657 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:668 +#: misc/org.yorba.shotwell.gschema.xml:662 msgid "enable tumblr publishing plugin" msgstr "activar complemento de publicación en Tumblr" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:663 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:674 +#: misc/org.yorba.shotwell.gschema.xml:668 msgid "enable rajce publishing plugin" msgstr "activar complemento de publicación en Rajce" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:669 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:680 +#: misc/org.yorba.shotwell.gschema.xml:674 msgid "enable gallery3 publishing plugin" msgstr "activar complemento de publicación en Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:675 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:686 +#: misc/org.yorba.shotwell.gschema.xml:680 msgid "enable F-Spot import plugin" msgstr "activar complemento de importación de F-Spot" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:681 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:692 +#: misc/org.yorba.shotwell.gschema.xml:686 +#| msgid "Core Slideshow Transitions" msgid "enable slideshow crumble transition" msgstr "activar transición de desmenuzado del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:687 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:698 +#: misc/org.yorba.shotwell.gschema.xml:692 msgid "enable slideshow fade transition" msgstr "activar transición de fundido del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:693 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:704 -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:698 +#: misc/org.yorba.shotwell.gschema.xml:722 msgid "enable slideshow slide transition" msgstr "activar transición lateral del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:699 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:710 +#: misc/org.yorba.shotwell.gschema.xml:704 msgid "enable slideshow clock transition" msgstr "activar transición de reloj del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:705 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:717 +#: misc/org.yorba.shotwell.gschema.xml:711 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:723 +#: misc/org.yorba.shotwell.gschema.xml:717 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:729 +#: misc/org.yorba.shotwell.gschema.xml:723 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:728 msgid "enable slideshow squares transition" msgstr "activar transición de cuadros del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:729 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:740 +#: misc/org.yorba.shotwell.gschema.xml:734 msgid "enable slideshow stripes transition" msgstr "activar transición de bandas del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:735 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:746 +#: misc/org.yorba.shotwell.gschema.xml:740 msgid "enable slideshow chess transition" msgstr "activar transición de ajedrez del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:747 +#: misc/org.yorba.shotwell.gschema.xml:741 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1318,11 +1309,11 @@ msgstr "" "Cierto si el complemento de transición de tablero de ajedrez está activado, " "falso en otro caso" -#: plugins/common/Resources.vala:12 +#: plugins/common/Resources.vala:9 msgid "Visit the Shotwell home page" msgstr "Visite la página web de Shotwell" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:28 src/AppWindow.vala:676 msgid "translator-credits" msgstr "" "Daniel Mustieles <daniel.mustieles@gmail.com>, 2014-2016\n" @@ -1332,12 +1323,12 @@ msgstr "" "Jorge González <jorgegonz@svn.gnome.org>, 2011\n" "José Luis Navarro <jlnavarro111@gmail.com>" -#: plugins/common/RESTSupport.vala:451 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 +#: plugins/common/RESTSupport.vala:448 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:960 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:1157 +#: plugins/common/RESTSupport.vala:1154 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1349,16 +1340,16 @@ msgstr "" "Para seguir publicando en servicios de Google, cierre y reinicie Shotwell, e " "intente publicar de nuevo." -#: 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 +#: 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 msgid "Copyright 2016 Software Freedom Conservancy Inc." msgstr "Copyright 2016 Software Freedom Conservancy Inc." -#: plugins/shotwell-data-imports/FSpotImporter.vala:58 +#: plugins/shotwell-data-imports/FSpotImporter.vala:56 msgid "" "Welcome to the F-Spot library import service.\n" "\n" @@ -1372,7 +1363,7 @@ msgstr "" "existentes encontradas por Shotwell o eligiendo un archivo de base de datos " "de F-Spot alternativo." -#: plugins/shotwell-data-imports/FSpotImporter.vala:60 +#: plugins/shotwell-data-imports/FSpotImporter.vala:58 msgid "" "Welcome to the F-Spot library import service.\n" "\n" @@ -1382,11 +1373,11 @@ msgstr "" "\n" "Seleccione un archivo de colección de F-Spot." -#: plugins/shotwell-data-imports/FSpotImporter.vala:62 +#: plugins/shotwell-data-imports/FSpotImporter.vala:60 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:64 +#: plugins/shotwell-data-imports/FSpotImporter.vala:62 msgid "" "Cannot open the selected F-Spot database file: the file does not exist or is " "not an F-Spot database" @@ -1394,7 +1385,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:66 +#: plugins/shotwell-data-imports/FSpotImporter.vala:64 msgid "" "Cannot open the selected F-Spot database file: this version of the F-Spot " "database is not supported by Shotwell" @@ -1402,14 +1393,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:68 +#: plugins/shotwell-data-imports/FSpotImporter.vala:66 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:70 +#: plugins/shotwell-data-imports/FSpotImporter.vala:68 msgid "" "Cannot read the selected F-Spot database file: error while reading photos " "table" @@ -1417,7 +1408,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:72 +#: plugins/shotwell-data-imports/FSpotImporter.vala:70 #, c-format msgid "" "Shotwell has found %d photos in the F-Spot library and is currently " @@ -1432,12 +1423,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:86 +#: plugins/shotwell-data-imports/FSpotImporter.vala:84 #, c-format msgid "F-Spot library: %s" msgstr "Colección de F-Spot: %s" -#: plugins/shotwell-data-imports/FSpotImporter.vala:424 +#: plugins/shotwell-data-imports/FSpotImporter.vala:422 msgid "Preparing to import" msgstr "Preparando para importar" @@ -1478,7 +1469,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:1018 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017 #: 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 @@ -1490,7 +1481,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:1017 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016 #: 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 @@ -1521,8 +1512,8 @@ msgid "pixels" msgstr "píxeles" #: 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/FlickrPublishing.vala:1236 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1237 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Tamaño original" @@ -1573,8 +1564,8 @@ msgstr "" "Tenga en cuenta que Gallery3 sólo soporta los mismos tipos de vídeo que " "Flowplayer." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1021 -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1022 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1775 #, c-format msgid "" "A file required for publishing is unavailable. Publishing to %s can't " @@ -1585,12 +1576,12 @@ msgstr "" #. populate any widgets whose contents are #. programmatically-generated -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1550 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1551 #, c-format msgid "Publishing to %s as %s." msgstr "Publicar en %s como %s." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1817 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1819 msgid "" "Enter the URL for your Gallery3 site and the username and password (or API " "key) for your Gallery3 account." @@ -1598,7 +1589,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:1818 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1820 msgid "" "The username and password or API key were incorrect. To try again, re-enter " "your username and password below." @@ -1607,99 +1598,99 @@ msgstr "" "Para interntarlo de nuevo, vuelva a introducir su nombre y su contraseña a " "continuación." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1819 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1821 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)." +"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 " "elementos adicionales (ej. index.php)." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1872 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1874 msgid "Unrecognized User" msgstr "Usuario no reconocido" -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1877 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1879 msgid " Site Not Found" msgstr " Sitio no encontrado" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:890 #: 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:893 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:891 #: 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:894 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892 msgid "_Remember" msgstr "_Recordar" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893 #: 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:1014 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013 #: 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:1015 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014 #: 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:1005 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1004 msgid "_Hide album" msgstr "_Ocultar álbum" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015 msgid "Open target _album in browser" msgstr "Abrir ál_bum objetivo en el navegador" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:38 msgid "Copyright (C) 2013 rajce.net" msgstr "Copyright (C) 2013 rajce.net" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:742 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:833 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:831 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:834 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:832 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:865 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:863 msgid "Invalid User Email or Password" msgstr "Nombre de usuario o contraseña no válidos" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1011 #, 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:1013 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012 #: plugins/shotwell-publishing/PicasaPublishing.vala:670 #: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24 msgid "Photos will appear in:" @@ -1718,61 +1709,61 @@ msgstr "Blogs:" msgid "Photo _size:" msgstr "_Tamaño de la foto:" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:36 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:34 msgid "Copyright 2012 BJA Electronics" msgstr "Copyright 2012 BJA Electronics" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:103 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1232 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 msgid "500 x 375 pixels" msgstr "500 × 375 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:104 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1233 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 msgid "1024 x 768 pixels" msgstr "1024 × 768 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 msgid "1280 x 853 pixels" msgstr "1280 × 853 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:309 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:319 #, 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:559 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:557 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:587 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:585 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:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:586 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:989 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:615 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:616 #: 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:634 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:635 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:754 #, c-format msgid "Could not load UI: %s" msgstr "No se pudo cargar la IU: %s" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:736 #, c-format msgid "" "You are logged into Tumblr as %s.\n" @@ -1789,7 +1780,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:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:659 msgid "You are not currently logged into Yandex.Fotki." msgstr "Actualmente no ha iniciado sesión en Yandex.Fotki." @@ -1819,7 +1810,7 @@ msgid "Friends" msgstr "Amigos" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165 -#: plugins/shotwell-publishing/YouTubePublishing.vala:498 +#: plugins/shotwell-publishing/YouTubePublishing.vala:497 msgid "Private" msgstr "Privado" @@ -1848,13 +1839,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:62 -#: plugins/shotwell-publishing/PicasaPublishing.vala:60 +#: plugins/shotwell-publishing/FacebookPublishing.vala:61 +#: plugins/shotwell-publishing/PicasaPublishing.vala:59 #: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 msgid "Shotwell Connect" msgstr "Shotwell Connect" -#: plugins/shotwell-publishing/FacebookPublishing.vala:64 +#: plugins/shotwell-publishing/FacebookPublishing.vala:63 msgid "" "You are not currently logged into Facebook.\n" "\n" @@ -1870,7 +1861,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:66 +#: plugins/shotwell-publishing/FacebookPublishing.vala:65 msgid "" "You have already logged in and out of Facebook during this Shotwell " "session.\n" @@ -1882,19 +1873,19 @@ msgstr "" "Para seguir publicando en Facebook, cierre y reinicie Shotwell, e intente " "publicar de nuevo." -#: plugins/shotwell-publishing/FacebookPublishing.vala:87 +#: plugins/shotwell-publishing/FacebookPublishing.vala:86 msgid "Standard (720 pixels)" msgstr "Estándar (720 píxeles)" -#: plugins/shotwell-publishing/FacebookPublishing.vala:90 +#: plugins/shotwell-publishing/FacebookPublishing.vala:89 msgid "Large (2048 pixels)" msgstr "Grande (2048 píxeles)" -#: plugins/shotwell-publishing/FacebookPublishing.vala:255 +#: plugins/shotwell-publishing/FacebookPublishing.vala:254 msgid "Testing connection to Facebook..." msgstr "Comprobando la conexión a Facebook…" -#: plugins/shotwell-publishing/FacebookPublishing.vala:348 +#: plugins/shotwell-publishing/FacebookPublishing.vala:347 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 msgid "Creating album..." msgstr "Creando el álbum…" @@ -1921,13 +1912,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:1213 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1214 msgid "Just me" msgstr "Solo yo" #: plugins/shotwell-publishing/FacebookPublishing.vala:1195 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1210 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 msgid "Everyone" msgstr "Todos" @@ -1943,11 +1934,12 @@ msgstr "" msgid "Authorization _Number:" msgstr "_Número de autorización:" -#: 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:131 msgid "Con_tinue" msgstr "Con_tinuar" -#: plugins/shotwell-publishing/FlickrPublishing.vala:60 +#: plugins/shotwell-publishing/FlickrPublishing.vala:61 msgid "" "You are not currently logged into Flickr.\n" "\n" @@ -1960,7 +1952,7 @@ msgstr "" "Tendrá que autorizar a Shotwell Connect para que se enlace a su cuenta de " "Flickr." -#: plugins/shotwell-publishing/FlickrPublishing.vala:62 +#: plugins/shotwell-publishing/FlickrPublishing.vala:63 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 " @@ -1970,12 +1962,12 @@ msgstr "" "Para seguir publicando en Flickr, cierre y reinicie Shotwell, e intente " "publicar de nuevo." -#: plugins/shotwell-publishing/FlickrPublishing.vala:374 +#: plugins/shotwell-publishing/FlickrPublishing.vala:375 msgid "Preparing for login..." msgstr "Preparándose para iniciar sesión…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 -#: plugins/shotwell-publishing/FlickrPublishing.vala:594 +#: plugins/shotwell-publishing/FlickrPublishing.vala:595 msgid "" "A file required for publishing is unavailable. Publishing to Flickr can't " "continue." @@ -1987,7 +1979,7 @@ msgstr "" msgid "Verifying authorization..." msgstr "Comprobando la autorización…" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1152 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1153 #, c-format msgid "" "You are logged into Flickr as %s.\n" @@ -1996,7 +1988,7 @@ msgstr "" "Ha iniciado sesión en Flickr como %s.\n" "\n" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1155 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1156 #, c-format msgid "" "Your free Flickr account limits how much data you can upload per month.\n" @@ -2013,41 +2005,41 @@ msgstr[1] "" "mes.\n" "Este mes tiene %d megabytes restantes de su límite de sudiba." -#: plugins/shotwell-publishing/FlickrPublishing.vala:1159 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1160 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:1164 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1165 msgid "Photos _visible to:" msgstr "Fotos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1166 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1167 msgid "Videos _visible to:" msgstr "Vídeos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1169 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1170 msgid "Photos and videos _visible to:" msgstr "Fotos y vídeos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1210 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1211 msgid "Friends & family only" msgstr "Solo amigos y familia" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1211 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1212 msgid "Family only" msgstr "Solo familia" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1212 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Friends only" msgstr "Solo amigos" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1235 msgid "2048 x 1536 pixels" msgstr "2048 × 1536 píxeles" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1235 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1236 msgid "4096 x 3072 pixels" msgstr "4096 × 3072 píxeles" @@ -2059,7 +2051,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:59 +#: plugins/shotwell-publishing/PicasaPublishing.vala:58 msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" @@ -2162,16 +2154,16 @@ msgstr "Salir" msgid "Publish" msgstr "Publicar" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:746 #, c-format msgid "Creating album %s..." msgstr "Creando el álbum %s…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:917 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:990 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:987 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2179,7 +2171,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:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:988 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2191,19 +2183,19 @@ msgstr "" msgid "Invalid URL" msgstr "URL no válida" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 msgid "Admins, Family, Friends, Contacts" msgstr "Administradores, Familia, Amigos, Contactos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1223 msgid "Admins, Family, Friends" msgstr "Administradores, Familia, Amigos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1224 msgid "Admins, Family" msgstr "Administradores, Familia" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1225 msgid "Admins" msgstr "Administradores" @@ -2215,7 +2207,7 @@ msgstr "Servicios de publicación" msgid "Video privacy _setting:" msgstr "Co_nfiguración de privacidad de vídeos:" -#: plugins/shotwell-publishing/YouTubePublishing.vala:58 +#: plugins/shotwell-publishing/YouTubePublishing.vala:57 msgid "" "You are not currently logged into YouTube.\n" "\n" @@ -2230,7 +2222,7 @@ msgstr "" "el uso de su navegador para registrarse en el sitio de YouTube al menos una " "vez." -#: plugins/shotwell-publishing/YouTubePublishing.vala:363 +#: plugins/shotwell-publishing/YouTubePublishing.vala:362 msgid "" "A file required for publishing is unavailable. Publishing to Youtube can't " "continue." @@ -2238,21 +2230,21 @@ msgstr "" "No está disponible un archivo necesario para publicar. La publicación en " "Youtube no puede continuar." -#: plugins/shotwell-publishing/YouTubePublishing.vala:462 +#: plugins/shotwell-publishing/YouTubePublishing.vala:461 #, c-format msgid "You are logged into YouTube as %s." msgstr "Ha iniciado sesión en YouTube como %s." -#: plugins/shotwell-publishing/YouTubePublishing.vala:464 +#: plugins/shotwell-publishing/YouTubePublishing.vala:463 #, c-format msgid "Videos will appear in '%s'" msgstr "Los vídeos aparecerán en «%s»" -#: plugins/shotwell-publishing/YouTubePublishing.vala:496 +#: plugins/shotwell-publishing/YouTubePublishing.vala:495 msgid "Public listed" msgstr "Listado públicamente" -#: plugins/shotwell-publishing/YouTubePublishing.vala:497 +#: plugins/shotwell-publishing/YouTubePublishing.vala:496 msgid "Public unlisted" msgstr "No listado públicamente" @@ -2288,7 +2280,7 @@ msgstr "Desvanecer" msgid "Core Slideshow Transitions" msgstr "Transiciones de pase de diapositivas" -#: plugins/shotwell-transitions/shotwell-transitions.vala:76 +#: plugins/shotwell-transitions/shotwell-transitions.vala:75 msgid "" "Copyright 2010 Maxim Kartashev, Copyright 2016 Software Freedom Conservancy " "Inc." @@ -2369,7 +2361,7 @@ msgstr "_Informar de 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/Dialogs.vala:28 src/Dialogs.vala:1424 src/Dialogs.vala:1447 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Cancelar" @@ -2497,15 +2489,13 @@ msgstr "Ocultar fotos ya importadas" msgid "Only display photos that have not been imported" msgstr "Mostrar solo las fotos que no han sido importadas" -#: src/camera/ImportPage.vala:842 -msgid "The camera seems to be empty. No photos/videos found to import" -msgstr "" - +#. 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:846 -#, fuzzy -#| msgid "No photos/videos found" -msgid "No new photos/videos found on camera" -msgstr "No se encontraron fotos/vídeos" +msgid "Starting import, please wait..." +msgstr "Iniciando la importación, espere un momento…" #: src/camera/ImportPage.vala:873 src/MediaPage.vala:451 msgid "_Titles" @@ -2575,61 +2565,57 @@ msgstr "" msgid "Unmounting..." msgstr "Desmontando…" -#: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." -msgstr "Iniciando la importación, espere un momento…" - -#: src/camera/ImportPage.vala:1169 +#: src/camera/ImportPage.vala:1167 msgid "Fetching photo information" msgstr "Obteniendo información de la foto" -#: src/camera/ImportPage.vala:1527 +#: src/camera/ImportPage.vala:1522 #, c-format msgid "Fetching preview for %s" msgstr "Obteniendo previsualización para %s" -#: src/camera/ImportPage.vala:1643 +#: src/camera/ImportPage.vala:1638 #, c-format msgid "Unable to lock camera: %s" msgstr "No se puede bloquear la cámara: %s" -#: src/camera/ImportPage.vala:1728 +#: src/camera/ImportPage.vala:1723 #, 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:1731 +#: src/camera/ImportPage.vala:1726 #, 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:1734 +#: src/camera/ImportPage.vala:1729 #, 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:1737 +#: src/camera/ImportPage.vala:1732 #, 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:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1740 src/Dialogs.vala:1391 msgid "_Keep" msgstr "_Mantener" -#: src/camera/ImportPage.vala:1764 +#: src/camera/ImportPage.vala:1759 msgid "Removing photos/videos from camera" msgstr "Eliminando fotos/vídeos de la cámara" -#: src/camera/ImportPage.vala:1768 +#: src/camera/ImportPage.vala:1763 #, 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." @@ -2653,11 +2639,11 @@ msgstr "Exportar foto o vídeo" msgid "Export Photos/Videos" msgstr "Exportar fotos/vídeos" -#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209 +#: src/CollectionPage.vala:458 src/Dialogs.vala:58 src/PhotoPage.vala:3209 msgid "Export Photo" msgstr "Exportar foto" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:87 msgid "Export Photos" msgstr "Exportar fotos" @@ -2898,7 +2884,7 @@ msgstr "" msgid "Database file:" msgstr "Archivo de base de datos:" -#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904 +#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:882 msgid "_Import" msgstr "_Importar" @@ -2910,7 +2896,8 @@ msgstr "Importar desde aplicación" msgid "Import media _from:" msgstr "Importar medios _desde:" -#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:507 +#: src/data_imports/DataImportsUI.vala:408 +#: src/publishing/PublishingUI.vala:507 msgid "_Close" msgstr "_Cerrar" @@ -2978,7 +2965,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:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1392 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -2989,7 +2976,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:36 +#: src/Dialogs.vala:35 msgid "" "Switching developers will undo all changes you have made to this photo in " "Shotwell" @@ -3003,11 +2990,11 @@ msgstr[1] "" "Al cambiar de revelador se desharán todos los cambios que realizó a estas " "fotos en Shotwell" -#: src/Dialogs.vala:40 +#: src/Dialogs.vala:39 msgid "_Switch Developer" msgstr "_Cambiar de revelador" -#: src/Dialogs.vala:59 +#: src/Dialogs.vala:58 msgid "Export Video" msgstr "Exportar vídeo" @@ -3016,7 +3003,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:116 +#: src/Dialogs.vala:115 #, c-format msgid "" "Shotwell couldn't create a file for editing this photo because you do not " @@ -3025,13 +3012,13 @@ msgstr "" "Shotwell no pudo crear un archivo para editar esta foto porque no tiene " "permiso para escribir en %s." -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:124 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:131 +#: src/Dialogs.vala:130 msgid "" "\n" "\n" @@ -3044,60 +3031,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:147 msgid "Unmodified" msgstr "Sin modificar" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:148 msgid "Current" msgstr "Actual" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:215 msgid "_Format:" msgstr "_Formato:" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:218 msgid "_Quality:" msgstr "_Calidad:" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:221 msgid "_Scaling constraint:" msgstr "Re_stricción de escala:" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:224 msgid "_Pixels:" msgstr "_Píxeles:" -#: src/Dialogs.vala:228 +#: src/Dialogs.vala:227 msgid "Export metadata" msgstr "Exportar metadatos" -#: src/Dialogs.vala:462 +#: src/Dialogs.vala:461 msgid "Save Details..." msgstr "Guardar detalles…" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:462 msgid "Save Details" msgstr "Guardar detalles" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:477 #, c-format msgid "(and %d more)\n" msgstr "(y %d más)\n" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:530 msgid "Import Results Report" msgstr "Informe de resultados de importación" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:534 #, 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:538 +#: src/Dialogs.vala:537 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3107,37 +3094,37 @@ msgstr[1] "De ellos, se importaron %d archivos correctamente." #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:549 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Fotos/vídeos duplicados no importados:" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:553 msgid "duplicates existing media item" msgstr "duplica el elemento existente" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:564 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "Fotos/vídeos no importados debido a errores de cámara:" -#: 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:567 src/Dialogs.vala:582 src/Dialogs.vala:597 +#: src/Dialogs.vala:613 src/Dialogs.vala:628 src/Dialogs.vala:642 msgid "error message:" msgstr "mensaje de error:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 +#: src/Dialogs.vala:578 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:594 +#: src/Dialogs.vala:593 msgid "" "Photos/Videos Not Imported Because They Weren't in a Format Shotwell " "Understands:" @@ -3148,14 +3135,14 @@ msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:608 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:613 +#: src/Dialogs.vala:612 #, c-format msgid "" "couldn't copy %s\n" @@ -3167,39 +3154,39 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:624 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:640 +#: src/Dialogs.vala:639 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Fotos/vídeos no importados por otros motivos:" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:659 #, 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:663 +#: src/Dialogs.vala:662 #, 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:666 +#: src/Dialogs.vala:665 #, 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:680 +#: src/Dialogs.vala:679 #, 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" @@ -3208,7 +3195,7 @@ msgstr[0] "" msgstr[1] "" "Falló al importar %d fotos debido a un error del archivo o de hardware:\n" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:682 #, 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" @@ -3217,7 +3204,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:686 +#: src/Dialogs.vala:685 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3229,7 +3216,7 @@ msgstr[1] "" "Falló al importar %d fotos/vídeos debido a un error del archivo o de " "hardware:\r\n" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:688 #, 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" @@ -3238,7 +3225,7 @@ msgstr[0] "" msgstr[1] "" "Falló al importar %d archivos debido a un error de archivo o de hardware:\n" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:702 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3252,7 +3239,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:706 +#: src/Dialogs.vala:705 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3266,7 +3253,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:709 +#: src/Dialogs.vala:708 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3281,7 +3268,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:712 +#: src/Dialogs.vala:711 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3295,56 +3282,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:726 +#: src/Dialogs.vala:725 #, 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:729 +#: src/Dialogs.vala:728 #, 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:732 +#: src/Dialogs.vala:731 #, 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:735 +#: src/Dialogs.vala:734 #, 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:749 +#: src/Dialogs.vala:748 #, 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:752 +#: src/Dialogs.vala:751 #, 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:755 +#: src/Dialogs.vala:754 #, 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:758 +#: src/Dialogs.vala:757 #, 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" @@ -3355,7 +3342,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:775 +#: src/Dialogs.vala:774 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3364,56 +3351,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:790 +#: src/Dialogs.vala:789 #, 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:801 +#: src/Dialogs.vala:800 #, 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:804 +#: src/Dialogs.vala:803 #, 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:807 +#: src/Dialogs.vala:806 #, 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:810 +#: src/Dialogs.vala:809 #, 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:824 +#: src/Dialogs.vala:823 #, 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:827 +#: src/Dialogs.vala:826 #, 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:830 +#: src/Dialogs.vala:829 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3422,89 +3409,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:846 +#: src/Dialogs.vala:845 msgid "No photos or videos imported.\n" msgstr "No se importó ninguna foto o vídeo.\n" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:852 src/Dialogs.vala:871 msgid "Import Complete" msgstr "Importación completa" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1157 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "%d segundo" msgstr[1] "%d segundos" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1160 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "%d minuto" msgstr[1] "%d minutos" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1164 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "%d hora" msgstr[1] "%d horas" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1167 msgid "1 day" msgstr "1 día" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1321 src/Resources.vala:231 msgid "Rename Event" msgstr "Renombrar evento" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1321 msgid "Name:" msgstr "Nombre:" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1332 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Editar título" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1333 src/Properties.vala:340 msgid "Title:" msgstr "Título:" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1349 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Editar comentario de evento" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1350 msgid "Edit Photo/Video Comment" msgstr "Editar comentario de foto/vídeo" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1351 src/Properties.vala:628 msgid "Comment:" msgstr "Comentario:" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1367 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:1372 +#: src/Dialogs.vala:1371 msgid "_Remove From Library" msgstr "_Quitar de la colección" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1414 msgid "Revert External Edit?" msgstr "¿Revertir las ediciones externas?" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1414 msgid "Revert External Edits?" msgstr "¿Revertir ediciones externas?" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1416 #, c-format msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" @@ -3516,87 +3503,87 @@ msgstr[1] "" "Esto destruirá todos los cambios realizados en los %d archivos externos. " "¿Continuar?" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1420 msgid "Re_vert External Edit" msgstr "Re_vertir edición externa" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1420 msgid "Re_vert External Edits" msgstr "Re_vertir ediciones externas" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1441 #, 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:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1448 src/Resources.vala:173 msgid "_Remove" msgstr "_Quitar" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1449 msgid "Remove Photo From Library" msgstr "Quitar la foto de la colección" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1449 msgid "Remove Photos From Library" msgstr "Quitar fotos de la colección" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1542 #, c-format msgid "%d%%" msgstr "%d%%" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1696 msgid "AM" msgstr "a.m." -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1697 msgid "PM" msgstr "p.m." -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1698 msgid "24 Hr" msgstr "24 hrs." -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1713 msgid "_Shift photos/videos by the same amount" msgstr "_Desplazar todas las fotos y/o vídeos la misma cantidad" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1718 msgid "Set _all photos/videos to this time" msgstr "Ajustar _todas las fotos y/o vídeos a esta hora" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1725 msgid "_Modify original photo file" msgstr "_Modificar archivo de foto original" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1725 msgid "_Modify original photo files" msgstr ":Modificar archivos de fotos originales" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1728 msgid "_Modify original file" msgstr "_Modificar archivos originales" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1728 msgid "_Modify original files" msgstr "_Modificar archivos originales" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1814 msgid "Original: " msgstr "Original:" -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1815 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d/%m/%Y, %H:%M:%S" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1816 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d/%m/%Y, %H:%M:%S %p" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1905 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3605,7 +3592,7 @@ msgstr "" "El tiempo de exposición se adelantará por\n" "%d %s, %d %s, %d %s, y %d %s." -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1906 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3614,31 +3601,31 @@ msgstr "" "El tiempo de exposición se atrasará por\n" "%d %s, %d %s, %d %s, y %d %s." -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1908 msgid "day" msgid_plural "days" msgstr[0] "día" msgstr[1] "días" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1909 msgid "hour" msgid_plural "hours" msgstr[0] "hora" msgstr[1] "horas" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1910 msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" msgstr[1] "minutos" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1911 msgid "second" msgid_plural "seconds" msgstr[0] "segundo" msgstr[1] "segundos" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1955 #, c-format msgid "" "\n" @@ -3657,49 +3644,49 @@ msgstr[1] "" "\n" "Y %d más." -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1979 src/Dialogs.vala:2006 msgid "Tags (separated by commas):" msgstr "Etiquetas (separadas por comas):" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2086 msgid "Welcome!" msgstr "Bienvenido/a" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2093 msgid "Welcome to Shotwell!" msgstr "Bienvenido/a a Shotwell." -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2097 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:2117 +#: src/Dialogs.vala:2116 #, 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:2118 +#: src/Dialogs.vala:2117 msgid "Drag and drop photos onto the Shotwell window" msgstr "Arrastre y suelte fotos en la ventana de Shotwell" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2118 msgid "Connect a camera to your computer and import" msgstr "Conecte una cámara al equipo e importe" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2128 #, c-format msgid "_Import photos from your %s folder" msgstr "_Importar fotos desde su carpeta %s" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2135 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:2146 +#: src/Dialogs.vala:2145 msgid "_Don't show this message again" msgstr "_No mostrar este mensaje de nuevo" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2180 #, c-format msgid "Import photos from your %s library" msgstr "Importar fotos desde su colección %s" @@ -3707,41 +3694,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:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2327 src/Dialogs.vala:2331 msgid "(Help)" msgstr "(Ayuda)" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2340 #, c-format msgid "Year%sMonth%sDay" msgstr "Año%sMes%sDía" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2342 #, c-format msgid "Year%sMonth" msgstr "Año%sMes" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2344 #, c-format msgid "Year%sMonth-Day" msgstr "Año%sMes-Día" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2346 msgid "Year-Month-Day" msgstr "Año-Mes-Día" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2347 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Personalizado" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2584 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:2687 +#: src/Dialogs.vala:2686 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3749,31 +3736,31 @@ msgstr "" "Shotwell puede copiar las fotos en su colección o puede importarlas sin " "copiarlas." -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2691 msgid "Co_py Photos" msgstr "C_opiar fotos" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2692 msgid "_Import in Place" msgstr "_Importar en el lugar" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2693 msgid "Import to Library" msgstr "Importar a la colección" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2703 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Quitar de la colección" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Quitando la foto de la colección" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2704 msgid "Removing Photos From Library" msgstr "Quitando fotos de la colección" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2718 #, c-format msgid "" "This will remove the photo/video from your Shotwell library. Would you also " @@ -3796,7 +3783,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2722 #, c-format msgid "" "This will remove the video from your Shotwell library. Would you also like " @@ -3819,7 +3806,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2726 #, c-format msgid "" "This will remove the photo from your Shotwell library. Would you also like " @@ -3842,7 +3829,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2758 #, c-format msgid "" "The photo or video cannot be moved to your desktop trash. Delete this file?" @@ -3856,7 +3843,7 @@ msgstr[1] "" "¿Eliminar estos archivos?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2775 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -4073,23 +4060,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:818 +#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:817 msgid "Wallet (2 x 3 in.)" msgstr "Cartera (2 × 3 pulg.)" -#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 +#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:820 msgid "Notecard (3 x 5 in.)" msgstr "Tarjeta de notas (3 × 5 pulg.)" -#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 +#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:823 msgid "4 x 6 in." msgstr "4 × 6 pulg." -#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 +#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:826 msgid "5 x 7 in." msgstr "5 × 7 pulg." -#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 +#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:829 msgid "8 x 10 in." msgstr "8 × 10 pulg." @@ -4097,7 +4084,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:833 +#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:832 msgid "11 x 14 in." msgstr "11 × 14 pulg." @@ -4105,23 +4092,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:836 +#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:835 msgid "16 x 20 in." msgstr "16 × 20 pulg." -#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 +#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:841 msgid "Metric Wallet (9 x 13 cm)" msgstr "Cartera métrica (9 × 13 cm)" -#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 +#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:844 msgid "Postcard (10 x 15 cm)" msgstr "Tarjeta postal (10 × 15 cm)" -#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 +#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:847 msgid "13 x 18 cm" msgstr "13 × 18 cm" -#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 +#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:850 msgid "18 x 24 cm" msgstr "18 × 24 cm" @@ -4129,15 +4116,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:854 +#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:853 msgid "20 x 30 cm" msgstr "20 × 30 cm" -#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 +#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:856 msgid "24 x 40 cm" msgstr "24 × 40 cm" -#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 +#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:859 msgid "30 x 40 cm" msgstr "30 × 40 cm" @@ -4337,13 +4324,13 @@ msgstr "Carpetas" msgid "Library" msgstr "Colección" -#: src/library/Branch.vala:97 src/SearchFilter.vala:608 -#: src/SearchFilter.vala:609 +#: src/library/Branch.vala:97 src/SearchFilter.vala:594 +#: src/SearchFilter.vala:595 msgid "Photos" msgstr "Fotos" -#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602 -#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188 +#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:588 +#: src/SearchFilter.vala:589 src/SearchFilter.vala:988 msgid "Flagged" msgstr "Marcada" @@ -4457,47 +4444,35 @@ msgstr "_Barra lateral" msgid "Display the sidebar" msgstr "Mostrar la barra lateral" -#: src/library/LibraryWindow.vala:398 -#, fuzzy -#| msgid "Pin Toolbar" -msgid "T_oolbar" -msgstr "Anclar la barra de herramientas" - -#: src/library/LibraryWindow.vala:399 -#, fuzzy -#| msgid "Display the sidebar" -msgid "Display the tool bar" -msgstr "Mostrar la barra lateral" - -#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515 +#: src/library/LibraryWindow.vala:405 src/MediaPage.vala:515 msgid "_Ascending" msgstr "_Ascendente" -#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516 +#: src/library/LibraryWindow.vala:406 src/MediaPage.vala:516 msgid "Sort photos in an ascending order" msgstr "Ordenar fotos en orden ascendente" -#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521 +#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:521 msgid "D_escending" msgstr "D_escendente" -#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522 +#: src/library/LibraryWindow.vala:413 src/MediaPage.vala:522 msgid "Sort photos in a descending order" msgstr "Ordenar fotos en orden descendente" -#: src/library/LibraryWindow.vala:657 +#: src/library/LibraryWindow.vala:651 msgid "Import From Folder" msgstr "Importar desde carpeta" -#: src/library/LibraryWindow.vala:726 +#: src/library/LibraryWindow.vala:720 msgid "Empty Trash" msgstr "Vaciar la papelera" -#: src/library/LibraryWindow.vala:726 +#: src/library/LibraryWindow.vala:720 msgid "Emptying Trash..." msgstr "Vaciando la papelera…" -#: src/library/LibraryWindow.vala:901 +#: src/library/LibraryWindow.vala:879 #, c-format msgid "" "Shotwell is configured to import photos to your home directory.\n" @@ -4510,33 +4485,33 @@ msgstr "" "span>.\n" "¿Quiere seguir importando fotos?" -#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784 +#: src/library/LibraryWindow.vala:882 ui/shotwell.ui:784 msgid "Library Location" msgstr "Ubicación de la colección" #. TODO: Specify which directory/file. -#: src/library/LibraryWindow.vala:917 +#: src/library/LibraryWindow.vala:895 msgid "Photos cannot be imported from this directory." msgstr "Las fotos no pueden importarse desde esta carpeta." -#: src/library/LibraryWindow.vala:1203 +#: src/library/LibraryWindow.vala:1181 #, c-format msgid "%s (%d%%)" msgstr "%s (%d%%)" -#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 +#: src/library/LibraryWindow.vala:1225 src/library/LibraryWindow.vala:1236 msgid "Updating library..." msgstr "Actualizando la colección…" -#: src/library/LibraryWindow.vala:1264 +#: src/library/LibraryWindow.vala:1242 msgid "Preparing to auto-import photos..." msgstr "Preparando importación automática…" -#: src/library/LibraryWindow.vala:1269 +#: src/library/LibraryWindow.vala:1247 msgid "Auto-importing photos..." msgstr "Importando fotos automáticamente…" -#: src/library/LibraryWindow.vala:1277 +#: src/library/LibraryWindow.vala:1255 msgid "Writing metadata to files..." msgstr "Escribiendo metadatos en los archivos…" @@ -4733,7 +4708,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:2576 +#: src/Page.vala:2568 msgid "Photos cannot be exported to this directory." msgstr "No se pueden exportar las fotos a este directorio." @@ -4837,15 +4812,15 @@ msgstr "pulg." msgid "cm" msgstr "cm" -#: src/Printing.vala:876 +#: src/Printing.vala:875 msgid "Image Settings" msgstr "Ajustes de la imagen" -#: src/Printing.vala:889 +#: src/Printing.vala:888 msgid "Printing..." msgstr "Imprimiendo…" -#: src/Printing.vala:909 src/Printing.vala:1112 +#: src/Printing.vala:908 src/Printing.vala:1111 #, c-format msgid "" "Unable to print photo:\n" @@ -5703,8 +5678,7 @@ 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." -#. Saved search button -#: src/Resources.vala:405 src/SearchFilter.vala:1210 +#: src/Resources.vala:405 msgid "Saved Search" msgstr "Búsqueda guardada" @@ -5819,55 +5793,40 @@ 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:782 +#: src/Resources.vala:781 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 -#: src/Resources.vala:787 -#, fuzzy -#| msgid "%a %b %d" -msgctxt "MultidayFormat" +#. / 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 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:792 -#, fuzzy -#| msgid "%d, %Y" -msgctxt "MultidayFormat" +#: src/Resources.vala:791 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 -#, fuzzy -#| 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 -#, fuzzy -#| 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" @@ -6050,7 +6009,7 @@ msgid "Photo state" msgstr "Estado de la foto" #. Rating button -#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199 +#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:999 msgid "Rating" msgstr "Puntuación" @@ -6058,19 +6017,19 @@ msgstr "Puntuación" msgid "Date" msgstr "Fecha" -#: src/SearchFilter.vala:614 src/SearchFilter.vala:615 +#: src/SearchFilter.vala:600 src/SearchFilter.vala:601 msgid "Videos" msgstr "Vídeos" -#: src/SearchFilter.vala:620 +#: src/SearchFilter.vala:606 msgid "RAW Photos" msgstr "Fotos RAW" -#: src/SearchFilter.vala:621 +#: src/SearchFilter.vala:607 msgid "RAW photos" msgstr "Fotos RAW" -#: src/SearchFilter.vala:1148 +#: src/SearchFilter.vala:948 #, c-format msgid "Error loading UI file %s: %s" msgstr "Error al cargar el archivo de IU %s: %s" @@ -6080,19 +6039,15 @@ 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:1159 +#: src/SearchFilter.vala:959 msgid "Close" msgstr "Cerrar" #. Type label and toggles -#: src/SearchFilter.vala:1165 +#: src/SearchFilter.vala:965 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..." msgstr "E_tiqueta nueva…" @@ -6164,7 +6119,7 @@ msgstr "Aleatorio" msgid "Tags" msgstr "Etiquetas" -#: src/Tag.vala:830 +#: src/Tag.vala:817 msgid "untitled" msgstr "sin título" @@ -6362,12 +6317,6 @@ msgstr "Mostrar tít_ulo" msgid "seconds" msgstr "segundos" -#~ 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" @@ -6382,6 +6331,9 @@ 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" diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo Binary files differindex 68b15df..cfe5a17 100644 --- a/po/pt_BR.gmo +++ b/po/pt_BR.gmo diff --git a/po/pt_BR.po b/po/pt_BR.po index 446629f..5a68ccb 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -16,18 +16,18 @@ msgid "" msgstr "" "Project-Id-Version: shotwell\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-13 09:00+0000\n" -"PO-Revision-Date: 2016-08-14 18:56-0300\n" -"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\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" +"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n" "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n" "Language: pt_BR\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: Poedit 1.8.7\n" +"X-Generator: Virtaal 0.7.1\n" "X-Project-Style: gnome\n" #: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4 @@ -2539,13 +2539,14 @@ msgstr "Ocultar fotos já importadas" msgid "Only display photos that have not been imported" msgstr "Somente exibir fotos que não foram 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 "A câmera parece está vazia. Não há fotos ou vídeos para importar" + #: src/camera/ImportPage.vala:846 -msgid "Starting import, please wait..." -msgstr "Iniciando importação, por favor, aguarde..." +#| msgid "No photos/videos found" +msgid "No new photos/videos found on camera" +msgstr "Sem fotos/vídeos na câmera" #: src/camera/ImportPage.vala:873 src/MediaPage.vala:451 msgid "_Titles" @@ -2616,57 +2617,61 @@ msgstr "" msgid "Unmounting..." msgstr "Desmontando..." -#: src/camera/ImportPage.vala:1167 +#: src/camera/ImportPage.vala:1152 +msgid "Starting import, please wait..." +msgstr "Iniciando importação, por favor, aguarde..." + +#: src/camera/ImportPage.vala:1169 msgid "Fetching photo information" msgstr "Obtendo informação da foto" -#: src/camera/ImportPage.vala:1522 +#: src/camera/ImportPage.vala:1527 #, c-format msgid "Fetching preview for %s" msgstr "Obtendo visualização para %s" -#: src/camera/ImportPage.vala:1638 +#: src/camera/ImportPage.vala:1643 #, c-format msgid "Unable to lock camera: %s" msgstr "Não foi possível travar a 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] "Apagar essa foto da câmera?" msgstr[1] "Apagar essas %d fotos da 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] "Apagar esse vídeo da câmera?" msgstr[1] "Apagar esses %d vídeos da 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] "Excluir essa foto/vídeo da câmera?" msgstr[1] "Excluir essas %d fotos/vídeos da 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] "Apagar esse arquivo da câmera?" msgstr[1] "Apagar esses %d arquivos da câmera?" -#: src/camera/ImportPage.vala:1740 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 msgid "_Keep" msgstr "_Manter" -#: src/camera/ImportPage.vala:1759 +#: src/camera/ImportPage.vala:1764 msgid "Removing photos/videos from camera" msgstr "Excluindo fotos/vídeos da 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." @@ -4117,23 +4122,23 @@ msgstr "SD Video (4 : 3)" msgid "HD Video (16 : 9)" msgstr "HD Video (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 "Carteira (2 x 3 pol.)" -#: 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 "Cartão de notas (3 x 5 pol.)" -#: 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 x 6 pol." -#: 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 x 7 pol." -#: 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 x 10 pol." @@ -4141,7 +4146,7 @@ msgstr "8 x 10 pol." msgid "Letter (8.5 x 11 in.)" msgstr "Carta (8.5 x 11 in.)" -#: 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 x 14 pol." @@ -4149,23 +4154,23 @@ msgstr "11 x 14 pol." msgid "Tabloid (11 x 17 in.)" msgstr "Tabloide (11 x 17 in.)" -#: 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 x 20 pol." -#: 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 "Carteira Métrica (9 x 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 "Cartão postal (10 x 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 x 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 x 24 cm" @@ -4173,15 +4178,15 @@ msgstr "18 x 24 cm" msgid "A4 (210 x 297 mm)" msgstr "A4 (210 x 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 x 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 x 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 x 40 cm" @@ -4876,15 +4881,15 @@ msgstr "pol." msgid "cm" msgstr "cm" -#: src/Printing.vala:875 +#: src/Printing.vala:876 msgid "Image Settings" msgstr "Configurações da imagem" -#: src/Printing.vala:888 +#: src/Printing.vala:889 msgid "Printing..." msgstr "Imprimindo..." -#: src/Printing.vala:908 src/Printing.vala:1111 +#: src/Printing.vala:909 src/Printing.vala:1112 #, c-format msgid "" "Unable to print photo:\n" @@ -5858,23 +5863,13 @@ msgstr "Selecionar _todas" msgid "Select all items" msgstr "Selecionar todos os itens" -# Translated with 24-hour time - default in Brazil. i.e.: 20:31 -- Rafael #. ...precache the timestamp string... #. / 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:773 -msgid "%-I:%M %p" -msgstr "%-H:%M" - -# Translated with 24-hour time - default in Brazil. i.e.: 20:31:42 -- Rafael #. / 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:778 -msgid "%-I:%M:%S %p" -msgstr "%-H:%M:%S" - #. / 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:782 @@ -6407,8 +6402,13 @@ msgstr "Mostrar títul_o" msgid "seconds" msgstr "segundos" -#~ msgid "No photos/videos found" -#~ msgstr "Sem fotos/vídeos encontrados" +# Translated with 24-hour time - default in Brazil. i.e.: 20:31 -- Rafael +#~ msgid "%-I:%M %p" +#~ msgstr "%-H:%M" + +# Translated with 24-hour time - default in Brazil. i.e.: 20:31:42 -- Rafael +#~ msgid "%-I:%M:%S %p" +#~ msgstr "%-H:%M:%S" #~ msgid "Intro message replaced at runtime" #~ msgstr "Mensagem de introdução substituída em tempo real" diff --git a/po/shotwell.pot b/po/shotwell.pot index 6acf238..d22b9f0 100644 --- a/po/shotwell.pot +++ b/po/shotwell.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: shotwell 0.24.0\n" +"Project-Id-Version: shotwell 0.24.1\n" "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" "product=Shotwell&component=Internationalization\n" -"POT-Creation-Date: 2016-09-20 20:49+0200\n" +"POT-Creation-Date: 2016-10-16 22:40+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" @@ -1170,7 +1170,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" @@ -2090,26 +2090,26 @@ msgstr "" msgid "Leave fullscreen" msgstr "" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "" -#: src/AppWindow.vala:506 +#: src/AppWindow.vala:509 msgid "_Report a Problem..." msgstr "" -#: 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 "" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" "A fatal error occurred when accessing Shotwell's library. Shotwell cannot " @@ -2118,21 +2118,21 @@ msgid "" "%s" msgstr "" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "" @@ -2649,7 +2649,7 @@ msgid "" "%s" msgstr "" -#: src/db/DatabaseTable.vala:88 +#: src/db/DatabaseTable.vala:92 #, c-format msgid "Unable to restore photo database %s" msgstr "" @@ -3909,7 +3909,7 @@ msgid "%B" msgstr "" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "" diff --git a/src/.unitize/_CameraInternals.c b/src/.unitize/_CameraInternals.c index 4b84aa5..43a4d52 100644 --- a/src/.unitize/_CameraInternals.c +++ b/src/.unitize/_CameraInternals.c @@ -1,4 +1,4 @@ -/* _CameraInternals.c generated by valac 0.32.1, the Vala compiler +/* _CameraInternals.c generated by valac 0.34.1, the Vala compiler * generated from _CameraInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_ConfigInternals.c b/src/.unitize/_ConfigInternals.c index d7eb0e4..e56e526 100644 --- a/src/.unitize/_ConfigInternals.c +++ b/src/.unitize/_ConfigInternals.c @@ -1,4 +1,4 @@ -/* _ConfigInternals.c generated by valac 0.32.1, the Vala compiler +/* _ConfigInternals.c generated by valac 0.34.1, the Vala compiler * generated from _ConfigInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_CoreInternals.c b/src/.unitize/_CoreInternals.c index f95207a..d4855d1 100644 --- a/src/.unitize/_CoreInternals.c +++ b/src/.unitize/_CoreInternals.c @@ -1,4 +1,4 @@ -/* _CoreInternals.c generated by valac 0.32.1, the Vala compiler +/* _CoreInternals.c generated by valac 0.34.1, the Vala compiler * generated from _CoreInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_DataImportsInternals.c b/src/.unitize/_DataImportsInternals.c index 2d2fc94..fe8100f 100644 --- a/src/.unitize/_DataImportsInternals.c +++ b/src/.unitize/_DataImportsInternals.c @@ -1,4 +1,4 @@ -/* _DataImportsInternals.c generated by valac 0.32.1, the Vala compiler +/* _DataImportsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _DataImportsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_DbInternals.c b/src/.unitize/_DbInternals.c index 47e29a8..2aa9d1b 100644 --- a/src/.unitize/_DbInternals.c +++ b/src/.unitize/_DbInternals.c @@ -1,4 +1,4 @@ -/* _DbInternals.c generated by valac 0.32.1, the Vala compiler +/* _DbInternals.c generated by valac 0.34.1, the Vala compiler * generated from _DbInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_DirectInternals.c b/src/.unitize/_DirectInternals.c index 2095fcb..85961e1 100644 --- a/src/.unitize/_DirectInternals.c +++ b/src/.unitize/_DirectInternals.c @@ -1,4 +1,4 @@ -/* _DirectInternals.c generated by valac 0.32.1, the Vala compiler +/* _DirectInternals.c generated by valac 0.34.1, the Vala compiler * generated from _DirectInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_Direct_unitize_entry.c b/src/.unitize/_Direct_unitize_entry.c index 148e461..acf3bbf 100644 --- a/src/.unitize/_Direct_unitize_entry.c +++ b/src/.unitize/_Direct_unitize_entry.c @@ -1,4 +1,4 @@ -/* _Direct_unitize_entry.c generated by valac 0.32.1, the Vala compiler +/* _Direct_unitize_entry.c generated by valac 0.34.1, the Vala compiler * generated from _Direct_unitize_entry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_EditingToolsInternals.c b/src/.unitize/_EditingToolsInternals.c index 5f351af..c5dd7fe 100644 --- a/src/.unitize/_EditingToolsInternals.c +++ b/src/.unitize/_EditingToolsInternals.c @@ -1,4 +1,4 @@ -/* _EditingToolsInternals.c generated by valac 0.32.1, the Vala compiler +/* _EditingToolsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _EditingToolsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_EventsInternals.c b/src/.unitize/_EventsInternals.c index 33088f7..2374260 100644 --- a/src/.unitize/_EventsInternals.c +++ b/src/.unitize/_EventsInternals.c @@ -1,4 +1,4 @@ -/* _EventsInternals.c generated by valac 0.32.1, the Vala compiler +/* _EventsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _EventsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_FoldersInternals.c b/src/.unitize/_FoldersInternals.c index 1a3988e..c960815 100644 --- a/src/.unitize/_FoldersInternals.c +++ b/src/.unitize/_FoldersInternals.c @@ -1,4 +1,4 @@ -/* _FoldersInternals.c generated by valac 0.32.1, the Vala compiler +/* _FoldersInternals.c generated by valac 0.34.1, the Vala compiler * generated from _FoldersInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_LibraryInternals.c b/src/.unitize/_LibraryInternals.c index 6d70073..15241b2 100644 --- a/src/.unitize/_LibraryInternals.c +++ b/src/.unitize/_LibraryInternals.c @@ -1,4 +1,4 @@ -/* _LibraryInternals.c generated by valac 0.32.1, the Vala compiler +/* _LibraryInternals.c generated by valac 0.34.1, the Vala compiler * generated from _LibraryInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_Library_unitize_entry.c b/src/.unitize/_Library_unitize_entry.c index 8e7246c..de79198 100644 --- a/src/.unitize/_Library_unitize_entry.c +++ b/src/.unitize/_Library_unitize_entry.c @@ -1,4 +1,4 @@ -/* _Library_unitize_entry.c generated by valac 0.32.1, the Vala compiler +/* _Library_unitize_entry.c generated by valac 0.34.1, the Vala compiler * generated from _Library_unitize_entry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_PhotosInternals.c b/src/.unitize/_PhotosInternals.c index 3710e7b..53ba06e 100644 --- a/src/.unitize/_PhotosInternals.c +++ b/src/.unitize/_PhotosInternals.c @@ -1,4 +1,4 @@ -/* _PhotosInternals.c generated by valac 0.32.1, the Vala compiler +/* _PhotosInternals.c generated by valac 0.34.1, the Vala compiler * generated from _PhotosInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_PluginsInternals.c b/src/.unitize/_PluginsInternals.c index 9a9ee42..be0be24 100644 --- a/src/.unitize/_PluginsInternals.c +++ b/src/.unitize/_PluginsInternals.c @@ -1,4 +1,4 @@ -/* _PluginsInternals.c generated by valac 0.32.1, the Vala compiler +/* _PluginsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _PluginsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_PublishingInternals.c b/src/.unitize/_PublishingInternals.c index b1d0861..a15f3ee 100644 --- a/src/.unitize/_PublishingInternals.c +++ b/src/.unitize/_PublishingInternals.c @@ -1,4 +1,4 @@ -/* _PublishingInternals.c generated by valac 0.32.1, the Vala compiler +/* _PublishingInternals.c generated by valac 0.34.1, the Vala compiler * generated from _PublishingInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_SearchesInternals.c b/src/.unitize/_SearchesInternals.c index 7b0f7e8..1fe85b9 100644 --- a/src/.unitize/_SearchesInternals.c +++ b/src/.unitize/_SearchesInternals.c @@ -1,4 +1,4 @@ -/* _SearchesInternals.c generated by valac 0.32.1, the Vala compiler +/* _SearchesInternals.c generated by valac 0.34.1, the Vala compiler * generated from _SearchesInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_SidebarInternals.c b/src/.unitize/_SidebarInternals.c index f312282..e7c951d 100644 --- a/src/.unitize/_SidebarInternals.c +++ b/src/.unitize/_SidebarInternals.c @@ -1,4 +1,4 @@ -/* _SidebarInternals.c generated by valac 0.32.1, the Vala compiler +/* _SidebarInternals.c generated by valac 0.34.1, the Vala compiler * generated from _SidebarInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_SlideshowInternals.c b/src/.unitize/_SlideshowInternals.c index 31b8124..d73c8f2 100644 --- a/src/.unitize/_SlideshowInternals.c +++ b/src/.unitize/_SlideshowInternals.c @@ -1,4 +1,4 @@ -/* _SlideshowInternals.c generated by valac 0.32.1, the Vala compiler +/* _SlideshowInternals.c generated by valac 0.34.1, the Vala compiler * generated from _SlideshowInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_TagsInternals.c b/src/.unitize/_TagsInternals.c index 599fb26..ae84543 100644 --- a/src/.unitize/_TagsInternals.c +++ b/src/.unitize/_TagsInternals.c @@ -1,4 +1,4 @@ -/* _TagsInternals.c generated by valac 0.32.1, the Vala compiler +/* _TagsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _TagsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_ThreadsInternals.c b/src/.unitize/_ThreadsInternals.c index 69712a7..528e290 100644 --- a/src/.unitize/_ThreadsInternals.c +++ b/src/.unitize/_ThreadsInternals.c @@ -1,4 +1,4 @@ -/* _ThreadsInternals.c generated by valac 0.32.1, the Vala compiler +/* _ThreadsInternals.c generated by valac 0.34.1, the Vala compiler * generated from _ThreadsInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_UnitInternals.c b/src/.unitize/_UnitInternals.c index 102107b..b76cc33 100644 --- a/src/.unitize/_UnitInternals.c +++ b/src/.unitize/_UnitInternals.c @@ -1,4 +1,4 @@ -/* _UnitInternals.c generated by valac 0.32.1, the Vala compiler +/* _UnitInternals.c generated by valac 0.34.1, the Vala compiler * generated from _UnitInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/.unitize/_UtilInternals.c b/src/.unitize/_UtilInternals.c index ddfb022..4dbd55a 100644 --- a/src/.unitize/_UtilInternals.c +++ b/src/.unitize/_UtilInternals.c @@ -1,4 +1,4 @@ -/* _UtilInternals.c generated by valac 0.32.1, the Vala compiler +/* _UtilInternals.c generated by valac 0.34.1, the Vala compiler * generated from _UtilInternals.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/AppDirs.c b/src/AppDirs.c index 056b390..5112938 100644 --- a/src/AppDirs.c +++ b/src/AppDirs.c @@ -1,4 +1,4 @@ -/* AppDirs.c generated by valac 0.32.1, the Vala compiler +/* AppDirs.c generated by valac 0.34.1, the Vala compiler * generated from AppDirs.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/AppWindow.c b/src/AppWindow.c index a707e4a..0c84f41 100644 --- a/src/AppWindow.c +++ b/src/AppWindow.c @@ -1,4 +1,4 @@ -/* AppWindow.c generated by valac 0.32.1, the Vala compiler +/* AppWindow.c generated by valac 0.34.1, the Vala compiler * generated from AppWindow.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -457,10 +457,7 @@ static void app_window_on_command_manager_altered (AppWindow* self); static void _app_window_on_command_manager_altered_command_manager_altered (CommandManager* _sender, gboolean can_undo, gboolean can_redo, gpointer self); GtkActionGroup** app_window_create_common_action_groups (AppWindow* self, int* result_length1); gchar* build_dummy_ui_string (GtkActionGroup** groups, int groups_length1); -#define RESOURCES_CUSTOM_CSS "LibraryWindow * {\n" \ -" -GtkPaned-handle-size: 1;\n" \ -" }\n" \ -" LibraryWindow .pane-separator {\n" \ +#define RESOURCES_CUSTOM_CSS "LibraryWindow .pane-separator {\n" \ " background-color: @borders;\n" \ " }\n" \ " SearchFilterToolbar {\n" \ @@ -730,6 +727,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { gint _tmp65_ = 0; GdkRectangle _tmp66_ = {0}; gint _tmp67_ = 0; + Page* _tmp68_ = NULL; GError * _inner_error_ = NULL; #line 22 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_PAGE (page), NULL); @@ -743,7 +741,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _tmp1_ = resources_get_ui ("fullscreen.ui"); #line 25 "/home/jens/Source/shotwell/src/AppWindow.vala" ui_file = _tmp1_; -#line 716 "AppWindow.c" +#line 717 "AppWindow.c" { GtkUIManager* _tmp2_ = NULL; gchar* _tmp3_ = NULL; @@ -760,7 +758,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _g_free0 (_tmp4_); #line 28 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 733 "AppWindow.c" +#line 734 "AppWindow.c" goto __catch211_g_error; } } @@ -787,7 +785,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _g_free0 (_tmp6_); #line 27 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 760 "AppWindow.c" +#line 761 "AppWindow.c" } __finally211: #line 27 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -800,7 +798,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { g_clear_error (&_inner_error_); #line 27 "/home/jens/Source/shotwell/src/AppWindow.vala" return NULL; -#line 773 "AppWindow.c" +#line 774 "AppWindow.c" } #line 33 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = gtk_action_group_new ("FullscreenActionGroup"); @@ -840,13 +838,13 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _tmp19_ = accel_group; #line 39 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp19_ != NULL) { -#line 813 "AppWindow.c" +#line 814 "AppWindow.c" GtkAccelGroup* _tmp20_ = NULL; #line 40 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = accel_group; #line 40 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_add_accel_group (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp20_); -#line 819 "AppWindow.c" +#line 820 "AppWindow.c" } #line 42 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp21_ = app_window_get_instance (); @@ -956,13 +954,13 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _tmp51_ = page; #line 70 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, TYPE_SLIDESHOW_PAGE)) { -#line 929 "AppWindow.c" +#line 930 "AppWindow.c" Page* _tmp52_ = NULL; #line 72 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp52_ = page; #line 72 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_SLIDESHOW_PAGE, SlideshowPage), "hide-toolbar", (GCallback) _fullscreen_window_hide_toolbar_slideshow_page_hide_toolbar, self, 0); -#line 935 "AppWindow.c" +#line 936 "AppWindow.c" } else { GtkToolbar* _tmp53_ = NULL; GtkToggleToolButton* _tmp54_ = NULL; @@ -972,7 +970,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _tmp54_ = self->priv->pin_button; #line 75 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_toolbar_insert (_tmp53_, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_tool_item_get_type (), GtkToolItem), -1); -#line 945 "AppWindow.c" +#line 946 "AppWindow.c" } #line 78 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp55_ = page; @@ -1022,6 +1020,10 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), (gint) GDK_POINTER_MOTION_MASK); #line 100 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_invoke_toolbar (self); +#line 103 "/home/jens/Source/shotwell/src/AppWindow.vala" + _tmp68_ = page; +#line 103 "/home/jens/Source/shotwell/src/AppWindow.vala" + gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_widget_get_type (), GtkWidget)); #line 22 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (accel_group); #line 22 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -1030,38 +1032,38 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _g_object_unref0 (ui_file); #line 22 "/home/jens/Source/shotwell/src/AppWindow.vala" return self; -#line 1003 "AppWindow.c" +#line 1008 "AppWindow.c" } FullscreenWindow* fullscreen_window_new (Page* page) { #line 22 "/home/jens/Source/shotwell/src/AppWindow.vala" return fullscreen_window_construct (TYPE_FULLSCREEN_WINDOW, page); -#line 1010 "AppWindow.c" +#line 1015 "AppWindow.c" } void fullscreen_window_disable_toolbar_dismissal (FullscreenWindow* self) { -#line 103 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 106 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 104 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 107 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->is_toolbar_dismissal_enabled = FALSE; -#line 1019 "AppWindow.c" +#line 1024 "AppWindow.c" } void fullscreen_window_update_toolbar_dismissal (FullscreenWindow* self) { GtkToggleToolButton* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 107 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 110 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 108 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 111 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->pin_button; -#line 108 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 111 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_); -#line 108 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 111 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->is_toolbar_dismissal_enabled = !_tmp1_; -#line 1034 "AppWindow.c" +#line 1039 "AppWindow.c" } @@ -1074,31 +1076,31 @@ static void fullscreen_window_get_monitor_geometry (FullscreenWindow* self, GdkR GdkWindow* _tmp4_ = NULL; gint _tmp5_ = 0; GdkRectangle _tmp6_ = {0}; -#line 111 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); #line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = app_window_get_instance (); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget)); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = gdk_screen_get_monitor_at_window (_tmp1_, _tmp4_); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" gdk_screen_get_monitor_geometry (_tmp0_, _tmp5_, &_tmp6_); -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" monitor = _tmp6_; -#line 114 "/home/jens/Source/shotwell/src/AppWindow.vala" - _g_object_unref0 (_tmp3_); #line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" + _g_object_unref0 (_tmp3_); +#line 120 "/home/jens/Source/shotwell/src/AppWindow.vala" *result = monitor; -#line 117 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 120 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 1071 "AppWindow.c" +#line 1076 "AppWindow.c" } @@ -1109,62 +1111,62 @@ static gboolean fullscreen_window_real_configure_event (GtkWidget* base, GdkEven GdkEventConfigure* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 120 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FULLSCREEN_WINDOW, FullscreenWindow); -#line 120 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 121 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = event; -#line 121 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp0_); -#line 121 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" _result_ = _tmp1_; -#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 126 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->switched_to; -#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 126 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp2_) { -#line 1096 "AppWindow.c" +#line 1101 "AppWindow.c" Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; -#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala" page_switched_to (_tmp4_); -#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp4_); -#line 125 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 128 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->switched_to = TRUE; -#line 1109 "AppWindow.c" +#line 1114 "AppWindow.c" } -#line 128 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 131 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _result_; -#line 128 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 131 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1115 "AppWindow.c" +#line 1120 "AppWindow.c" } static void _fullscreen_window_on_close_gtk_action_callback (GtkAction* action, gpointer self) { -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_on_close ((FullscreenWindow*) self); -#line 1122 "AppWindow.c" +#line 1127 "AppWindow.c" } static void _vala_array_add158 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 1133 "AppWindow.c" +#line 1138 "AppWindow.c" } -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 1137 "AppWindow.c" +#line 1142 "AppWindow.c" } @@ -1181,57 +1183,57 @@ static GtkActionEntry* fullscreen_window_create_actions (FullscreenWindow* self, GtkActionEntry _tmp3_ = {0}; GtkActionEntry* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 131 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_FULLSCREEN_WINDOW (self), NULL); -#line 132 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = g_new0 (GtkActionEntry, 0); -#line 132 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala" actions = _tmp0_; -#line 132 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala" actions_length1 = 0; -#line 132 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala" _actions_size_ = actions_length1; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.name = "LeaveFullscreen"; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.stock_id = RESOURCES_LEAVE_FULLSCREEN_LABEL; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.label = TRANSLATABLE; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.accelerator = "F11"; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.tooltip = TRANSLATABLE; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.callback = (GCallback) _fullscreen_window_on_close_gtk_action_callback; -#line 134 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" leave_fullscreen = _tmp1_; -#line 136 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala" leave_fullscreen.label = RESOURCES_LEAVE_FULLSCREEN_LABEL; -#line 137 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" leave_fullscreen.tooltip = RESOURCES_LEAVE_FULLSCREEN_LABEL; -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = actions; -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2__length1 = actions_length1; -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = leave_fullscreen; -#line 138 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 141 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add158 (&actions, &actions_length1, &_actions_size_, &_tmp3_); -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = actions; -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4__length1 = actions_length1; -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" if (result_length1) { -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" *result_length1 = _tmp4__length1; -#line 1198 "AppWindow.c" +#line 1203 "AppWindow.c" } -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp4_; -#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1204 "AppWindow.c" +#line 1209 "AppWindow.c" } @@ -1247,68 +1249,68 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven GdkEventKey* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; -#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 146 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FULLSCREEN_WINDOW, FullscreenWindow); -#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 146 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 145 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = event; -#line 145 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_->keyval; -#line 145 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = gdk_keyval_name (_tmp1_); -#line 145 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" if (g_strcmp0 (_tmp2_, "Escape") == 0) { -#line 146 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 149 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_on_close (self); -#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 151 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 148 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 151 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1238 "AppWindow.c" +#line 1243 "AppWindow.c" } -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event != NULL) { -#line 1242 "AppWindow.c" +#line 1247 "AppWindow.c" GdkEventKey* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = event; -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp4_); -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp5_; -#line 1251 "AppWindow.c" +#line 1256 "AppWindow.c" } else { -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = FALSE; -#line 1255 "AppWindow.c" +#line 1260 "AppWindow.c" } -#line 152 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 155 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp3_) { -#line 153 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 153 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1263 "AppWindow.c" +#line 1268 "AppWindow.c" } -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = app_window_get_instance (); -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = event; -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp8_, &_tmp9_); -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp10_; -#line 156 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1281 "AppWindow.c" +#line 1286 "AppWindow.c" } @@ -1318,38 +1320,38 @@ static void fullscreen_window_on_close (FullscreenWindow* self) { gboolean _tmp2_ = FALSE; AppWindow* _tmp3_ = NULL; AppWindow* _tmp4_ = NULL; -#line 159 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 162 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 160 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = config_facade_get_instance (); -#line 160 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 160 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->is_toolbar_dismissal_enabled; -#line 160 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" configuration_facade_set_pin_toolbar_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_); -#line 160 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp1_); -#line 161 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 164 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_hide_toolbar (self); -#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = app_window_get_instance (); -#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_end_fullscreen (_tmp4_); -#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp4_); -#line 1313 "AppWindow.c" +#line 1318 "AppWindow.c" } void fullscreen_window_close (FullscreenWindow* self) { -#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 169 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 167 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 170 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_on_close (self); -#line 1322 "AppWindow.c" +#line 1327 "AppWindow.c" } @@ -1358,36 +1360,36 @@ static void fullscreen_window_real_destroy (GtkWidget* base) { Page* page = NULL; Page* _tmp0_ = NULL; Page* _tmp1_ = NULL; -#line 170 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 173 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FULLSCREEN_WINDOW, FullscreenWindow); -#line 171 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 174 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 171 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 174 "/home/jens/Source/shotwell/src/AppWindow.vala" page = _tmp0_; -#line 172 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 175 "/home/jens/Source/shotwell/src/AppWindow.vala" page_window_clear_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 174 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 177 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = page; -#line 174 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 177 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 1343 "AppWindow.c" +#line 1348 "AppWindow.c" Page* _tmp2_ = NULL; Page* _tmp3_ = NULL; -#line 175 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 178 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = page; -#line 175 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 178 "/home/jens/Source/shotwell/src/AppWindow.vala" page_stop_cursor_hiding (_tmp2_); -#line 176 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 179 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page; -#line 176 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 179 "/home/jens/Source/shotwell/src/AppWindow.vala" page_switching_from (_tmp3_); -#line 1354 "AppWindow.c" +#line 1359 "AppWindow.c" } -#line 179 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 182 "/home/jens/Source/shotwell/src/AppWindow.vala" GTK_WIDGET_CLASS (fullscreen_window_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget)); -#line 170 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 173 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (page); -#line 1360 "AppWindow.c" +#line 1365 "AppWindow.c" } @@ -1396,34 +1398,34 @@ static gboolean fullscreen_window_real_delete_event (GtkWidget* base, GdkEventAn gboolean result = FALSE; AppWindow* _tmp0_ = NULL; AppWindow* _tmp1_ = NULL; -#line 182 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 185 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FULLSCREEN_WINDOW, FullscreenWindow); -#line 182 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 185 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 183 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 186 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_on_close (self); -#line 184 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_get_instance (); -#line 184 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 184 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget)); -#line 184 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp1_); -#line 186 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 189 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 186 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 189 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1387 "AppWindow.c" +#line 1392 "AppWindow.c" } static gboolean _fullscreen_window_on_check_toolbar_invocation_gsource_func (gpointer self) { gboolean result; result = fullscreen_window_on_check_toolbar_invocation ((FullscreenWindow*) self); -#line 195 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 198 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1396 "AppWindow.c" +#line 1401 "AppWindow.c" } @@ -1432,64 +1434,64 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk gboolean result = FALSE; gboolean _tmp0_ = FALSE; gboolean _tmp4_ = FALSE; -#line 189 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 192 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FULLSCREEN_WINDOW, FullscreenWindow); -#line 189 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 192 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 190 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 193 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->is_toolbar_shown; -#line 190 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 193 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp0_) { -#line 1413 "AppWindow.c" +#line 1418 "AppWindow.c" gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->waiting_for_invoke; -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp2_) { -#line 1420 "AppWindow.c" +#line 1425 "AppWindow.c" gboolean _tmp3_ = FALSE; -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = fullscreen_window_is_pointer_in_toolbar (self); -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp3_; -#line 1426 "AppWindow.c" +#line 1431 "AppWindow.c" } else { -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = FALSE; -#line 1430 "AppWindow.c" +#line 1435 "AppWindow.c" } -#line 194 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 197 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_) { -#line 195 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 198 "/home/jens/Source/shotwell/src/AppWindow.vala" g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_INVOCATION_MSEC, _fullscreen_window_on_check_toolbar_invocation_gsource_func, g_object_ref (self), g_object_unref); -#line 196 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 199 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->waiting_for_invoke = TRUE; -#line 1438 "AppWindow.c" +#line 1443 "AppWindow.c" } } -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event != NULL) { -#line 1443 "AppWindow.c" +#line 1448 "AppWindow.c" GdkEventMotion* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = event; -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_); -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp6_; -#line 1452 "AppWindow.c" +#line 1457 "AppWindow.c" } else { -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = FALSE; -#line 1456 "AppWindow.c" +#line 1461 "AppWindow.c" } -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp4_; -#line 200 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1462 "AppWindow.c" +#line 1467 "AppWindow.c" } @@ -1510,57 +1512,57 @@ static gboolean fullscreen_window_is_pointer_in_toolbar (FullscreenWindow* self) gint _tmp9_ = 0; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 203 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 206 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_FULLSCREEN_WINDOW (self), FALSE); -#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 207 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_widget_get_display (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 207 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gdk_display_get_device_manager (_tmp0_); -#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 207 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 207 "/home/jens/Source/shotwell/src/AppWindow.vala" devmgr = _tmp2_; -#line 205 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 208 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = devmgr; -#line 205 "/home/jens/Source/shotwell/src/AppWindow.vala" - if (_tmp3_ == NULL) { -#line 206 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_debug ("AppWindow.vala:206: No device manager for display"); #line 208 "/home/jens/Source/shotwell/src/AppWindow.vala" + if (_tmp3_ == NULL) { +#line 209 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_debug ("AppWindow.vala:209: No device manager for display"); +#line 211 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 208 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 211 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (devmgr); -#line 208 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 211 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1505 "AppWindow.c" +#line 1510 "AppWindow.c" } -#line 212 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = devmgr; -#line 212 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = gdk_device_manager_get_client_pointer (_tmp4_); -#line 212 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" gdk_device_get_position (_tmp5_, NULL, NULL, &_tmp6_); -#line 212 "/home/jens/Source/shotwell/src/AppWindow.vala" - py = _tmp6_; #line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" + py = _tmp6_; +#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = self->priv->toolbar; -#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget)); -#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala" gdk_window_get_geometry (_tmp8_, NULL, &_tmp9_, NULL, NULL); -#line 215 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala" wy = _tmp9_; -#line 217 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = py; -#line 217 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = wy; -#line 217 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp10_ >= _tmp11_; -#line 217 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (devmgr); -#line 217 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1533 "AppWindow.c" +#line 1538 "AppWindow.c" } @@ -1568,62 +1570,62 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow* gboolean result = FALSE; gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; -#line 220 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 223 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_FULLSCREEN_WINDOW (self), FALSE); -#line 221 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 224 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->waiting_for_invoke = FALSE; -#line 223 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->is_toolbar_shown; -#line 223 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_) { -#line 224 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 227 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 224 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 227 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1553 "AppWindow.c" +#line 1558 "AppWindow.c" } -#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 229 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = fullscreen_window_is_pointer_in_toolbar (self); -#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 229 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp1_) { -#line 227 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 230 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 227 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 230 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1563 "AppWindow.c" +#line 1568 "AppWindow.c" } -#line 229 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 232 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_invoke_toolbar (self); -#line 231 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 234 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 231 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 234 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1571 "AppWindow.c" +#line 1576 "AppWindow.c" } static gboolean _fullscreen_window_on_check_toolbar_dismissal_gsource_func (gpointer self) { gboolean result; result = fullscreen_window_on_check_toolbar_dismissal ((FullscreenWindow*) self); -#line 239 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 242 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1580 "AppWindow.c" +#line 1585 "AppWindow.c" } static void fullscreen_window_invoke_toolbar (FullscreenWindow* self) { GtkToolbar* _tmp0_ = NULL; -#line 234 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 237 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 235 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 238 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->toolbar; -#line 235 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 238 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 237 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 240 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->is_toolbar_shown = TRUE; -#line 239 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 242 "/home/jens/Source/shotwell/src/AppWindow.vala" g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_CHECK_DISMISSAL_MSEC, _fullscreen_window_on_check_toolbar_dismissal_gsource_func, g_object_ref (self), g_object_unref); -#line 1596 "AppWindow.c" +#line 1601 "AppWindow.c" } @@ -1639,99 +1641,99 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow* time_t _tmp7_ = 0; time_t _tmp8_ = 0; time_t _tmp9_ = 0; -#line 242 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 245 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_FULLSCREEN_WINDOW (self), FALSE); -#line 243 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 246 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->is_toolbar_shown; -#line 243 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 246 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp0_) { -#line 244 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 247 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 244 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 247 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1622 "AppWindow.c" +#line 1627 "AppWindow.c" } -#line 247 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 250 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->is_toolbar_dismissal_enabled; -#line 247 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 250 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp1_) { -#line 248 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 251 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 248 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 251 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1632 "AppWindow.c" +#line 1637 "AppWindow.c" } -#line 251 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 254 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = fullscreen_window_is_pointer_in_toolbar (self); -#line 251 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 254 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_) { -#line 252 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 255 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->left_toolbar_time = (time_t) 0; -#line 254 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 257 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 254 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 257 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1644 "AppWindow.c" +#line 1649 "AppWindow.c" } -#line 258 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 261 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = self->priv->left_toolbar_time; -#line 258 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 261 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp3_ == ((time_t) 0)) { -#line 1650 "AppWindow.c" +#line 1655 "AppWindow.c" time_t _tmp4_ = 0; -#line 259 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 262 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = time (NULL); -#line 259 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 262 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->left_toolbar_time = _tmp4_; -#line 261 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 264 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 261 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 264 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1660 "AppWindow.c" +#line 1665 "AppWindow.c" } -#line 265 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 268 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = time (NULL); -#line 265 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 268 "/home/jens/Source/shotwell/src/AppWindow.vala" now = _tmp5_; -#line 266 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 269 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = now; -#line 266 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 269 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = self->priv->left_toolbar_time; -#line 266 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 269 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_assert (_tmp6_ >= _tmp7_, "now >= left_toolbar_time"); -#line 268 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 271 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = now; -#line 268 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 271 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = self->priv->left_toolbar_time; -#line 268 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 271 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((_tmp8_ - _tmp9_) < ((time_t) FULLSCREEN_WINDOW_TOOLBAR_DISMISSAL_SEC)) { -#line 269 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 272 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 269 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 272 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1682 "AppWindow.c" +#line 1687 "AppWindow.c" } -#line 271 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 274 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen_window_hide_toolbar (self); -#line 273 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala" result = FALSE; -#line 273 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1690 "AppWindow.c" +#line 1695 "AppWindow.c" } static void fullscreen_window_hide_toolbar (FullscreenWindow* self) { GtkToolbar* _tmp0_ = NULL; -#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 279 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_FULLSCREEN_WINDOW (self)); -#line 277 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->toolbar; -#line 277 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 278 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 281 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->is_toolbar_shown = FALSE; -#line 1704 "AppWindow.c" +#line 1709 "AppWindow.c" } @@ -1752,7 +1754,7 @@ static void fullscreen_window_class_init (FullscreenWindowClass * klass) { ((GtkWidgetClass *) klass)->motion_notify_event = fullscreen_window_real_motion_notify_event; #line 7 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (klass)->finalize = fullscreen_window_finalize; -#line 1725 "AppWindow.c" +#line 1730 "AppWindow.c" } @@ -1790,7 +1792,7 @@ static void fullscreen_window_instance_init (FullscreenWindow * self) { self->priv->left_toolbar_time = (time_t) 0; #line 19 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->switched_to = FALSE; -#line 1763 "AppWindow.c" +#line 1768 "AppWindow.c" } @@ -1808,7 +1810,7 @@ static void fullscreen_window_finalize (GObject* obj) { _g_object_unref0 (self->priv->pin_button); #line 7 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (fullscreen_window_parent_class)->finalize (obj); -#line 1781 "AppWindow.c" +#line 1786 "AppWindow.c" } @@ -1825,34 +1827,34 @@ GType fullscreen_window_get_type (void) { static void page_window_real_switched_pages (PageWindow* self, Page* old_page, Page* new_page) { -#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page)); -#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page)); -#line 1802 "AppWindow.c" +#line 1807 "AppWindow.c" } void page_window_switched_pages (PageWindow* self, Page* old_page, Page* new_page) { -#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE_WINDOW (self)); -#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" PAGE_WINDOW_GET_CLASS (self)->switched_pages (self, old_page, new_page); -#line 1811 "AppWindow.c" +#line 1816 "AppWindow.c" } PageWindow* page_window_construct (GType object_type) { PageWindow * self = NULL; -#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 301 "/home/jens/Source/shotwell/src/AppWindow.vala" self = (PageWindow*) g_object_new (object_type, NULL); -#line 300 "/home/jens/Source/shotwell/src/AppWindow.vala" - gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), (gint) ((GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK) | GDK_STRUCTURE_MASK)); #line 303 "/home/jens/Source/shotwell/src/AppWindow.vala" + gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), (gint) ((GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK) | GDK_STRUCTURE_MASK)); +#line 306 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_has_resize_grip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 301 "/home/jens/Source/shotwell/src/AppWindow.vala" return self; -#line 1825 "AppWindow.c" +#line 1830 "AppWindow.c" } @@ -1860,17 +1862,17 @@ GtkUIManager* page_window_get_ui_manager (PageWindow* self) { GtkUIManager* result = NULL; GtkUIManager* _tmp0_ = NULL; GtkUIManager* _tmp1_ = NULL; -#line 306 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 309 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_PAGE_WINDOW (self), NULL); -#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 310 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->ui; -#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 310 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 310 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp1_; -#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 310 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1843 "AppWindow.c" +#line 1848 "AppWindow.c" } @@ -1878,17 +1880,17 @@ Page* page_window_get_current_page (PageWindow* self) { Page* result = NULL; Page* _tmp0_ = NULL; Page* _tmp1_ = NULL; -#line 310 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 313 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_PAGE_WINDOW (self), NULL); -#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->current_page; -#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp1_; -#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 1861 "AppWindow.c" +#line 1866 "AppWindow.c" } @@ -1901,54 +1903,54 @@ static void page_window_real_set_current_page (PageWindow* self, Page* page) { Page* _tmp5_ = NULL; Page* _tmp6_ = NULL; Page* _tmp7_ = NULL; -#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 317 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE (page)); -#line 315 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->current_page; -#line 315 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ != NULL) { -#line 1880 "AppWindow.c" +#line 1885 "AppWindow.c" Page* _tmp1_ = NULL; -#line 316 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->current_page; -#line 316 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" page_clear_container (_tmp1_); -#line 1886 "AppWindow.c" +#line 1891 "AppWindow.c" } -#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->current_page; -#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala" old_page = _tmp3_; -#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page; -#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _g_object_ref0 (_tmp4_); -#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (self->priv->current_page); -#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->current_page = _tmp5_; -#line 320 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 323 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = self->priv->current_page; -#line 320 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 323 "/home/jens/Source/shotwell/src/AppWindow.vala" page_set_container (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 325 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = page; -#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 325 "/home/jens/Source/shotwell/src/AppWindow.vala" page_window_switched_pages (self, old_page, _tmp7_); -#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 317 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (old_page); -#line 1912 "AppWindow.c" +#line 1917 "AppWindow.c" } void page_window_set_current_page (PageWindow* self, Page* page) { -#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 317 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE_WINDOW (self)); -#line 314 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 317 "/home/jens/Source/shotwell/src/AppWindow.vala" PAGE_WINDOW_GET_CLASS (self)->set_current_page (self, page); -#line 1921 "AppWindow.c" +#line 1926 "AppWindow.c" } @@ -1957,42 +1959,42 @@ static void page_window_real_clear_current_page (PageWindow* self) { Page* old_page = NULL; Page* _tmp2_ = NULL; Page* _tmp3_ = NULL; -#line 326 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->current_page; -#line 326 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ != NULL) { -#line 1934 "AppWindow.c" +#line 1939 "AppWindow.c" Page* _tmp1_ = NULL; -#line 327 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 330 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->current_page; -#line 327 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 330 "/home/jens/Source/shotwell/src/AppWindow.vala" page_clear_container (_tmp1_); -#line 1940 "AppWindow.c" +#line 1945 "AppWindow.c" } -#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->current_page; -#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala" old_page = _tmp3_; -#line 330 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 333 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (self->priv->current_page); -#line 330 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 333 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->current_page = NULL; -#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 335 "/home/jens/Source/shotwell/src/AppWindow.vala" page_window_switched_pages (self, old_page, NULL); -#line 325 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (old_page); -#line 1956 "AppWindow.c" +#line 1961 "AppWindow.c" } void page_window_clear_current_page (PageWindow* self) { -#line 325 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE_WINDOW (self)); -#line 325 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala" PAGE_WINDOW_GET_CLASS (self)->clear_current_page (self); -#line 1965 "AppWindow.c" +#line 1970 "AppWindow.c" } @@ -2004,92 +2006,92 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey* gboolean _tmp5_ = FALSE; Page* _tmp6_ = NULL; gboolean _tmp10_ = FALSE; -#line 335 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE_WINDOW, PageWindow); -#line 335 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) { -#line 1985 "AppWindow.c" +#line 1990 "AppWindow.c" GtkWidget* _tmp2_ = NULL; GdkEventKey* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = event; -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_emit_by_name (_tmp2_, "key-press-event", _tmp3_, &_tmp4_); -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp4_; -#line 1997 "AppWindow.c" +#line 2002 "AppWindow.c" } else { -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = FALSE; -#line 2001 "AppWindow.c" +#line 2006 "AppWindow.c" } -#line 336 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_) { -#line 337 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 340 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 337 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 340 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2009 "AppWindow.c" +#line 2014 "AppWindow.c" } -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = self->priv->current_page; -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp6_ != NULL) { -#line 2015 "AppWindow.c" +#line 2020 "AppWindow.c" Page* _tmp7_ = NULL; GdkEventKey* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = self->priv->current_page; -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = event; -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = page_notify_app_key_pressed (_tmp7_, _tmp8_); -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp9_; -#line 2027 "AppWindow.c" +#line 2032 "AppWindow.c" } else { -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = FALSE; -#line 2031 "AppWindow.c" +#line 2036 "AppWindow.c" } -#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp5_) { -#line 340 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 343 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 340 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 343 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2039 "AppWindow.c" +#line 2044 "AppWindow.c" } -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event != NULL) { -#line 2043 "AppWindow.c" +#line 2048 "AppWindow.c" GdkEventKey* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = event; -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp11_); -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp12_; -#line 2052 "AppWindow.c" +#line 2057 "AppWindow.c" } else { -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = FALSE; -#line 2056 "AppWindow.c" +#line 2061 "AppWindow.c" } -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp10_; -#line 342 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2062 "AppWindow.c" +#line 2067 "AppWindow.c" } @@ -2101,92 +2103,92 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey gboolean _tmp5_ = FALSE; Page* _tmp6_ = NULL; gboolean _tmp10_ = FALSE; -#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE_WINDOW, PageWindow); -#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) { -#line 2082 "AppWindow.c" +#line 2087 "AppWindow.c" GtkWidget* _tmp2_ = NULL; GdkEventKey* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = event; -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_emit_by_name (_tmp2_, "key-release-event", _tmp3_, &_tmp4_); -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp4_; -#line 2094 "AppWindow.c" +#line 2099 "AppWindow.c" } else { -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = FALSE; -#line 2098 "AppWindow.c" +#line 2103 "AppWindow.c" } -#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_) { -#line 347 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 350 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 347 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 350 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2106 "AppWindow.c" +#line 2111 "AppWindow.c" } -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = self->priv->current_page; -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp6_ != NULL) { -#line 2112 "AppWindow.c" +#line 2117 "AppWindow.c" Page* _tmp7_ = NULL; GdkEventKey* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = self->priv->current_page; -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = event; -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = page_notify_app_key_released (_tmp7_, _tmp8_); -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp9_; -#line 2124 "AppWindow.c" +#line 2129 "AppWindow.c" } else { -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = FALSE; -#line 2128 "AppWindow.c" +#line 2133 "AppWindow.c" } -#line 349 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp5_) { -#line 350 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 353 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 350 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 353 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2136 "AppWindow.c" +#line 2141 "AppWindow.c" } -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event != NULL) { -#line 2140 "AppWindow.c" +#line 2145 "AppWindow.c" GdkEventKey* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = event; -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp11_); -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp12_; -#line 2149 "AppWindow.c" +#line 2154 "AppWindow.c" } else { -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = FALSE; -#line 2153 "AppWindow.c" +#line 2158 "AppWindow.c" } -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp10_; -#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2159 "AppWindow.c" +#line 2164 "AppWindow.c" } @@ -2196,62 +2198,62 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus* gboolean _tmp0_ = FALSE; Page* _tmp1_ = NULL; gboolean _tmp5_ = FALSE; -#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 358 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE_WINDOW, PageWindow); -#line 355 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 358 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->current_page; -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 2177 "AppWindow.c" +#line 2182 "AppWindow.c" Page* _tmp2_ = NULL; GdkEventFocus* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->current_page; -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = event; -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_notify_app_focus_in (_tmp2_, _tmp3_); -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp4_; -#line 2189 "AppWindow.c" +#line 2194 "AppWindow.c" } else { -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = FALSE; -#line 2193 "AppWindow.c" +#line 2198 "AppWindow.c" } -#line 356 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_) { -#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 360 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 360 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2201 "AppWindow.c" +#line 2206 "AppWindow.c" } -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event != NULL) { -#line 2205 "AppWindow.c" +#line 2210 "AppWindow.c" GdkEventFocus* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = event; -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp6_); -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp7_; -#line 2214 "AppWindow.c" +#line 2219 "AppWindow.c" } else { -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = FALSE; -#line 2218 "AppWindow.c" +#line 2223 "AppWindow.c" } -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp5_; -#line 359 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2224 "AppWindow.c" +#line 2229 "AppWindow.c" } @@ -2261,62 +2263,62 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus gboolean _tmp0_ = FALSE; Page* _tmp1_ = NULL; gboolean _tmp5_ = FALSE; -#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 365 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE_WINDOW, PageWindow); -#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 365 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->current_page; -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 2242 "AppWindow.c" +#line 2247 "AppWindow.c" Page* _tmp2_ = NULL; GdkEventFocus* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->current_page; -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = event; -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_notify_app_focus_out (_tmp2_, _tmp3_); -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp4_; -#line 2254 "AppWindow.c" +#line 2259 "AppWindow.c" } else { -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = FALSE; -#line 2258 "AppWindow.c" +#line 2263 "AppWindow.c" } -#line 363 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_) { -#line 364 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 367 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 364 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 367 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2266 "AppWindow.c" +#line 2271 "AppWindow.c" } -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event != NULL) { -#line 2270 "AppWindow.c" +#line 2275 "AppWindow.c" GdkEventFocus* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = event; -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp6_); -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp7_; -#line 2279 "AppWindow.c" +#line 2284 "AppWindow.c" } else { -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = FALSE; -#line 2283 "AppWindow.c" +#line 2288 "AppWindow.c" } -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp5_; -#line 366 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2289 "AppWindow.c" +#line 2294 "AppWindow.c" } @@ -2325,55 +2327,55 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi gboolean result = FALSE; Page* _tmp0_ = NULL; gboolean _tmp4_ = FALSE; -#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 372 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE_WINDOW, PageWindow); -#line 369 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 372 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 370 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 373 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->current_page; -#line 370 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 373 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ != NULL) { -#line 2306 "AppWindow.c" +#line 2311 "AppWindow.c" Page* _tmp1_ = NULL; GdkEventConfigure* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 371 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 374 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->current_page; -#line 371 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 374 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = event; -#line 371 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 374 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page_notify_configure_event (_tmp1_, _tmp2_); -#line 371 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 374 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp3_) { -#line 372 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" result = TRUE; -#line 372 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2322 "AppWindow.c" +#line 2327 "AppWindow.c" } } -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" if (GTK_WIDGET_CLASS (page_window_parent_class)->configure_event != NULL) { -#line 2327 "AppWindow.c" +#line 2332 "AppWindow.c" GdkEventConfigure* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = event; -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = GTK_WIDGET_CLASS (page_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp5_); -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp6_; -#line 2336 "AppWindow.c" +#line 2341 "AppWindow.c" } else { -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = FALSE; -#line 2340 "AppWindow.c" +#line 2345 "AppWindow.c" } -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp4_; -#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 2346 "AppWindow.c" +#line 2351 "AppWindow.c" } @@ -2382,31 +2384,31 @@ void page_window_set_busy_cursor (PageWindow* self) { GdkWindow* _tmp1_ = NULL; GdkCursor* _tmp2_ = NULL; GdkCursor* _tmp3_ = NULL; -#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 381 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE_WINDOW (self)); -#line 379 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->busy_counter; -#line 379 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->busy_counter = _tmp0_ + 1; -#line 379 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ > 0) { -#line 380 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 383 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 2365 "AppWindow.c" +#line 2370 "AppWindow.c" } -#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 385 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 385 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = gdk_cursor_new (GDK_WATCH); -#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 385 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 385 "/home/jens/Source/shotwell/src/AppWindow.vala" gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 382 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 385 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp3_); -#line 383 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 386 "/home/jens/Source/shotwell/src/AppWindow.vala" spin_event_loop (); -#line 2379 "AppWindow.c" +#line 2384 "AppWindow.c" } @@ -2415,103 +2417,103 @@ void page_window_set_normal_cursor (PageWindow* self) { GdkWindow* _tmp3_ = NULL; GdkCursor* _tmp4_ = NULL; GdkCursor* _tmp5_ = NULL; -#line 386 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 389 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE_WINDOW (self)); -#line 387 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->priv->busy_counter; -#line 387 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ <= 0) { -#line 388 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 391 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->busy_counter = 0; -#line 389 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 2398 "AppWindow.c" +#line 2403 "AppWindow.c" } else { gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 393 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->busy_counter; -#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 393 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->busy_counter = _tmp1_ - 1; -#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 393 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->priv->busy_counter; -#line 390 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 393 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ > 0) { -#line 391 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 2412 "AppWindow.c" +#line 2417 "AppWindow.c" } } -#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 397 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 397 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = gdk_cursor_new (GDK_LEFT_PTR); -#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 397 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 397 "/home/jens/Source/shotwell/src/AppWindow.vala" gdk_window_set_cursor (_tmp3_, _tmp5_); -#line 394 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 397 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp5_); -#line 395 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 398 "/home/jens/Source/shotwell/src/AppWindow.vala" spin_event_loop (); -#line 2427 "AppWindow.c" +#line 2432 "AppWindow.c" } static void page_window_class_init (PageWindowClass * klass) { -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" page_window_parent_class = g_type_class_peek_parent (klass); -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" g_type_class_add_private (klass, sizeof (PageWindowPrivate)); -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((PageWindowClass *) klass)->switched_pages = page_window_real_switched_pages; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((PageWindowClass *) klass)->set_current_page = page_window_real_set_current_page; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((PageWindowClass *) klass)->clear_current_page = page_window_real_clear_current_page; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->key_press_event = page_window_real_key_press_event; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->key_release_event = page_window_real_key_release_event; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->focus_in_event = page_window_real_focus_in_event; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->focus_out_event = page_window_real_focus_out_event; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->configure_event = page_window_real_configure_event; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (klass)->finalize = page_window_finalize; -#line 2454 "AppWindow.c" +#line 2459 "AppWindow.c" } static void page_window_instance_init (PageWindow * self) { GtkUIManager* _tmp0_ = NULL; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv = PAGE_WINDOW_GET_PRIVATE (self); -#line 290 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_ui_manager_new (); -#line 290 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala" self->ui = _tmp0_; -#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->current_page = NULL; -#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 296 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->busy_counter = 0; -#line 2470 "AppWindow.c" +#line 2475 "AppWindow.c" } static void page_window_finalize (GObject* obj) { PageWindow * self; -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PAGE_WINDOW, PageWindow); -#line 290 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (self->ui); -#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 295 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (self->priv->current_page); -#line 289 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 292 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (page_window_parent_class)->finalize (obj); -#line 2484 "AppWindow.c" +#line 2489 "AppWindow.c" } @@ -2528,9 +2530,9 @@ GType page_window_get_type (void) { static void _app_window_on_command_manager_altered_command_manager_altered (CommandManager* _sender, gboolean can_undo, gboolean can_redo, gpointer self) { -#line 447 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 450 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_command_manager_altered ((AppWindow*) self); -#line 2503 "AppWindow.c" +#line 2508 "AppWindow.c" } @@ -2556,139 +2558,139 @@ AppWindow* app_window_construct (GType object_type) { GtkCssProvider* provider = NULL; GtkCssProvider* _tmp32_ = NULL; GError * _inner_error_ = NULL; -#line 424 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" self = (AppWindow*) page_window_construct (object_type); -#line 426 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 429 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_instance; -#line 426 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 429 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_assert (_tmp0_ == NULL, "instance == null"); -#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (self); -#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (app_window_instance); -#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_instance = _tmp1_; -#line 429 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 432 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_APP_TITLE); -#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala" - gtk_window_set_default_icon_name ("shotwell"); #line 433 "/home/jens/Source/shotwell/src/AppWindow.vala" + gtk_window_set_default_icon_name ("shotwell"); +#line 436 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (self, TYPE_LIBRARY_WINDOW)) { -#line 2547 "AppWindow.c" +#line 2552 "AppWindow.c" ConfigFacade* _tmp2_ = NULL; ConfigFacade* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; Dimensions _tmp5_ = {0}; -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = config_facade_get_instance (); -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" configuration_facade_get_library_window_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), &_tmp4_, &_tmp5_); -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" self->maximized = _tmp4_; -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" self->dimensions = _tmp5_; -#line 434 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp3_); -#line 2564 "AppWindow.c" +#line 2569 "AppWindow.c" } else { ConfigFacade* _tmp6_ = NULL; ConfigFacade* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; Dimensions _tmp9_ = {0}; -#line 436 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 439 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_assert (G_TYPE_CHECK_INSTANCE_TYPE (self, TYPE_DIRECT_WINDOW), "this is DirectWindow"); -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = config_facade_get_instance (); -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" configuration_facade_get_direct_window_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), &_tmp8_, &_tmp9_); -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" self->maximized = _tmp8_; -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" self->dimensions = _tmp9_; -#line 437 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 2584 "AppWindow.c" +#line 2589 "AppWindow.c" } -#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = self->dimensions; -#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = _tmp10_.width; -#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = self->dimensions; -#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = _tmp12_.height; -#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp11_, _tmp13_); -#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 445 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = self->maximized; -#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 445 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp14_) { -#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 446 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_maximize (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 2602 "AppWindow.c" +#line 2607 "AppWindow.c" } -#line 445 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 448 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = app_window_command_manager; -#line 445 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 448 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_assert (_tmp15_ == NULL, "command_manager == null"); -#line 446 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = command_manager_new (COMMAND_MANAGER_DEFAULT_DEPTH); -#line 446 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala" _command_manager_unref0 (app_window_command_manager); -#line 446 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_command_manager = _tmp16_; -#line 447 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 450 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = app_window_command_manager; -#line 447 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 450 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_connect_object (_tmp17_, "altered", (GCallback) _app_window_on_command_manager_altered_command_manager_altered, self, 0); -#line 454 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 457 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = app_window_create_common_action_groups (self, &_tmp18_); -#line 454 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 457 "/home/jens/Source/shotwell/src/AppWindow.vala" self->common_action_groups = (_vala_array_free (self->common_action_groups, self->common_action_groups_length1, (GDestroyNotify) g_object_unref), NULL); -#line 454 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 457 "/home/jens/Source/shotwell/src/AppWindow.vala" self->common_action_groups = _tmp19_; -#line 454 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 457 "/home/jens/Source/shotwell/src/AppWindow.vala" self->common_action_groups_length1 = _tmp18_; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = self->common_action_groups; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20__length1 = self->common_action_groups_length1; -#line 2630 "AppWindow.c" +#line 2635 "AppWindow.c" { GtkActionGroup** group_collection = NULL; gint group_collection_length1 = 0; gint _group_collection_size_ = 0; gint group_it = 0; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" group_collection = _tmp20_; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" group_collection_length1 = _tmp20__length1; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" for (group_it = 0; group_it < _tmp20__length1; group_it = group_it + 1) { -#line 2642 "AppWindow.c" +#line 2647 "AppWindow.c" GtkActionGroup* _tmp21_ = NULL; GtkActionGroup* group = NULL; -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp21_ = _g_object_ref0 (group_collection[group_it]); -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" group = _tmp21_; -#line 2649 "AppWindow.c" +#line 2654 "AppWindow.c" { GtkUIManager* _tmp22_ = NULL; GtkActionGroup* _tmp23_ = NULL; -#line 456 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)->ui; -#line 456 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp23_ = group; -#line 456 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_ui_manager_insert_action_group (_tmp22_, _tmp23_, 0); -#line 455 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (group); -#line 2661 "AppWindow.c" +#line 2666 "AppWindow.c" } } } @@ -2698,23 +2700,23 @@ AppWindow* app_window_construct (GType object_type) { gint _tmp25__length1 = 0; gchar* _tmp26_ = NULL; gchar* _tmp27_ = NULL; -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)->ui; -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_ = self->common_action_groups; -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25__length1 = self->common_action_groups_length1; -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp26_ = build_dummy_ui_string (_tmp25_, _tmp25__length1); -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp27_ = _tmp26_; -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_ui_manager_add_ui_from_string (_tmp24_, _tmp27_, (gssize) -1, &_inner_error_); -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp27_); -#line 459 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2687 "AppWindow.c" +#line 2692 "AppWindow.c" goto __catch212_g_error; } } @@ -2723,58 +2725,58 @@ AppWindow* app_window_construct (GType object_type) { { GError* err = NULL; const gchar* _tmp28_ = NULL; -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" - _inner_error_ = NULL; #line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" + _inner_error_ = NULL; +#line 464 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_ = err->message; +#line 464 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_error ("AppWindow.vala:464: Unable to add AppWindow UI: %s", _tmp28_); #line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_error ("AppWindow.vala:461: Unable to add AppWindow UI: %s", _tmp28_); -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 2706 "AppWindow.c" +#line 2711 "AppWindow.c" } __finally212: -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 458 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" return NULL; -#line 2717 "AppWindow.c" +#line 2722 "AppWindow.c" } -#line 464 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 467 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp29_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)->ui; -#line 464 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 467 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_ui_manager_ensure_update (_tmp29_); -#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp30_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)->ui; -#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_ = gtk_ui_manager_get_accel_group (_tmp30_); -#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_add_accel_group (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp31_); -#line 467 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp32_ = gtk_css_provider_new (); -#line 467 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala" provider = _tmp32_; -#line 2733 "AppWindow.c" +#line 2738 "AppWindow.c" { GdkScreen* _tmp33_ = NULL; -#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_css_provider_load_from_data (provider, RESOURCES_CUSTOM_CSS, (gssize) -1, &_inner_error_); -#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2740 "AppWindow.c" +#line 2745 "AppWindow.c" goto __catch213_g_error; } -#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp33_ = gdk_screen_get_default (); -#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala" 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 2747 "AppWindow.c" +#line 2752 "AppWindow.c" } goto __finally213; __catch213_g_error: @@ -2782,280 +2784,280 @@ AppWindow* app_window_construct (GType object_type) { GError* err = NULL; GError* _tmp34_ = NULL; const gchar* _tmp35_ = NULL; -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" _inner_error_ = NULL; -#line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 475 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_ = err; -#line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 475 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp35_ = _tmp34_->message; -#line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_debug ("AppWindow.vala:472: Unable to load custom CSS: %s", _tmp35_); -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 475 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_debug ("AppWindow.vala:475: Unable to load custom CSS: %s", _tmp35_); +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 2767 "AppWindow.c" +#line 2772 "AppWindow.c" } __finally213: -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (provider); -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught 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/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 468 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" return NULL; -#line 2780 "AppWindow.c" +#line 2785 "AppWindow.c" } -#line 424 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (provider); -#line 424 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 427 "/home/jens/Source/shotwell/src/AppWindow.vala" return self; -#line 2786 "AppWindow.c" +#line 2791 "AppWindow.c" } static void _app_window_on_quit_gtk_action_callback (GtkAction* action, gpointer self) { -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_quit ((AppWindow*) self); -#line 2793 "AppWindow.c" +#line 2798 "AppWindow.c" } static void _vala_array_add159 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2804 "AppWindow.c" +#line 2809 "AppWindow.c" } -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2808 "AppWindow.c" +#line 2813 "AppWindow.c" } static void _app_window_on_about_gtk_action_callback (GtkAction* action, gpointer self) { -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_about ((AppWindow*) self); -#line 2815 "AppWindow.c" +#line 2820 "AppWindow.c" } static void _vala_array_add160 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2826 "AppWindow.c" +#line 2831 "AppWindow.c" } -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2830 "AppWindow.c" +#line 2835 "AppWindow.c" } static void _app_window_on_fullscreen_gtk_action_callback (GtkAction* action, gpointer self) { -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_fullscreen ((AppWindow*) self); -#line 2837 "AppWindow.c" +#line 2842 "AppWindow.c" } static void _vala_array_add161 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2848 "AppWindow.c" +#line 2853 "AppWindow.c" } -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2852 "AppWindow.c" +#line 2857 "AppWindow.c" } static void _app_window_on_help_contents_gtk_action_callback (GtkAction* action, gpointer self) { -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_help_contents ((AppWindow*) self); -#line 2859 "AppWindow.c" +#line 2864 "AppWindow.c" } static void _vala_array_add162 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2870 "AppWindow.c" +#line 2875 "AppWindow.c" } -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2874 "AppWindow.c" +#line 2879 "AppWindow.c" } static void _app_window_on_help_faq_gtk_action_callback (GtkAction* action, gpointer self) { -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_help_faq ((AppWindow*) self); -#line 2881 "AppWindow.c" +#line 2886 "AppWindow.c" } static void _vala_array_add163 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2892 "AppWindow.c" +#line 2897 "AppWindow.c" } -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2896 "AppWindow.c" +#line 2901 "AppWindow.c" } static void _app_window_on_help_report_problem_gtk_action_callback (GtkAction* action, gpointer self) { -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_help_report_problem ((AppWindow*) self); -#line 2903 "AppWindow.c" +#line 2908 "AppWindow.c" } static void _vala_array_add164 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2914 "AppWindow.c" +#line 2919 "AppWindow.c" } -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2918 "AppWindow.c" +#line 2923 "AppWindow.c" } static void _app_window_on_undo_gtk_action_callback (GtkAction* action, gpointer self) { -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_undo ((AppWindow*) self); -#line 2925 "AppWindow.c" +#line 2930 "AppWindow.c" } static void _vala_array_add165 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2936 "AppWindow.c" +#line 2941 "AppWindow.c" } -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2940 "AppWindow.c" +#line 2945 "AppWindow.c" } static void _app_window_on_redo_gtk_action_callback (GtkAction* action, gpointer self) { -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_redo ((AppWindow*) self); -#line 2947 "AppWindow.c" +#line 2952 "AppWindow.c" } static void _vala_array_add166 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2958 "AppWindow.c" +#line 2963 "AppWindow.c" } -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2962 "AppWindow.c" +#line 2967 "AppWindow.c" } static void _app_window_on_jump_to_file_gtk_action_callback (GtkAction* action, gpointer self) { -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_jump_to_file ((AppWindow*) self); -#line 2969 "AppWindow.c" +#line 2974 "AppWindow.c" } static void _vala_array_add167 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 2980 "AppWindow.c" +#line 2985 "AppWindow.c" } -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 2984 "AppWindow.c" +#line 2989 "AppWindow.c" } static void _app_window_on_select_all_gtk_action_callback (GtkAction* action, gpointer self) { -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_select_all ((AppWindow*) self); -#line 2991 "AppWindow.c" +#line 2996 "AppWindow.c" } static void _vala_array_add168 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 3002 "AppWindow.c" +#line 3007 "AppWindow.c" } -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 3006 "AppWindow.c" +#line 3011 "AppWindow.c" } static void _app_window_on_select_none_gtk_action_callback (GtkAction* action, gpointer self) { -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_select_none ((AppWindow*) self); -#line 3013 "AppWindow.c" +#line 3018 "AppWindow.c" } static void _vala_array_add169 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) { -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionEntry, *array, *size); -#line 3024 "AppWindow.c" +#line 3029 "AppWindow.c" } -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = *value; -#line 3028 "AppWindow.c" +#line 3033 "AppWindow.c" } @@ -3125,330 +3127,330 @@ static GtkActionEntry* app_window_create_common_actions (AppWindow* self, int* r GtkActionEntry _tmp36_ = {0}; GtkActionEntry* _tmp37_ = NULL; gint _tmp37__length1 = 0; -#line 476 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_APP_WINDOW (self), NULL); -#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = g_new0 (GtkActionEntry, 0); -#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala" actions = _tmp0_; -#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala" actions_length1 = 0; -#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala" _actions_size_ = actions_length1; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.name = "CommonQuit"; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.stock_id = RESOURCES_QUIT_LABEL; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.label = TRANSLATABLE; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.accelerator = "<Ctrl>Q"; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.tooltip = TRANSLATABLE; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_.callback = (GCallback) _app_window_on_quit_gtk_action_callback; -#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" quit = _tmp1_; -#line 481 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" quit.label = RESOURCES_QUIT_LABEL; -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = actions; -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2__length1 = actions_length1; -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = quit; -#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add159 (&actions, &actions_length1, &_actions_size_, &_tmp3_); -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.name = "CommonAbout"; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.stock_id = RESOURCES_ABOUT_LABEL; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.label = TRANSLATABLE; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.accelerator = NULL; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.tooltip = TRANSLATABLE; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_.callback = (GCallback) _app_window_on_about_gtk_action_callback; -#line 484 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" about = _tmp4_; -#line 486 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" about.label = RESOURCES_ABOUT_LABEL; -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = actions; -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5__length1 = actions_length1; -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = about; -#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add160 (&actions, &actions_length1, &_actions_size_, &_tmp6_); -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.name = "CommonFullscreen"; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.stock_id = RESOURCES_FULLSCREEN_LABEL; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.label = TRANSLATABLE; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.accelerator = "F11"; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.tooltip = TRANSLATABLE; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_.callback = (GCallback) _app_window_on_fullscreen_gtk_action_callback; -#line 489 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen = _tmp7_; -#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" fullscreen.label = RESOURCES_FULLSCREEN_LABEL; -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = actions; -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8__length1 = actions_length1; -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = fullscreen; -#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add161 (&actions, &actions_length1, &_actions_size_, &_tmp9_); -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.name = "CommonHelpContents"; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.stock_id = RESOURCES_HELP_LABEL; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.label = TRANSLATABLE; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.accelerator = "F1"; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.tooltip = TRANSLATABLE; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_.callback = (GCallback) _app_window_on_help_contents_gtk_action_callback; -#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" help_contents = _tmp10_; -#line 496 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = _ ("_Contents"); -#line 496 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" help_contents.label = _tmp11_; -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = actions; -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12__length1 = actions_length1; -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = help_contents; -#line 497 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 500 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add162 (&actions, &actions_length1, &_actions_size_, &_tmp13_); -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.name = "CommonHelpFAQ"; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.stock_id = NULL; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.label = TRANSLATABLE; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.accelerator = NULL; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.tooltip = TRANSLATABLE; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_.callback = (GCallback) _app_window_on_help_faq_gtk_action_callback; -#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" help_faq = _tmp14_; -#line 501 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = _ ("_Frequently Asked Questions"); -#line 501 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" help_faq.label = _tmp15_; -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = actions; -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16__length1 = actions_length1; -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = help_faq; -#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add163 (&actions, &actions_length1, &_actions_size_, &_tmp17_); -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.name = "CommonHelpReportProblem"; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.stock_id = NULL; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.label = TRANSLATABLE; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.accelerator = NULL; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.tooltip = TRANSLATABLE; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_.callback = (GCallback) _app_window_on_help_report_problem_gtk_action_callback; -#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" help_report_problem = _tmp18_; -#line 506 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = _ ("_Report a Problem..."); -#line 506 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" help_report_problem.label = _tmp19_; -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = actions; -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20__length1 = actions_length1; -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp21_ = help_report_problem; -#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add164 (&actions, &actions_length1, &_actions_size_, &_tmp21_); -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.name = "CommonUndo"; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.stock_id = RESOURCES_UNDO_MENU; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.label = TRANSLATABLE; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.accelerator = "<Ctrl>Z"; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.tooltip = TRANSLATABLE; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_.callback = (GCallback) _app_window_on_undo_gtk_action_callback; -#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" undo = _tmp22_; -#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" undo.label = RESOURCES_UNDO_MENU; -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp23_ = actions; -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp23__length1 = actions_length1; -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp24_ = undo; -#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add165 (&actions, &actions_length1, &_actions_size_, &_tmp24_); -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.name = "CommonRedo"; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.stock_id = RESOURCES_REDO_MENU; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.label = TRANSLATABLE; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.accelerator = "<Ctrl><Shift>Z"; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.tooltip = TRANSLATABLE; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_.callback = (GCallback) _app_window_on_redo_gtk_action_callback; -#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" redo = _tmp25_; -#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" redo.label = RESOURCES_REDO_MENU; -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp26_ = actions; -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp26__length1 = actions_length1; -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp27_ = redo; -#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add166 (&actions, &actions_length1, &_actions_size_, &_tmp27_); -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.name = "CommonJumpToFile"; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.stock_id = RESOURCES_JUMP_TO_FILE_MENU; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.label = TRANSLATABLE; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.accelerator = "<Ctrl><Shift>M"; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.tooltip = TRANSLATABLE; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_.callback = (GCallback) _app_window_on_jump_to_file_gtk_action_callback; -#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" jump_to_file = _tmp28_; -#line 521 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" jump_to_file.label = RESOURCES_JUMP_TO_FILE_MENU; -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp29_ = actions; -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp29__length1 = actions_length1; -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp30_ = jump_to_file; -#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add167 (&actions, &actions_length1, &_actions_size_, &_tmp30_); -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.name = "CommonSelectAll"; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.stock_id = RESOURCES_SELECT_ALL_MENU; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.label = TRANSLATABLE; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.accelerator = "<Ctrl>A"; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.tooltip = TRANSLATABLE; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_.callback = (GCallback) _app_window_on_select_all_gtk_action_callback; -#line 524 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" select_all = _tmp31_; -#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" select_all.label = RESOURCES_SELECT_ALL_MENU; -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp32_ = actions; -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp32__length1 = actions_length1; -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp33_ = select_all; -#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add168 (&actions, &actions_length1, &_actions_size_, &_tmp33_); -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.name = "CommonSelectNone"; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.stock_id = NULL; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.label = NULL; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.accelerator = "<Ctrl><Shift>A"; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.tooltip = TRANSLATABLE; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_.callback = (GCallback) _app_window_on_select_none_gtk_action_callback; -#line 529 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 532 "/home/jens/Source/shotwell/src/AppWindow.vala" select_none = _tmp34_; -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp35_ = actions; -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp35__length1 = actions_length1; -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp36_ = select_none; -#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add169 (&actions, &actions_length1, &_actions_size_, &_tmp36_); -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp37_ = actions; -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp37__length1 = actions_length1; -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" if (result_length1) { -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" *result_length1 = _tmp37__length1; -#line 3384 "AppWindow.c" +#line 3389 "AppWindow.c" } -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp37_; -#line 533 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3390 "AppWindow.c" +#line 3395 "AppWindow.c" } static void app_window_real_on_fullscreen (AppWindow* self) { -#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("Type `%s' does not implement abstract method `app_window_on_fullscreen'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 3399 "AppWindow.c" +#line 3404 "AppWindow.c" } void app_window_on_fullscreen (AppWindow* self) { -#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" APP_WINDOW_GET_CLASS (self)->on_fullscreen (self); -#line 3408 "AppWindow.c" +#line 3413 "AppWindow.c" } gboolean app_window_has_instance (void) { gboolean result = FALSE; AppWindow* _tmp0_ = NULL; -#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_instance; -#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp0_ != NULL; -#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3421 "AppWindow.c" +#line 3426 "AppWindow.c" } @@ -3456,15 +3458,15 @@ AppWindow* app_window_get_instance (void) { AppWindow* result = NULL; AppWindow* _tmp0_ = NULL; AppWindow* _tmp1_ = NULL; -#line 543 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_instance; -#line 543 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 543 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp1_; -#line 543 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3437 "AppWindow.c" +#line 3442 "AppWindow.c" } @@ -3472,15 +3474,15 @@ FullscreenWindow* app_window_get_fullscreen (void) { FullscreenWindow* result = NULL; FullscreenWindow* _tmp0_ = NULL; FullscreenWindow* _tmp1_ = NULL; -#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_fullscreen_window; -#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp1_; -#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3453 "AppWindow.c" +#line 3458 "AppWindow.c" } @@ -3490,13 +3492,13 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user) GtkBuilder* _tmp0_ = NULL; void* _tmp12_ = NULL; GError * _inner_error_ = NULL; -#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (glade_filename != NULL, NULL); -#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 554 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_builder_new (); -#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 554 "/home/jens/Source/shotwell/src/AppWindow.vala" builder = _tmp0_; -#line 3469 "AppWindow.c" +#line 3474 "AppWindow.c" { GFile* _tmp1_ = NULL; GFile* _tmp2_ = NULL; @@ -3507,37 +3509,37 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user) GFile* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_dirs_get_resources_dir (); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = g_file_get_child (_tmp2_, "ui"); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = glade_filename; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = g_file_get_child (_tmp4_, _tmp5_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = g_file_get_path (_tmp7_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = _tmp8_; -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_builder_add_from_file (builder, _tmp9_, &_inner_error_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp9_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp4_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp2_); -#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3510 "AppWindow.c" +#line 3515 "AppWindow.c" goto __catch214_g_error; } } @@ -3547,59 +3549,59 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user) GError* _error_ = NULL; GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" _error_ = _inner_error_; -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" _inner_error_ = NULL; -#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _error_; -#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = _tmp10_->message; -#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_warning ("AppWindow.vala:556: Unable to create Gtk.Builder: %s\n", _tmp11_); -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_warning ("AppWindow.vala:559: Unable to create Gtk.Builder: %s\n", _tmp11_); +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (_error_); -#line 3532 "AppWindow.c" +#line 3537 "AppWindow.c" } __finally214: -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (builder); -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught 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/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" return NULL; -#line 3545 "AppWindow.c" +#line 3550 "AppWindow.c" } -#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = user; -#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_builder_connect_signals (builder, _tmp12_); -#line 561 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 564 "/home/jens/Source/shotwell/src/AppWindow.vala" result = builder; -#line 561 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 564 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3555 "AppWindow.c" +#line 3560 "AppWindow.c" } void app_window_error_message (const gchar* message, GtkWindow* parent) { const gchar* _tmp0_ = NULL; GtkWindow* _tmp1_ = NULL; -#line 564 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (message != NULL); -#line 564 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent)); -#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = message; -#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message_with_title (RESOURCES_APP_TITLE, _tmp0_, _tmp1_, TRUE); -#line 3572 "AppWindow.c" +#line 3577 "AppWindow.c" } @@ -3619,83 +3621,83 @@ void app_window_error_message_with_title (const gchar* title, const gchar* messa gboolean _tmp14_ = FALSE; gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (title != NULL); -#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (message != NULL); -#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent)); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 3602 "AppWindow.c" +#line 3607 "AppWindow.c" GtkWindow* _tmp2_ = NULL; GtkWindow* _tmp3_ = NULL; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = parent; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp3_; -#line 3613 "AppWindow.c" +#line 3618 "AppWindow.c" } else { AppWindow* _tmp4_ = NULL; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = app_window_get_instance (); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow); -#line 3622 "AppWindow.c" +#line 3627 "AppWindow.c" } -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = title; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = message; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = should_escape; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = build_alert_body_text (_tmp5_, _tmp6_, _tmp7_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = _tmp8_; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp9_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp10_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = _tmp10_; -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp9_); -#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala" dialog = _tmp11_; -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = title; -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = message; -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = should_escape; -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = build_alert_body_text (_tmp12_, _tmp13_, _tmp14_); -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = _tmp15_; -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_message_dialog_set_markup (dialog, _tmp16_); -#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp16_); -#line 578 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 581 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_set (dialog, "use-markup", TRUE, NULL); -#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 582 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (dialog); -#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 3668 "AppWindow.c" +#line 3673 "AppWindow.c" } @@ -3718,93 +3720,93 @@ gboolean app_window_negate_affirm_question (const gchar* message, const gchar* n const gchar* _tmp16_ = NULL; gboolean response = FALSE; gint _tmp17_ = 0; -#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (message != NULL, FALSE); -#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (negative != NULL, FALSE); -#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (affirmative != NULL, FALSE); -#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), FALSE); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 3703 "AppWindow.c" +#line 3708 "AppWindow.c" GtkWindow* _tmp2_ = NULL; GtkWindow* _tmp3_ = NULL; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = parent; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp3_; -#line 3714 "AppWindow.c" +#line 3719 "AppWindow.c" } else { AppWindow* _tmp4_ = NULL; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = app_window_get_instance (); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow); -#line 3723 "AppWindow.c" +#line 3728 "AppWindow.c" } -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = title; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = message; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = _tmp7_; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp9_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp8_); -#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala" - dialog = _tmp10_; #line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" + dialog = _tmp10_; +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = title; -#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = message; -#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = build_alert_body_text (_tmp11_, _tmp12_, TRUE); -#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = _tmp13_; -#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_message_dialog_set_markup (dialog, _tmp14_); -#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp14_); -#line 589 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = negative; -#line 589 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = affirmative; -#line 589 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_NO, _tmp16_, GTK_RESPONSE_YES, NULL); -#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_urgency_hint (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), TRUE); -#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 595 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 595 "/home/jens/Source/shotwell/src/AppWindow.vala" response = _tmp17_ == ((gint) GTK_RESPONSE_YES); -#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 597 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 596 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" result = response; -#line 596 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (dialog); -#line 596 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 596 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3777 "AppWindow.c" +#line 3782 "AppWindow.c" } @@ -3828,95 +3830,95 @@ GtkResponseType app_window_negate_affirm_cancel_question (const gchar* message, gchar* _tmp17_ = NULL; gint response = 0; gint _tmp18_ = 0; -#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 602 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (message != NULL, 0); -#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 602 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (negative != NULL, 0); -#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 602 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (affirmative != NULL, 0); -#line 599 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 602 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 3813 "AppWindow.c" +#line 3818 "AppWindow.c" GtkWindow* _tmp2_ = NULL; GtkWindow* _tmp3_ = NULL; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = parent; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp3_; -#line 3824 "AppWindow.c" +#line 3829 "AppWindow.c" } else { AppWindow* _tmp4_ = NULL; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = app_window_get_instance (); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow); -#line 3833 "AppWindow.c" +#line 3838 "AppWindow.c" } -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = title; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = message; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = _tmp7_; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp9_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp8_); -#line 601 "/home/jens/Source/shotwell/src/AppWindow.vala" - dialog = _tmp10_; #line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" + dialog = _tmp10_; +#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = negative; -#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = affirmative; -#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = _ ("_Cancel"); -#line 604 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp11_, GTK_RESPONSE_NO, _tmp12_, GTK_RESPONSE_YES, _tmp13_, GTK_RESPONSE_CANCEL, NULL); -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = title; -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = message; -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = build_alert_body_text (_tmp14_, _tmp15_, TRUE); -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = _tmp16_; -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_message_dialog_set_markup (dialog, _tmp17_); -#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp17_); -#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_set (dialog, "use-markup", TRUE, NULL); -#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala" response = _tmp18_; -#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" result = (GtkResponseType) response; -#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (dialog); -#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 3889 "AppWindow.c" +#line 3894 "AppWindow.c" } @@ -3940,103 +3942,103 @@ GtkResponseType app_window_affirm_cancel_question (const gchar* message, const g GtkMessageDialog* _tmp17_ = NULL; gint _tmp18_ = 0; GtkMessageDialog* _tmp19_ = NULL; -#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (message != NULL, 0); -#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (affirmative != NULL, 0); -#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 3923 "AppWindow.c" +#line 3928 "AppWindow.c" GtkWindow* _tmp2_ = NULL; GtkWindow* _tmp3_ = NULL; -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = parent; -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp3_; -#line 3934 "AppWindow.c" +#line 3939 "AppWindow.c" } else { AppWindow* _tmp4_ = NULL; -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = app_window_get_instance (); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow); -#line 3943 "AppWindow.c" +#line 3948 "AppWindow.c" } -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = message; -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp6_); -#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala" - dialog = _tmp6_; #line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" + dialog = _tmp6_; +#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = dialog; -#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = message; -#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_message_dialog_set_markup (_tmp7_, _tmp8_); -#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = dialog; -#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_set (_tmp9_, "use-markup", TRUE, NULL); -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = title; -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp11_ != NULL) { -#line 3967 "AppWindow.c" +#line 3972 "AppWindow.c" const gchar* _tmp12_ = NULL; -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = title; -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp12_; -#line 3973 "AppWindow.c" +#line 3978 "AppWindow.c" } else { -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = RESOURCES_APP_TITLE; -#line 3977 "AppWindow.c" +#line 3982 "AppWindow.c" } -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = dialog; -#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_window_get_type (), GtkWindow), _tmp10_); -#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = dialog; -#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = affirmative; -#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = _ ("_Cancel"); -#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala" - gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_YES, _tmp16_, GTK_RESPONSE_CANCEL, NULL); #line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" + gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_YES, _tmp16_, GTK_RESPONSE_CANCEL, NULL); +#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = dialog; -#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog)); -#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala" response = _tmp18_; -#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = dialog; -#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget)); -#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" result = (GtkResponseType) response; -#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (dialog); -#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 4009 "AppWindow.c" +#line 4014 "AppWindow.c" } @@ -4059,101 +4061,101 @@ GtkResponseType app_window_negate_affirm_all_cancel_question (const gchar* messa GtkMessageDialog* _tmp16_ = NULL; gint _tmp17_ = 0; GtkMessageDialog* _tmp18_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (message != NULL, 0); -#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (negative != NULL, 0); -#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (affirmative != NULL, 0); -#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (affirmative_all != NULL, 0); -#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0); #line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0); +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = parent; -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 4046 "AppWindow.c" +#line 4051 "AppWindow.c" GtkWindow* _tmp2_ = NULL; GtkWindow* _tmp3_ = NULL; -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = parent; -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _tmp3_; -#line 4057 "AppWindow.c" +#line 4062 "AppWindow.c" } else { AppWindow* _tmp4_ = NULL; -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = app_window_get_instance (); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow); -#line 4066 "AppWindow.c" +#line 4071 "AppWindow.c" } -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = message; -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp6_); -#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" dialog = _tmp6_; -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = title; -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp8_ != NULL) { -#line 4080 "AppWindow.c" +#line 4085 "AppWindow.c" const gchar* _tmp9_ = NULL; -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = title; -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp9_; -#line 4086 "AppWindow.c" +#line 4091 "AppWindow.c" } else { -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = RESOURCES_APP_TITLE; -#line 4090 "AppWindow.c" +#line 4095 "AppWindow.c" } -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = dialog; -#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), _tmp7_); -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = dialog; -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = negative; -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = affirmative; -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = affirmative_all; -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = _ ("_Cancel"); -#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala" - gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_dialog_get_type (), GtkDialog), _tmp12_, GTK_RESPONSE_NO, _tmp13_, GTK_RESPONSE_YES, _tmp14_, GTK_RESPONSE_APPLY, _tmp15_, GTK_RESPONSE_CANCEL, NULL); #line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" + gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_dialog_get_type (), GtkDialog), _tmp12_, GTK_RESPONSE_NO, _tmp13_, GTK_RESPONSE_YES, _tmp14_, GTK_RESPONSE_APPLY, _tmp15_, GTK_RESPONSE_CANCEL, NULL); +#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = dialog; -#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_dialog_get_type (), GtkDialog)); -#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala" response = _tmp17_; -#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = dialog; -#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget)); -#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala" result = (GtkResponseType) response; -#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (dialog); -#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 4126 "AppWindow.c" +#line 4131 "AppWindow.c" } @@ -4163,24 +4165,24 @@ void app_window_database_error (GError* err) { const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _ ("A fatal error occurred when accessing Shotwell's library. Shotwell ca" \ "nnot continue.\n" \ "\n" \ "%s"); -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = err; -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_->message; -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = g_strdup_printf (_tmp0_, _tmp2_); -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_panic (_tmp4_); -#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp4_); -#line 4150 "AppWindow.c" +#line 4155 "AppWindow.c" } @@ -4189,43 +4191,43 @@ void app_window_panic (const gchar* msg) { const gchar* _tmp1_ = NULL; Application* _tmp2_ = NULL; Application* _tmp3_ = NULL; -#line 657 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (msg != NULL); -#line 658 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = msg; -#line 658 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_critical ("AppWindow.vala:658: %s", _tmp0_); -#line 659 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_critical ("AppWindow.vala:661: %s", _tmp0_); +#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = msg; -#line 659 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message (_tmp1_, NULL); -#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = application_get_instance (); -#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" application_panic (_tmp3_); -#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" _application_unref0 (_tmp3_); -#line 4177 "AppWindow.c" +#line 4182 "AppWindow.c" } static gchar* app_window_real_get_app_role (AppWindow* self) { -#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("Type `%s' does not implement abstract method `app_window_get_app_role'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" return NULL; -#line 4186 "AppWindow.c" +#line 4191 "AppWindow.c" } gchar* app_window_get_app_role (AppWindow* self) { -#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_APP_WINDOW (self), NULL); -#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" return APP_WINDOW_GET_CLASS (self)->get_app_role (self); -#line 4195 "AppWindow.c" +#line 4200 "AppWindow.c" } @@ -4236,44 +4238,44 @@ void app_window_on_about (AppWindow* self) { GdkPixbuf* _tmp3_ = NULL; GdkPixbuf* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 669 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_get_app_role (self); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _ ("Visit the Shotwell web site"); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = resources_get_icon (RESOURCES_ICON_ABOUT_LOGO, -1); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _ ("translator-credits"); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_show_about_dialog (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), "version", RESOURCES_APP_VERSION, "comments", _tmp1_, "copyright", RESOURCES_COPYRIGHT, "website", RESOURCES_HOME_URL, "license", RESOURCES_LICENSE, "website-label", _tmp2_, "authors", RESOURCES_AUTHORS, "logo", _tmp4_, "translator-credits", _tmp5_, NULL, NULL); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp4_); -#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp1_); -#line 4226 "AppWindow.c" +#line 4231 "AppWindow.c" } static void app_window_on_help_contents (AppWindow* self) { GError * _inner_error_ = NULL; -#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 684 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 4234 "AppWindow.c" +#line 4239 "AppWindow.c" { GdkScreen* _tmp0_ = NULL; -#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala" resources_launch_help (_tmp0_, NULL, &_inner_error_); -#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4243 "AppWindow.c" +#line 4248 "AppWindow.c" goto __catch215_g_error; } } @@ -4286,53 +4288,53 @@ static void app_window_on_help_contents (AppWindow* self) { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" - _inner_error_ = NULL; #line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" + _inner_error_ = NULL; +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _ ("Unable to display help: %s"); -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = err; -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_->message; -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = g_strdup_printf (_tmp1_, _tmp3_); -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message (_tmp5_, NULL); -#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp5_); -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 4276 "AppWindow.c" +#line 4281 "AppWindow.c" } __finally215: -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4287 "AppWindow.c" +#line 4292 "AppWindow.c" } } static void app_window_on_help_report_problem (AppWindow* self) { GError * _inner_error_ = NULL; -#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 4296 "AppWindow.c" +#line 4301 "AppWindow.c" { -#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_show_uri (self, RESOURCES_BUG_DB_URL, &_inner_error_); -#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4302 "AppWindow.c" +#line 4307 "AppWindow.c" goto __catch216_g_error; } } @@ -4345,53 +4347,53 @@ static void app_window_on_help_report_problem (AppWindow* self) { const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" - _inner_error_ = NULL; #line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" + _inner_error_ = NULL; +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _ ("Unable to navigate to bug database: %s"); -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = err; -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_->message; -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = g_strdup_printf (_tmp0_, _tmp2_); -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message (_tmp4_, NULL); -#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp4_); -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 4335 "AppWindow.c" +#line 4340 "AppWindow.c" } __finally216: -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4346 "AppWindow.c" +#line 4351 "AppWindow.c" } } static void app_window_on_help_faq (AppWindow* self) { GError * _inner_error_ = NULL; -#line 697 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 700 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 4355 "AppWindow.c" +#line 4360 "AppWindow.c" { -#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_show_uri (self, RESOURCES_FAQ_URL, &_inner_error_); -#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4361 "AppWindow.c" +#line 4366 "AppWindow.c" goto __catch217_g_error; } } @@ -4404,38 +4406,38 @@ static void app_window_on_help_faq (AppWindow* self) { const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" - _inner_error_ = NULL; #line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" + _inner_error_ = NULL; +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _ ("Unable to display FAQ: %s"); -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = err; -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_->message; -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = g_strdup_printf (_tmp0_, _tmp2_); -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message (_tmp4_, NULL); -#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp4_); -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 4394 "AppWindow.c" +#line 4399 "AppWindow.c" } __finally217: -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4405 "AppWindow.c" +#line 4410 "AppWindow.c" } } @@ -4443,24 +4445,24 @@ static void app_window_on_help_faq (AppWindow* self) { static void app_window_real_on_quit (AppWindow* self) { Application* _tmp0_ = NULL; Application* _tmp1_ = NULL; -#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = application_get_instance (); -#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" application_exit (_tmp1_); -#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" _application_unref0 (_tmp1_); -#line 4421 "AppWindow.c" +#line 4426 "AppWindow.c" } void app_window_on_quit (AppWindow* self) { -#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala" APP_WINDOW_GET_CLASS (self)->on_quit (self); -#line 4430 "AppWindow.c" +#line 4435 "AppWindow.c" } @@ -4483,71 +4485,71 @@ void app_window_on_jump_to_file (AppWindow* self) { MediaSource* _tmp14_ = NULL; MediaSource* _tmp15_ = NULL; GError * _inner_error_ = NULL; -#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = page_get_view (_tmp1_); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = view_collection_get_selected_count (_tmp3_); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_ != 1; -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp3_); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp1_); -#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp5_) { -#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 714 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4475 "AppWindow.c" +#line 4480 "AppWindow.c" } -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = page_get_view (_tmp7_); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = _tmp8_; -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = view_collection_get_selected_at (_tmp9_, 0); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = _tmp10_; -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = data_view_get_source (_tmp11_); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp12_) : NULL; -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp13_ == NULL) { -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp12_); -#line 4497 "AppWindow.c" +#line 4502 "AppWindow.c" } -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = _tmp13_; -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp11_); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp9_); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" media = _tmp14_; -#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = media; -#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp15_ == NULL) { -#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (media); -#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4517 "AppWindow.c" +#line 4522 "AppWindow.c" } { AppWindow* _tmp16_ = NULL; @@ -4555,25 +4557,25 @@ void app_window_on_jump_to_file (AppWindow* self) { MediaSource* _tmp18_ = NULL; GFile* _tmp19_ = NULL; GFile* _tmp20_ = NULL; -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = app_window_get_instance (); -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = _tmp16_; -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = media; -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = media_source_get_master_file (_tmp18_); -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = _tmp19_; -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_show_file_uri (_tmp17_, _tmp20_, &_inner_error_); -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp20_); -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp17_); -#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4543 "AppWindow.c" +#line 4548 "AppWindow.c" goto __catch218_g_error; } } @@ -4584,63 +4586,63 @@ void app_window_on_jump_to_file (AppWindow* self) { GError* _tmp21_ = NULL; gchar* _tmp22_ = NULL; gchar* _tmp23_ = NULL; -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" err = _inner_error_; -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" - _inner_error_ = NULL; #line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" + _inner_error_ = NULL; +#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp21_ = err; -#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_ = resources_jump_to_file_failed (_tmp21_); -#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp23_ = _tmp22_; -#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_error_message (_tmp23_, NULL); -#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp23_); -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_error_free0 (err); -#line 4570 "AppWindow.c" +#line 4575 "AppWindow.c" } __finally218: -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (media); -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" g_clear_error (&_inner_error_); -#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4583 "AppWindow.c" +#line 4588 "AppWindow.c" } -#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (media); -#line 4587 "AppWindow.c" +#line 4592 "AppWindow.c" } static void app_window_real_destroy (GtkWidget* base) { AppWindow * self; -#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow); -#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_quit (self); -#line 4597 "AppWindow.c" +#line 4602 "AppWindow.c" } static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); -#line 4610 "AppWindow.c" +#line 4615 "AppWindow.c" { GRegex* regex = NULL; const gchar* _tmp0_ = NULL; @@ -4653,100 +4655,100 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 4641 "AppWindow.c" +#line 4646 "AppWindow.c" goto __catch219_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 4650 "AppWindow.c" +#line 4655 "AppWindow.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 4666 "AppWindow.c" +#line 4671 "AppWindow.c" goto __catch219_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 4677 "AppWindow.c" +#line 4682 "AppWindow.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 4691 "AppWindow.c" +#line 4696 "AppWindow.c" } goto __finally219; __catch219_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 4705 "AppWindow.c" +#line 4710 "AppWindow.c" } __finally219: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 4716 "AppWindow.c" +#line 4721 "AppWindow.c" } } @@ -4757,53 +4759,53 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) { gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; GError * _inner_error_ = NULL; -#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (G_IS_FILE (file)); -#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = get_nautilus_install_location (); -#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_ != NULL; -#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp1_); -#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_) { -#line 4741 "AppWindow.c" +#line 4746 "AppWindow.c" GFile* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = file; -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = g_file_get_uri (_tmp3_); -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = string_replace (_tmp5_, "'", "\\\'"); -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (tmp); -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" tmp = _tmp6_; -#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp5_); -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = tmp; -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" show_file_in_nautilus (_tmp7_, &_inner_error_); -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" g_propagate_error (error, _inner_error_); -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (tmp); -#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4773 "AppWindow.c" +#line 4778 "AppWindow.c" } } else { GFile* _tmp8_ = NULL; @@ -4813,44 +4815,44 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) { gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = file; -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = g_file_get_parent (_tmp8_); -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = g_file_get_uri (_tmp10_); -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = _tmp11_; -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = string_replace (_tmp12_, "'", "\\\'"); -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (tmp); -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" tmp = _tmp13_; -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp12_); -#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp10_); -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = tmp; -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_show_uri (self, _tmp14_, &_inner_error_); -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" g_propagate_error (error, _inner_error_); -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (tmp); -#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4815 "AppWindow.c" +#line 4820 "AppWindow.c" } } -#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (tmp); -#line 4820 "AppWindow.c" +#line 4825 "AppWindow.c" } @@ -4859,43 +4861,43 @@ void app_window_show_uri (AppWindow* self, const gchar* url, GError** error) { GdkScreen* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (url != NULL); -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gdk_window_get_screen (_tmp0_); -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = url; -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" sys_show_uri (_tmp1_, _tmp2_, &_inner_error_); -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" g_propagate_error (error, _inner_error_); -#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 4847 "AppWindow.c" +#line 4852 "AppWindow.c" } } static void _vala_array_add170 (GtkActionGroup*** array, int* length, int* size, GtkActionGroup* value) { -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" if ((*length) == (*size)) { -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" *array = g_renew (GtkActionGroup*, *array, (*size) + 1); -#line 4859 "AppWindow.c" +#line 4864 "AppWindow.c" } -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[(*length)++] = value; -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" (*array)[*length] = NULL; -#line 4865 "AppWindow.c" +#line 4870 "AppWindow.c" } @@ -4916,81 +4918,81 @@ static GtkActionGroup** app_window_real_create_common_action_groups (AppWindow* GtkActionGroup* _tmp7_ = NULL; GtkActionGroup** _tmp8_ = NULL; gint _tmp8__length1 = 0; -#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = g_new0 (GtkActionGroup*, 0 + 1); -#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" groups = _tmp0_; -#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" groups_length1 = 0; -#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" _groups_size_ = groups_length1; -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->priv->common_action_group; -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = app_window_create_common_actions (self, &_tmp2_); -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4__length1 = _tmp2_; -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_group_add_actions (_tmp1_, _tmp4_, _tmp2_, self); -#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = (g_free (_tmp4_), NULL); -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = groups; -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5__length1 = groups_length1; -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = self->priv->common_action_group; -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _g_object_ref0 (_tmp6_); -#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala" _vala_array_add170 (&groups, &groups_length1, &_groups_size_, _tmp7_); -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = groups; -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8__length1 = groups_length1; -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" if (result_length1) { -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" *result_length1 = _tmp8__length1; -#line 4924 "AppWindow.c" +#line 4929 "AppWindow.c" } -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp8_; -#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 4930 "AppWindow.c" +#line 4935 "AppWindow.c" } GtkActionGroup** app_window_create_common_action_groups (AppWindow* self, int* result_length1) { -#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_APP_WINDOW (self), NULL); -#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala" return APP_WINDOW_GET_CLASS (self)->create_common_action_groups (self, result_length1); -#line 4939 "AppWindow.c" +#line 4944 "AppWindow.c" } static GtkActionGroup** _vala_array_dup28 (GtkActionGroup** self, int length) { GtkActionGroup** result; int i; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" result = g_new0 (GtkActionGroup*, length + 1); -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" for (i = 0; i < length; i++) { -#line 4950 "AppWindow.c" +#line 4955 "AppWindow.c" GtkActionGroup* _tmp0_ = NULL; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = _g_object_ref0 (self[i]); -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" result[i] = _tmp0_; -#line 4956 "AppWindow.c" +#line 4961 "AppWindow.c" } -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 4960 "AppWindow.c" +#line 4965 "AppWindow.c" } @@ -5002,47 +5004,47 @@ GtkActionGroup** app_window_get_common_action_groups (AppWindow* self, int* resu gint _tmp1__length1 = 0; GtkActionGroup** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 759 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_APP_WINDOW (self), NULL); -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->common_action_groups; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0__length1 = self->common_action_groups_length1; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup28 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1__length1 = _tmp0__length1; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = _tmp1_; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2__length1 = _tmp1__length1; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" if (result_length1) { -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" *result_length1 = _tmp2__length1; -#line 4990 "AppWindow.c" +#line 4995 "AppWindow.c" } -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp2_; -#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 4996 "AppWindow.c" +#line 5001 "AppWindow.c" } static void app_window_real_replace_common_placeholders (AppWindow* self, GtkUIManager* ui) { -#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (GTK_IS_UI_MANAGER (ui)); -#line 5003 "AppWindow.c" +#line 5008 "AppWindow.c" } void app_window_replace_common_placeholders (AppWindow* self, GtkUIManager* ui) { -#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 760 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" APP_WINDOW_GET_CLASS (self)->replace_common_placeholders (self, ui); -#line 5012 "AppWindow.c" +#line 5017 "AppWindow.c" } @@ -5059,81 +5061,81 @@ void app_window_go_fullscreen (AppWindow* self, Page* page) { FullscreenWindow* _tmp12_ = NULL; FullscreenWindow* _tmp13_ = NULL; FullscreenWindow* _tmp14_ = NULL; -#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE (page)); -#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 768 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_fullscreen_window; -#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 768 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ != NULL) { -#line 5037 "AppWindow.c" +#line 5042 "AppWindow.c" FullscreenWindow* _tmp1_ = NULL; -#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 769 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_window_fullscreen_window; -#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 769 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow)); -#line 768 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 5045 "AppWindow.c" +#line 5050 "AppWindow.c" } -#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_get_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp2_, &_tmp3_); -#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" self->pos_x = _tmp2_; -#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" self->pos_y = _tmp3_; -#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page; -#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = fullscreen_window_new (_tmp4_); -#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" g_object_ref_sink (_tmp5_); -#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" fsw = _tmp5_; -#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = _tmp7_ != NULL; -#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp8_) { -#line 5073 "AppWindow.c" +#line 5078 "AppWindow.c" Page* _tmp9_ = NULL; Page* _tmp10_ = NULL; FullscreenWindow* _tmp11_ = NULL; -#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = fsw; -#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" page_switching_to_fullscreen (_tmp10_, _tmp11_); -#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp10_); -#line 5087 "AppWindow.c" +#line 5092 "AppWindow.c" } -#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = fsw; -#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = _g_object_ref0 (_tmp12_); -#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (app_window_fullscreen_window); -#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_fullscreen_window = _tmp13_; -#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = app_window_fullscreen_window; -#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow)); -#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (fsw); -#line 5103 "AppWindow.c" +#line 5108 "AppWindow.c" } @@ -5146,65 +5148,65 @@ void app_window_end_fullscreen (AppWindow* self) { gboolean _tmp5_ = FALSE; FullscreenWindow* _tmp9_ = NULL; FullscreenWindow* _tmp10_ = NULL; -#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_fullscreen_window; -#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp0_ == NULL) { -#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 788 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 5124 "AppWindow.c" +#line 5129 "AppWindow.c" } -#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = self->pos_x; -#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->pos_y; -#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_move (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp1_, _tmp2_); -#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = _tmp3_; -#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_ != NULL; -#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp4_); -#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp5_) { -#line 5144 "AppWindow.c" +#line 5149 "AppWindow.c" Page* _tmp6_ = NULL; Page* _tmp7_ = NULL; FullscreenWindow* _tmp8_ = NULL; -#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = _tmp6_; -#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = app_window_fullscreen_window; -#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" page_returning_from_fullscreen (_tmp7_, _tmp8_); -#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp7_); -#line 5158 "AppWindow.c" +#line 5163 "AppWindow.c" } -#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = app_window_fullscreen_window; -#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget)); -#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = app_window_fullscreen_window; -#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget)); -#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (app_window_fullscreen_window); -#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_fullscreen_window = NULL; -#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 801 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow)); -#line 5174 "AppWindow.c" +#line 5179 "AppWindow.c" } @@ -5213,34 +5215,34 @@ GtkAction* app_window_get_common_action (AppWindow* self, const gchar* name) { GtkActionGroup** _tmp0_ = NULL; gint _tmp0__length1 = 0; const gchar* _tmp7_ = NULL; -#line 801 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (IS_APP_WINDOW (self), NULL); -#line 801 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (name != NULL, NULL); -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = self->common_action_groups; -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0__length1 = self->common_action_groups_length1; -#line 5191 "AppWindow.c" +#line 5196 "AppWindow.c" { GtkActionGroup** group_collection = NULL; gint group_collection_length1 = 0; gint _group_collection_size_ = 0; gint group_it = 0; -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" group_collection = _tmp0_; -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" group_collection_length1 = _tmp0__length1; -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" for (group_it = 0; group_it < _tmp0__length1; group_it = group_it + 1) { -#line 5203 "AppWindow.c" +#line 5208 "AppWindow.c" GtkActionGroup* _tmp1_ = NULL; GtkActionGroup* group = NULL; -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _g_object_ref0 (group_collection[group_it]); -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" group = _tmp1_; -#line 5210 "AppWindow.c" +#line 5215 "AppWindow.c" { GtkAction* action = NULL; GtkActionGroup* _tmp2_ = NULL; @@ -5248,45 +5250,45 @@ GtkAction* app_window_get_common_action (AppWindow* self, const gchar* name) { GtkAction* _tmp4_ = NULL; GtkAction* _tmp5_ = NULL; GtkAction* _tmp6_ = NULL; -#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = group; -#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = name; -#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = gtk_action_group_get_action (_tmp2_, _tmp3_); -#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _g_object_ref0 (_tmp4_); -#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala" action = _tmp5_; -#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = action; -#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp6_ != NULL) { -#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala" result = action; -#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (group); -#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 5238 "AppWindow.c" +#line 5243 "AppWindow.c" } -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (group); -#line 5244 "AppWindow.c" +#line 5249 "AppWindow.c" } } } -#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = name; -#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala" - g_warning ("AppWindow.vala:808: No common action found: %s", _tmp7_); -#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala" + g_warning ("AppWindow.vala:811: No common action found: %s", _tmp7_); +#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala" result = NULL; -#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 5256 "AppWindow.c" +#line 5261 "AppWindow.c" } @@ -5295,34 +5297,34 @@ void app_window_set_common_action_sensitive (AppWindow* self, const gchar* name, const gchar* _tmp0_ = NULL; GtkAction* _tmp1_ = NULL; GtkAction* _tmp2_ = NULL; -#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (name != NULL); -#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = name; -#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_window_get_common_action (self, _tmp0_); -#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala" action = _tmp1_; -#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = action; -#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5279 "AppWindow.c" +#line 5284 "AppWindow.c" GtkAction* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = action; -#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = sensitive; -#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_sensitive (_tmp3_, _tmp4_); -#line 5288 "AppWindow.c" +#line 5293 "AppWindow.c" } -#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 5292 "AppWindow.c" +#line 5297 "AppWindow.c" } @@ -5331,34 +5333,34 @@ void app_window_set_common_action_important (AppWindow* self, const gchar* name, const gchar* _tmp0_ = NULL; GtkAction* _tmp1_ = NULL; GtkAction* _tmp2_ = NULL; -#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (name != NULL); -#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = name; -#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_window_get_common_action (self, _tmp0_); -#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala" action = _tmp1_; -#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = action; -#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5315 "AppWindow.c" +#line 5320 "AppWindow.c" GtkAction* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = action; -#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = important; -#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_is_important (_tmp3_, _tmp4_); -#line 5324 "AppWindow.c" +#line 5329 "AppWindow.c" } -#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 5328 "AppWindow.c" +#line 5333 "AppWindow.c" } @@ -5367,55 +5369,55 @@ void app_window_set_common_action_visible (AppWindow* self, const gchar* name, g const gchar* _tmp0_ = NULL; GtkAction* _tmp1_ = NULL; GtkAction* _tmp2_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (name != NULL); -#line 826 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = name; -#line 826 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_window_get_common_action (self, _tmp0_); -#line 826 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala" action = _tmp1_; -#line 827 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 830 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = action; -#line 827 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 830 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5351 "AppWindow.c" +#line 5356 "AppWindow.c" GtkAction* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = action; -#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = visible; -#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_visible (_tmp3_, _tmp4_); -#line 5360 "AppWindow.c" +#line 5365 "AppWindow.c" } -#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 5364 "AppWindow.c" +#line 5369 "AppWindow.c" } static void _app_window_on_update_common_actions_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) { -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_update_common_actions ((AppWindow*) self); -#line 5371 "AppWindow.c" +#line 5376 "AppWindow.c" } static void _app_window_on_update_common_actions_view_collection_selection_group_altered (ViewCollection* _sender, gpointer self) { -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_update_common_actions ((AppWindow*) self); -#line 5378 "AppWindow.c" +#line 5383 "AppWindow.c" } static void _app_window_on_update_common_actions_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) { -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_on_update_common_actions ((AppWindow*) self); -#line 5385 "AppWindow.c" +#line 5390 "AppWindow.c" } @@ -5427,23 +5429,23 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa Page* _tmp15_ = NULL; Page* _tmp34_ = NULL; Page* _tmp35_ = NULL; -#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow); -#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page)); -#line 831 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page)); -#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = old_page; -#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = new_page; -#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_update_common_action_availability (self, _tmp0_, _tmp1_); -#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = old_page; -#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5413 "AppWindow.c" +#line 5418 "AppWindow.c" Page* _tmp3_ = NULL; ViewCollection* _tmp4_ = NULL; ViewCollection* _tmp5_ = NULL; @@ -5456,49 +5458,49 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa ViewCollection* _tmp12_ = NULL; ViewCollection* _tmp13_ = NULL; guint _tmp14_ = 0U; -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = old_page; -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_get_view (_tmp3_); -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp6_, NULL, FALSE); -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self); -#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp5_); -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = old_page; -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = page_get_view (_tmp7_); -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = _tmp8_; -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_parse_name ("selection-group-altered", TYPE_VIEW_COLLECTION, &_tmp10_, NULL, FALSE); -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self); -#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp9_); -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = old_page; -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = page_get_view (_tmp11_); -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = _tmp12_; -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp14_, NULL, FALSE); -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self); -#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp13_); -#line 5462 "AppWindow.c" +#line 5467 "AppWindow.c" } -#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = new_page; -#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp15_ != NULL) { -#line 5468 "AppWindow.c" +#line 5473 "AppWindow.c" Page* _tmp16_ = NULL; ViewCollection* _tmp17_ = NULL; ViewCollection* _tmp18_ = NULL; @@ -5517,135 +5519,135 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa ViewCollection* _tmp31_ = NULL; ViewCollection* _tmp32_ = NULL; gint _tmp33_ = 0; -#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = new_page; -#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = page_get_view (_tmp16_); -#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = _tmp17_; -#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self, 0); -#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp18_); -#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = new_page; -#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = page_get_view (_tmp19_); -#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp21_ = _tmp20_; -#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_connect_object (_tmp21_, "selection-group-altered", (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self, 0); -#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp21_); -#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp22_ = new_page; -#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp23_ = page_get_view (_tmp22_); -#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp24_ = _tmp23_; -#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala" g_signal_connect_object (_tmp24_, "items-state-changed", (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self, 0); -#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp24_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp25_ = new_page; -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp26_ = new_page; -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp27_ = page_get_view (_tmp26_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp28_ = _tmp27_; -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp29_ = view_collection_get_selected_count (_tmp28_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp30_ = new_page; -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp31_ = page_get_view (_tmp30_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp32_ = _tmp31_; -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp33_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_COLLECTION, DataCollection)); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_update_common_actions (self, _tmp25_, _tmp29_, _tmp33_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp32_); -#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp28_); -#line 5541 "AppWindow.c" +#line 5546 "AppWindow.c" } -#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp34_ = old_page; -#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp35_ = new_page; -#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala" PAGE_WINDOW_CLASS (app_window_parent_class)->switched_pages (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), _tmp34_, _tmp35_); -#line 5549 "AppWindow.c" +#line 5554 "AppWindow.c" } static void app_window_real_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) { gboolean is_checkerboard = FALSE; Page* _tmp0_ = NULL; -#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page)); -#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page)); -#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = new_page; -#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala" is_checkerboard = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE); -#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard); -#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_set_common_action_sensitive (self, "CommonSelectNone", is_checkerboard); -#line 5568 "AppWindow.c" +#line 5573 "AppWindow.c" } void app_window_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) { -#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala" APP_WINDOW_GET_CLASS (self)->update_common_action_availability (self, old_page, new_page); -#line 5577 "AppWindow.c" +#line 5582 "AppWindow.c" } static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) { Page* _tmp0_ = NULL; gint _tmp2_ = 0; -#line 865 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_PAGE (page)); -#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 869 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page; -#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 869 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE)) { -#line 5590 "AppWindow.c" +#line 5595 "AppWindow.c" gint _tmp1_ = 0; -#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 870 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = count; -#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 870 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_set_common_action_sensitive (self, "CommonSelectAll", _tmp1_ > 0); -#line 5596 "AppWindow.c" +#line 5601 "AppWindow.c" } -#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = selected_count; -#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_set_common_action_sensitive (self, "CommonJumpToFile", _tmp2_ == 1); -#line 870 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 873 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_undo_action (self); -#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 874 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_redo_action (self); -#line 5606 "AppWindow.c" +#line 5611 "AppWindow.c" } void app_window_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) { -#line 865 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 865 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala" APP_WINDOW_GET_CLASS (self)->update_common_actions (self, page, selected_count, count); -#line 5615 "AppWindow.c" +#line 5620 "AppWindow.c" } @@ -5653,17 +5655,17 @@ static void app_window_on_update_common_actions (AppWindow* self) { Page* page = NULL; Page* _tmp0_ = NULL; Page* _tmp1_ = NULL; -#line 874 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala" page = _tmp0_; -#line 876 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = page; -#line 876 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ != NULL) { -#line 5633 "AppWindow.c" +#line 5638 "AppWindow.c" Page* _tmp2_ = NULL; Page* _tmp3_ = NULL; ViewCollection* _tmp4_ = NULL; @@ -5673,42 +5675,42 @@ static void app_window_on_update_common_actions (AppWindow* self) { ViewCollection* _tmp8_ = NULL; ViewCollection* _tmp9_ = NULL; gint _tmp10_ = 0; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = page; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_get_view (_tmp3_); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = view_collection_get_selected_count (_tmp5_); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = page; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = page_get_view (_tmp7_); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = _tmp8_; -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection)); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_update_common_actions (self, _tmp2_, _tmp6_, _tmp10_); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp9_); -#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp5_); -#line 5667 "AppWindow.c" +#line 5672 "AppWindow.c" } -#line 874 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (page); -#line 5671 "AppWindow.c" +#line 5676 "AppWindow.c" } static gpointer _command_manager_ref0 (gpointer self) { -#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" return self ? command_manager_ref (self) : NULL; -#line 5678 "AppWindow.c" +#line 5683 "AppWindow.c" } @@ -5716,26 +5718,26 @@ CommandManager* app_window_get_command_manager (void) { CommandManager* result = NULL; CommandManager* _tmp0_ = NULL; CommandManager* _tmp1_ = NULL; -#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_command_manager; -#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _command_manager_ref0 (_tmp0_); -#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp1_; -#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 5694 "AppWindow.c" +#line 5699 "AppWindow.c" } static void app_window_on_command_manager_altered (AppWindow* self) { -#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_undo_action (self); -#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_redo_action (self); -#line 5705 "AppWindow.c" +#line 5710 "AppWindow.c" } @@ -5745,37 +5747,37 @@ static void app_window_decorate_command_manager_action (AppWindow* self, const g GtkAction* _tmp1_ = NULL; GtkAction* _tmp2_ = NULL; CommandDescription* _tmp3_ = NULL; -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (name != NULL); -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (prefix != NULL); -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (default_explanation != NULL); -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail ((desc == NULL) || IS_COMMAND_DESCRIPTION (desc)); -#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = name; -#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = app_window_get_common_action (self, _tmp0_); -#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala" action = _tmp1_; -#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = action; -#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ == NULL) { -#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" return; -#line 5739 "AppWindow.c" +#line 5744 "AppWindow.c" } -#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = desc; -#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp3_ != NULL) { -#line 5745 "AppWindow.c" +#line 5750 "AppWindow.c" GtkAction* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; CommandDescription* _tmp6_ = NULL; @@ -5788,70 +5790,70 @@ static void app_window_decorate_command_manager_action (AppWindow* self, const g gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; GtkAction* _tmp15_ = NULL; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = action; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = prefix; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = desc; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp7_ = command_description_get_name (_tmp6_); -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp8_ = _tmp7_; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp9_ = g_strdup_printf ("%s %s", _tmp5_, _tmp8_); -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp10_ = _tmp9_; -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_label (_tmp4_, _tmp10_); -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp10_); -#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 899 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp8_); -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp11_ = action; -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp12_ = desc; -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp13_ = command_description_get_explanation (_tmp12_); -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp14_ = _tmp13_; -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_tooltip (_tmp11_, _tmp14_); -#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_free0 (_tmp14_); -#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 901 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp15_ = action; -#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 901 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_sensitive (_tmp15_, TRUE); -#line 5794 "AppWindow.c" +#line 5799 "AppWindow.c" } else { GtkAction* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; GtkAction* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; GtkAction* _tmp20_ = NULL; -#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 903 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp16_ = action; -#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 903 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp17_ = prefix; -#line 900 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 903 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_label (_tmp16_, _tmp17_); -#line 901 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 904 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp18_ = action; -#line 901 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 904 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp19_ = default_explanation; -#line 901 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 904 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_tooltip (_tmp18_, _tmp19_); -#line 902 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 905 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp20_ = action; -#line 902 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 905 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_action_set_sensitive (_tmp20_, FALSE); -#line 5817 "AppWindow.c" +#line 5822 "AppWindow.c" } -#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (action); -#line 5821 "AppWindow.c" +#line 5826 "AppWindow.c" } @@ -5860,23 +5862,23 @@ void app_window_decorate_undo_action (AppWindow* self) { CommandManager* _tmp1_ = NULL; CommandDescription* _tmp2_ = NULL; CommandDescription* _tmp3_ = NULL; -#line 906 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 909 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_get_command_manager (); -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = command_manager_get_undo_description (_tmp1_); -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_command_manager_action (self, "CommonUndo", RESOURCES_UNDO_MENU, "", _tmp3_); -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp3_); -#line 907 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 910 "/home/jens/Source/shotwell/src/AppWindow.vala" _command_manager_unref0 (_tmp1_); -#line 5846 "AppWindow.c" +#line 5851 "AppWindow.c" } @@ -5885,47 +5887,47 @@ void app_window_decorate_redo_action (AppWindow* self) { CommandManager* _tmp1_ = NULL; CommandDescription* _tmp2_ = NULL; CommandDescription* _tmp3_ = NULL; -#line 911 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 914 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_get_command_manager (); -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = _tmp0_; -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = command_manager_get_redo_description (_tmp1_); -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = _tmp2_; -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_decorate_command_manager_action (self, "CommonRedo", RESOURCES_REDO_MENU, "", _tmp3_); -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp3_); -#line 912 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 915 "/home/jens/Source/shotwell/src/AppWindow.vala" _command_manager_unref0 (_tmp1_); -#line 5871 "AppWindow.c" +#line 5876 "AppWindow.c" } static void app_window_on_undo (AppWindow* self) { CommandManager* _tmp0_ = NULL; -#line 916 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 919 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 917 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 920 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_command_manager; -#line 917 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 920 "/home/jens/Source/shotwell/src/AppWindow.vala" command_manager_undo (_tmp0_); -#line 5883 "AppWindow.c" +#line 5888 "AppWindow.c" } static void app_window_on_redo (AppWindow* self) { CommandManager* _tmp0_ = NULL; -#line 920 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 923 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 921 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 924 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = app_window_command_manager; -#line 921 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 924 "/home/jens/Source/shotwell/src/AppWindow.vala" command_manager_redo (_tmp0_); -#line 5895 "AppWindow.c" +#line 5900 "AppWindow.c" } @@ -5934,43 +5936,43 @@ static void app_window_on_select_all (AppWindow* self) { Page* _tmp0_ = NULL; CheckerboardPage* _tmp1_ = NULL; Page* _tmp2_ = NULL; -#line 924 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 925 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 928 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 925 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 928 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL; -#line 925 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 928 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ == NULL) { -#line 925 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 928 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 5914 "AppWindow.c" +#line 5919 "AppWindow.c" } -#line 925 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 928 "/home/jens/Source/shotwell/src/AppWindow.vala" page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page); -#line 926 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 929 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = page; -#line 926 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 929 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5922 "AppWindow.c" +#line 5927 "AppWindow.c" Page* _tmp3_ = NULL; ViewCollection* _tmp4_ = NULL; ViewCollection* _tmp5_ = NULL; -#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page; -#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_get_view (_tmp3_); -#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" view_collection_select_all (_tmp5_); -#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp5_); -#line 5936 "AppWindow.c" +#line 5941 "AppWindow.c" } -#line 924 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 927 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (page); -#line 5940 "AppWindow.c" +#line 5945 "AppWindow.c" } @@ -5979,43 +5981,43 @@ static void app_window_on_select_none (AppWindow* self) { Page* _tmp0_ = NULL; CheckerboardPage* _tmp1_ = NULL; Page* _tmp2_ = NULL; -#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_if_fail (IS_APP_WINDOW (self)); -#line 931 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 934 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow)); -#line 931 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 934 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL; -#line 931 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 934 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp1_ == NULL) { -#line 931 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 934 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (_tmp0_); -#line 5959 "AppWindow.c" +#line 5964 "AppWindow.c" } -#line 931 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 934 "/home/jens/Source/shotwell/src/AppWindow.vala" page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page); -#line 932 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 935 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = page; -#line 932 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 935 "/home/jens/Source/shotwell/src/AppWindow.vala" if (_tmp2_ != NULL) { -#line 5967 "AppWindow.c" +#line 5972 "AppWindow.c" Page* _tmp3_ = NULL; ViewCollection* _tmp4_ = NULL; ViewCollection* _tmp5_ = NULL; -#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp3_ = page; -#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp4_ = page_get_view (_tmp3_); -#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = _tmp4_; -#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" view_collection_unselect_all (_tmp5_); -#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" _data_collection_unref0 (_tmp5_); -#line 5981 "AppWindow.c" +#line 5986 "AppWindow.c" } -#line 930 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 933 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (page); -#line 5985 "AppWindow.c" +#line 5990 "AppWindow.c" } @@ -6027,103 +6029,103 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig gboolean _tmp2_ = FALSE; GdkEventConfigure* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 939 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow); -#line 936 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 939 "/home/jens/Source/shotwell/src/AppWindow.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 937 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 937 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp1_ = gdk_window_get_state (_tmp0_); -#line 937 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" self->maximized = _tmp1_ == GDK_WINDOW_STATE_MAXIMIZED; -#line 939 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp2_ = self->maximized; -#line 939 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" if (!_tmp2_) { -#line 6011 "AppWindow.c" +#line 6016 "AppWindow.c" gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 943 "/home/jens/Source/shotwell/src/AppWindow.vala" gtk_window_get_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp3_, &_tmp4_); -#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 943 "/home/jens/Source/shotwell/src/AppWindow.vala" self->dimensions.width = _tmp3_; -#line 940 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 943 "/home/jens/Source/shotwell/src/AppWindow.vala" self->dimensions.height = _tmp4_; -#line 6020 "AppWindow.c" +#line 6025 "AppWindow.c" } -#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 945 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp5_ = event; -#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 945 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp6_ = GTK_WIDGET_CLASS (app_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_); -#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 945 "/home/jens/Source/shotwell/src/AppWindow.vala" result = _tmp6_; -#line 942 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 945 "/home/jens/Source/shotwell/src/AppWindow.vala" return result; -#line 6030 "AppWindow.c" +#line 6035 "AppWindow.c" } static void app_window_class_init (AppWindowClass * klass) { -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" app_window_parent_class = g_type_class_peek_parent (klass); -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" g_type_class_add_private (klass, sizeof (AppWindowPrivate)); -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->on_fullscreen = app_window_real_on_fullscreen; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->get_app_role = app_window_real_get_app_role; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->on_quit = app_window_real_on_quit; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->destroy = app_window_real_destroy; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->create_common_action_groups = app_window_real_create_common_action_groups; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->replace_common_placeholders = app_window_real_replace_common_placeholders; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((PageWindowClass *) klass)->switched_pages = app_window_real_switched_pages; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->update_common_action_availability = app_window_real_update_common_action_availability; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((AppWindowClass *) klass)->update_common_actions = app_window_real_update_common_actions; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" ((GtkWidgetClass *) klass)->configure_event = app_window_real_configure_event; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (klass)->finalize = app_window_finalize; -#line 6061 "AppWindow.c" +#line 6066 "AppWindow.c" } static void app_window_instance_init (AppWindow * self) { GtkActionGroup* _tmp0_ = NULL; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv = APP_WINDOW_GET_PRIVATE (self); -#line 417 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 420 "/home/jens/Source/shotwell/src/AppWindow.vala" self->maximized = FALSE; -#line 419 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 422 "/home/jens/Source/shotwell/src/AppWindow.vala" self->pos_x = 0; -#line 420 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 423 "/home/jens/Source/shotwell/src/AppWindow.vala" self->pos_y = 0; -#line 422 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 425 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp0_ = gtk_action_group_new ("AppWindowGlobalActionGroup"); -#line 422 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 425 "/home/jens/Source/shotwell/src/AppWindow.vala" self->priv->common_action_group = _tmp0_; -#line 6079 "AppWindow.c" +#line 6084 "AppWindow.c" } static void app_window_finalize (GObject* obj) { AppWindow * self; -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_APP_WINDOW, AppWindow); -#line 416 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 419 "/home/jens/Source/shotwell/src/AppWindow.vala" self->common_action_groups = (_vala_array_free (self->common_action_groups, self->common_action_groups_length1, (GDestroyNotify) g_object_unref), NULL); -#line 422 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 425 "/home/jens/Source/shotwell/src/AppWindow.vala" _g_object_unref0 (self->priv->common_action_group); -#line 406 "/home/jens/Source/shotwell/src/AppWindow.vala" +#line 409 "/home/jens/Source/shotwell/src/AppWindow.vala" G_OBJECT_CLASS (app_window_parent_class)->finalize (obj); -#line 6093 "AppWindow.c" +#line 6098 "AppWindow.c" } diff --git a/src/AppWindow.vala b/src/AppWindow.vala index b70a20c..b979d9e 100644 --- a/src/AppWindow.vala +++ b/src/AppWindow.vala @@ -98,6 +98,9 @@ public class FullscreenWindow : PageWindow { // start off with toolbar invoked, as a clue for the user invoke_toolbar(); + + // Toolbar steals keyboard focus from page, put it back again + page.grab_focus (); } public void disable_toolbar_dismissal() { diff --git a/src/Application.c b/src/Application.c index 3501ff0..c0dcecf 100644 --- a/src/Application.c +++ b/src/Application.c @@ -1,4 +1,4 @@ -/* Application.c generated by valac 0.32.1, the Vala compiler +/* Application.c generated by valac 0.34.1, the Vala compiler * generated from Application.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/BatchImport.c b/src/BatchImport.c index 6950577..33f0fff 100644 --- a/src/BatchImport.c +++ b/src/BatchImport.c @@ -1,4 +1,4 @@ -/* BatchImport.c generated by valac 0.32.1, the Vala compiler +/* BatchImport.c generated by valac 0.34.1, the Vala compiler * generated from BatchImport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1,4 +1,4 @@ -/* Box.c generated by valac 0.32.1, the Vala compiler +/* Box.c generated by valac 0.34.1, the Vala compiler * generated from Box.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/CheckerboardLayout.c b/src/CheckerboardLayout.c index c6c8195..d73f031 100644 --- a/src/CheckerboardLayout.c +++ b/src/CheckerboardLayout.c @@ -1,4 +1,4 @@ -/* CheckerboardLayout.c generated by valac 0.32.1, the Vala compiler +/* CheckerboardLayout.c generated by valac 0.34.1, the Vala compiler * generated from CheckerboardLayout.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1384,11 +1384,11 @@ void checkerboard_item_text_unref (gpointer instance) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 1394 "CheckerboardLayout.c" { @@ -1403,73 +1403,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1434 "CheckerboardLayout.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1461 "CheckerboardLayout.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1475 "CheckerboardLayout.c" } @@ -1477,24 +1477,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch229_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 1489 "CheckerboardLayout.c" } __finally229: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1500 "CheckerboardLayout.c" } @@ -7296,15 +7296,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7310 "CheckerboardLayout.c" } @@ -7317,37 +7317,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 7333 "CheckerboardLayout.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7341 "CheckerboardLayout.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7353 "CheckerboardLayout.c" } @@ -7367,112 +7367,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 7377 "CheckerboardLayout.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 7383 "CheckerboardLayout.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 7387 "CheckerboardLayout.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 7391 "CheckerboardLayout.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 7403 "CheckerboardLayout.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 7413 "CheckerboardLayout.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 7419 "CheckerboardLayout.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 7433 "CheckerboardLayout.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 7443 "CheckerboardLayout.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 7449 "CheckerboardLayout.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 7458 "CheckerboardLayout.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 7478 "CheckerboardLayout.c" } diff --git a/src/CollectionPage.c b/src/CollectionPage.c index a5b1c04..84e0b3f 100644 --- a/src/CollectionPage.c +++ b/src/CollectionPage.c @@ -1,4 +1,4 @@ -/* CollectionPage.c generated by valac 0.32.1, the Vala compiler +/* CollectionPage.c generated by valac 0.34.1, the Vala compiler * generated from CollectionPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/ColorTransformation.c b/src/ColorTransformation.c index 2a3e7c4..245e71c 100644 --- a/src/ColorTransformation.c +++ b/src/ColorTransformation.c @@ -1,4 +1,4 @@ -/* ColorTransformation.c generated by valac 0.32.1, the Vala compiler +/* ColorTransformation.c generated by valac 0.34.1, the Vala compiler * generated from ColorTransformation.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -11796,19 +11796,19 @@ static gchar* string_chug (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1199 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1199 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strchug (_tmp1_); -#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 11809 "ColorTransformation.c" } @@ -11819,19 +11819,19 @@ static gchar* string_chomp (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strchomp (_tmp1_); -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 11832 "ColorTransformation.c" } diff --git a/src/CommandManager.c b/src/CommandManager.c index 60cb438..69ef7f6 100644 --- a/src/CommandManager.c +++ b/src/CommandManager.c @@ -1,4 +1,4 @@ -/* CommandManager.c generated by valac 0.32.1, the Vala compiler +/* CommandManager.c generated by valac 0.34.1, the Vala compiler * generated from CommandManager.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Commands.c b/src/Commands.c index a9d9bc5..1e59698 100644 --- a/src/Commands.c +++ b/src/Commands.c @@ -1,4 +1,4 @@ -/* Commands.c generated by valac 0.32.1, the Vala compiler +/* Commands.c generated by valac 0.34.1, the Vala compiler * generated from Commands.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -14570,11 +14570,11 @@ static void reparent_tag_command_on_items_destroyed (ReparentTagCommand* self, G static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 14580 "Commands.c" { @@ -14589,73 +14589,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 14620 "Commands.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 14647 "Commands.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 14661 "Commands.c" } @@ -14663,24 +14663,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch449_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 14675 "Commands.c" } __finally449: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 14686 "Commands.c" } @@ -15981,37 +15981,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 15997 "Commands.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 16005 "Commands.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 16017 "Commands.c" } @@ -16031,112 +16031,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 16041 "Commands.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 16047 "Commands.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 16051 "Commands.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 16055 "Commands.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 16067 "Commands.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 16077 "Commands.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 16083 "Commands.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 16097 "Commands.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 16107 "Commands.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 16113 "Commands.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 16122 "Commands.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 16142 "Commands.c" } diff --git a/src/CustomComponents.c b/src/CustomComponents.c index 053e2fa..f156b46 100644 --- a/src/CustomComponents.c +++ b/src/CustomComponents.c @@ -1,4 +1,4 @@ -/* CustomComponents.c generated by valac 0.32.1, the Vala compiler +/* CustomComponents.c generated by valac 0.34.1, the Vala compiler * generated from CustomComponents.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Debug.c b/src/Debug.c index 9cc7e01..afacca4 100644 --- a/src/Debug.c +++ b/src/Debug.c @@ -1,4 +1,4 @@ -/* Debug.c generated by valac 0.32.1, the Vala compiler +/* Debug.c generated by valac 0.34.1, the Vala compiler * generated from Debug.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -526,13 +526,13 @@ gboolean debug_is_enabled (GLogLevelFlags flag) { static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 538 "Debug.c" } @@ -547,23 +547,23 @@ static gchar* g_time_to_string (struct tm *self) { gint _tmp4_ = 0; gint _tmp5_ = 0; gchar* _tmp6_ = NULL; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = (*self).tm_year; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = (*self).tm_mon; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = (*self).tm_mday; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = (*self).tm_hour; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = (*self).tm_min; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = (*self).tm_sec; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = g_strdup_printf ("%04d-%02d-%02d %02d:%02d:%02d", _tmp0_ + 1900, _tmp1_ + 1, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp6_; -#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 569 "Debug.c" } diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c index f0e3b6d..26190e3 100644 --- a/src/DesktopIntegration.c +++ b/src/DesktopIntegration.c @@ -1,4 +1,4 @@ -/* DesktopIntegration.c generated by valac 0.32.1, the Vala compiler +/* DesktopIntegration.c generated by valac 0.34.1, the Vala compiler * generated from DesktopIntegration.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -484,17 +484,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 500 "DesktopIntegration.c" } @@ -1802,7 +1802,7 @@ void desktop_integration_background_slideshow_xml_builder_open (DesktopIntegrati #line 1803 "DesktopIntegration.c" } #line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp3_ = g_data_output_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OUTPUT_STREAM, GOutputStream)); + _tmp3_ = g_data_output_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_output_stream_get_type (), GOutputStream)); #line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (self->priv->outs); #line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2200,7 +2200,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp7_ = self->priv->outs; #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, G_TYPE_OUTPUT_STREAM, GOutputStream), NULL, &_inner_error_); + g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, g_output_stream_get_type (), GOutputStream), NULL, &_inner_error_); #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" diff --git a/src/Dialogs.c b/src/Dialogs.c index 6928c51..7f02943 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -1,4 +1,4 @@ -/* Dialogs.c generated by valac 0.32.1, the Vala compiler +/* Dialogs.c generated by valac 0.34.1, the Vala compiler * generated from Dialogs.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3885,15 +3885,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3895 "Dialogs.c" } @@ -8683,39 +8683,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 8700 "Dialogs.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8706 "Dialogs.c" } @@ -8843,7 +8843,7 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha #line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21__length1 = _tmp20__length1; #line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_output_stream_write (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, G_TYPE_OUTPUT_STREAM, GOutputStream), _tmp21_, (gsize) _tmp21__length1, NULL, &_inner_error_); + 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" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" @@ -8854,7 +8854,7 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha #line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = outstream; #line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, G_TYPE_OUTPUT_STREAM, GOutputStream), NULL, &_inner_error_); + 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" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" @@ -9882,19 +9882,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 9885 "Dialogs.c" } @@ -9904,17 +9904,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 9905 "Dialogs.c" } @@ -9927,33 +9927,33 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start gunichar _tmp1_ = 0U; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1017 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = c; -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_); -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 9930 "Dialogs.c" gchar* _tmp4_ = NULL; -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 9938 "Dialogs.c" } else { -#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 9944 "Dialogs.c" } @@ -10218,37 +10218,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 10219 "Dialogs.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10227 "Dialogs.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10239 "Dialogs.c" } @@ -10268,112 +10268,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 10263 "Dialogs.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 10269 "Dialogs.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 10273 "Dialogs.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 10277 "Dialogs.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 10289 "Dialogs.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 10299 "Dialogs.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 10305 "Dialogs.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 10335 "Dialogs.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 10344 "Dialogs.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10364 "Dialogs.c" } @@ -13812,13 +13812,13 @@ static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled ( static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 13809 "Dialogs.c" } @@ -14914,35 +14914,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 14933 "Dialogs.c" } diff --git a/src/Dimensions.c b/src/Dimensions.c index 57c20a2..8593eff 100644 --- a/src/Dimensions.c +++ b/src/Dimensions.c @@ -1,4 +1,4 @@ -/* Dimensions.c generated by valac 0.32.1, the Vala compiler +/* Dimensions.c generated by valac 0.34.1, the Vala compiler * generated from Dimensions.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/DirectoryMonitor.c b/src/DirectoryMonitor.c index e451d9d..140736c 100644 --- a/src/DirectoryMonitor.c +++ b/src/DirectoryMonitor.c @@ -1,4 +1,4 @@ -/* DirectoryMonitor.c generated by valac 0.32.1, the Vala compiler +/* DirectoryMonitor.c generated by valac 0.34.1, the Vala compiler * generated from DirectoryMonitor.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Event.c b/src/Event.c index a68abc5..0c3af9b 100644 --- a/src/Event.c +++ b/src/Event.c @@ -1,4 +1,4 @@ -/* Event.c generated by valac 0.32.1, the Vala compiler +/* Event.c generated by valac 0.34.1, the Vala compiler * generated from Event.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -4322,72 +4322,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 4332 "Event.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 4342 "Event.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 4352 "Event.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 4358 "Event.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 4369 "Event.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 4381 "Event.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 4385 "Event.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 4389 "Event.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 4393 "Event.c" gint i = 0; @@ -4410,16 +4410,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 4416 "Event.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 4425 "Event.c" gboolean _tmp11_ = FALSE; @@ -4432,97 +4432,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 4438 "Event.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 4444 "Event.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 4454 "Event.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 4466 "Event.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 4470 "Event.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 4476 "Event.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 4487 "Event.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 4502 "Event.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 4506 "Event.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 4510 "Event.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 4516 "Event.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 4528 "Event.c" gchar** _tmp25_ = NULL; @@ -4531,91 +4531,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 4549 "Event.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 4553 "Event.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 4559 "Event.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 4566 "Event.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4574 "Event.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 4612 "Event.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 4621 "Event.c" gint _tmp48_ = 0; @@ -4631,94 +4631,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 4637 "Event.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 4643 "Event.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 4657 "Event.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 4677 "Event.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 4692 "Event.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 4696 "Event.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 4704 "Event.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4715 "Event.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4724 "Event.c" } @@ -4898,13 +4898,13 @@ static const gchar* event_real_get_indexable_keywords (Indexable* base) { static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 4910 "Event.c" } @@ -5017,43 +5017,45 @@ gboolean event_is_in_starting_day (Event* self, time_t time) { #line 5018 "Event.c" time_t _tmp19_ = 0; #line 621 "/home/jens/Source/shotwell/src/Event.vala" + g_debug ("Event.vala:621: Hour before boundary, shifting back one day"); +#line 622 "/home/jens/Source/shotwell/src/Event.vala" _tmp19_ = start_boundary; -#line 621 "/home/jens/Source/shotwell/src/Event.vala" +#line 622 "/home/jens/Source/shotwell/src/Event.vala" start_boundary = _tmp19_ - EVENT_TIME_T_DAY; -#line 5024 "Event.c" +#line 5026 "Event.c" } -#line 623 "/home/jens/Source/shotwell/src/Event.vala" +#line 625 "/home/jens/Source/shotwell/src/Event.vala" _tmp20_ = start_boundary; -#line 623 "/home/jens/Source/shotwell/src/Event.vala" - end_boundary = (_tmp20_ + EVENT_TIME_T_DAY) - 1; #line 625 "/home/jens/Source/shotwell/src/Event.vala" + end_boundary = (_tmp20_ + EVENT_TIME_T_DAY) - 1; +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp22_ = time; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp23_ = start_boundary; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp22_ >= _tmp23_) { -#line 5036 "Event.c" +#line 5038 "Event.c" time_t _tmp24_ = 0; time_t _tmp25_ = 0; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp24_ = time; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp25_ = end_boundary; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = _tmp24_ <= _tmp25_; -#line 5045 "Event.c" +#line 5047 "Event.c" } else { -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = FALSE; -#line 5049 "Event.c" +#line 5051 "Event.c" } -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp21_; -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (earliest_media); -#line 625 "/home/jens/Source/shotwell/src/Event.vala" +#line 627 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5057 "Event.c" +#line 5059 "Event.c" } @@ -5069,82 +5071,82 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s ViewCollection* _tmp8_ = NULL; gint _tmp9_ = 0; GError * _inner_error_ = NULL; -#line 631 "/home/jens/Source/shotwell/src/Event.vala" +#line 633 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_MEDIA_SOURCE (media), NULL); -#line 631 "/home/jens/Source/shotwell/src/Event.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (events_so_far), NULL); #line 633 "/home/jens/Source/shotwell/src/Event.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (events_so_far), NULL); +#line 635 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = media; -#line 633 "/home/jens/Source/shotwell/src/Event.vala" +#line 635 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = media_source_get_exposure_time (_tmp0_); -#line 633 "/home/jens/Source/shotwell/src/Event.vala" - exposure_time = _tmp1_; #line 635 "/home/jens/Source/shotwell/src/Event.vala" + exposure_time = _tmp1_; +#line 637 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = exposure_time; -#line 635 "/home/jens/Source/shotwell/src/Event.vala" +#line 637 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp3_ == ((time_t) 0)) { -#line 5087 "Event.c" +#line 5089 "Event.c" const gchar* _tmp4_ = NULL; -#line 635 "/home/jens/Source/shotwell/src/Event.vala" +#line 637 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = event_name; -#line 635 "/home/jens/Source/shotwell/src/Event.vala" +#line 637 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = _tmp4_ == NULL; -#line 5093 "Event.c" +#line 5095 "Event.c" } else { -#line 635 "/home/jens/Source/shotwell/src/Event.vala" +#line 637 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = FALSE; -#line 5097 "Event.c" +#line 5099 "Event.c" } -#line 635 "/home/jens/Source/shotwell/src/Event.vala" +#line 637 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp2_) { -#line 5101 "Event.c" +#line 5103 "Event.c" MediaSource* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/Event.vala" +#line 638 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = media; -#line 636 "/home/jens/Source/shotwell/src/Event.vala" +#line 638 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject)); -#line 636 "/home/jens/Source/shotwell/src/Event.vala" +#line 638 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = _tmp6_; -#line 636 "/home/jens/Source/shotwell/src/Event.vala" - g_debug ("Event.vala:636: Skipping event assignment to %s: no exposure time and " \ +#line 638 "/home/jens/Source/shotwell/src/Event.vala" + g_debug ("Event.vala:638: Skipping event assignment to %s: no exposure time and " \ "no event name", _tmp7_); -#line 636 "/home/jens/Source/shotwell/src/Event.vala" +#line 638 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp7_); -#line 637 "/home/jens/Source/shotwell/src/Event.vala" - _vala_new_event = FALSE; #line 639 "/home/jens/Source/shotwell/src/Event.vala" + _vala_new_event = FALSE; +#line 641 "/home/jens/Source/shotwell/src/Event.vala" result = NULL; -#line 639 "/home/jens/Source/shotwell/src/Event.vala" +#line 641 "/home/jens/Source/shotwell/src/Event.vala" if (new_event) { -#line 639 "/home/jens/Source/shotwell/src/Event.vala" +#line 641 "/home/jens/Source/shotwell/src/Event.vala" *new_event = _vala_new_event; -#line 5123 "Event.c" +#line 5125 "Event.c" } -#line 639 "/home/jens/Source/shotwell/src/Event.vala" +#line 641 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5127 "Event.c" +#line 5129 "Event.c" } -#line 642 "/home/jens/Source/shotwell/src/Event.vala" +#line 644 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = events_so_far; -#line 642 "/home/jens/Source/shotwell/src/Event.vala" +#line 644 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_COLLECTION, DataCollection)); -#line 642 "/home/jens/Source/shotwell/src/Event.vala" +#line 644 "/home/jens/Source/shotwell/src/Event.vala" count = _tmp9_; -#line 5135 "Event.c" +#line 5137 "Event.c" { gint ctr = 0; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" ctr = 0; -#line 5140 "Event.c" +#line 5142 "Event.c" { gboolean _tmp10_ = FALSE; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = TRUE; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" while (TRUE) { -#line 5147 "Event.c" +#line 5149 "Event.c" gint _tmp12_ = 0; gint _tmp13_ = 0; Event* event = NULL; @@ -5158,126 +5160,126 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s gboolean _tmp21_ = FALSE; gboolean _tmp22_ = FALSE; const gchar* _tmp23_ = NULL; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" if (!_tmp10_) { -#line 5163 "Event.c" +#line 5165 "Event.c" gint _tmp11_ = 0; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = ctr; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" ctr = _tmp11_ + 1; -#line 5169 "Event.c" +#line 5171 "Event.c" } -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = FALSE; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = ctr; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = count; -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" if (!(_tmp12_ < _tmp13_)) { -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" break; -#line 5181 "Event.c" +#line 5183 "Event.c" } -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = events_so_far; -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = ctr; -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp16_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection), _tmp15_); -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_EVENT_VIEW, EventView); -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp18_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_VIEW, DataView)); -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _tmp19_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_EVENT, Event); -#line 644 "/home/jens/Source/shotwell/src/Event.vala" +#line 646 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp17_); -#line 644 "/home/jens/Source/shotwell/src/Event.vala" - event = _tmp19_; #line 646 "/home/jens/Source/shotwell/src/Event.vala" + event = _tmp19_; +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp23_ = event_name; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp23_ != NULL) { -#line 5203 "Event.c" +#line 5205 "Event.c" Event* _tmp24_ = NULL; gboolean _tmp25_ = FALSE; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp24_ = event; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp25_ = event_has_name (_tmp24_); -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp22_ = _tmp25_; -#line 5212 "Event.c" +#line 5214 "Event.c" } else { -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp22_ = FALSE; -#line 5216 "Event.c" +#line 5218 "Event.c" } -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp22_) { -#line 5220 "Event.c" +#line 5222 "Event.c" const gchar* _tmp26_ = NULL; Event* _tmp27_ = NULL; gchar* _tmp28_ = NULL; gchar* _tmp29_ = NULL; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp26_ = event_name; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp27_ = event; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp28_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_DATA_OBJECT, DataObject)); -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp29_ = _tmp28_; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = g_strcmp0 (_tmp26_, _tmp29_) == 0; -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp29_); -#line 5237 "Event.c" +#line 5239 "Event.c" } else { -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = FALSE; -#line 5241 "Event.c" +#line 5243 "Event.c" } -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp21_) { -#line 646 "/home/jens/Source/shotwell/src/Event.vala" +#line 648 "/home/jens/Source/shotwell/src/Event.vala" _tmp20_ = TRUE; -#line 5247 "Event.c" +#line 5249 "Event.c" } else { Event* _tmp30_ = NULL; time_t _tmp31_ = 0; gboolean _tmp32_ = FALSE; -#line 647 "/home/jens/Source/shotwell/src/Event.vala" +#line 649 "/home/jens/Source/shotwell/src/Event.vala" _tmp30_ = event; -#line 647 "/home/jens/Source/shotwell/src/Event.vala" +#line 649 "/home/jens/Source/shotwell/src/Event.vala" _tmp31_ = exposure_time; -#line 647 "/home/jens/Source/shotwell/src/Event.vala" +#line 649 "/home/jens/Source/shotwell/src/Event.vala" _tmp32_ = event_is_in_starting_day (_tmp30_, _tmp31_); -#line 647 "/home/jens/Source/shotwell/src/Event.vala" +#line 649 "/home/jens/Source/shotwell/src/Event.vala" _tmp20_ = _tmp32_; -#line 5260 "Event.c" +#line 5262 "Event.c" } -#line 646 "/home/jens/Source/shotwell/src/Event.vala" - if (_tmp20_) { #line 648 "/home/jens/Source/shotwell/src/Event.vala" - _vala_new_event = FALSE; + if (_tmp20_) { #line 650 "/home/jens/Source/shotwell/src/Event.vala" + _vala_new_event = FALSE; +#line 652 "/home/jens/Source/shotwell/src/Event.vala" result = event; -#line 650 "/home/jens/Source/shotwell/src/Event.vala" +#line 652 "/home/jens/Source/shotwell/src/Event.vala" if (new_event) { -#line 650 "/home/jens/Source/shotwell/src/Event.vala" +#line 652 "/home/jens/Source/shotwell/src/Event.vala" *new_event = _vala_new_event; -#line 5272 "Event.c" +#line 5274 "Event.c" } -#line 650 "/home/jens/Source/shotwell/src/Event.vala" +#line 652 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5276 "Event.c" +#line 5278 "Event.c" } -#line 643 "/home/jens/Source/shotwell/src/Event.vala" +#line 645 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 5280 "Event.c" +#line 5282 "Event.c" } } } @@ -5297,129 +5299,129 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s Event* _tmp46_ = NULL; EventView* _tmp47_ = NULL; EventView* _tmp48_ = NULL; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp34_ = event_table_get_instance (); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp35_ = _tmp34_; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp36_ = media; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp37_ = data_source_get_source_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_DATA_SOURCE, DataSource)); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp38_ = _tmp37_; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp39_ = event_table_create (_tmp35_, _tmp38_, NULL, &_inner_error_); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp40_ = _tmp39_; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp38_); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _database_table_unref0 (_tmp35_); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp33_ = _tmp40_; -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 5324 "Event.c" +#line 5326 "Event.c" goto __catch429_database_error; } -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#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); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" g_clear_error (&_inner_error_); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" return NULL; -#line 5333 "Event.c" +#line 5335 "Event.c" } -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" _tmp41_ = event_new (_tmp33_, DATA_OBJECT_INVALID_OBJECT_ID); -#line 656 "/home/jens/Source/shotwell/src/Event.vala" +#line 658 "/home/jens/Source/shotwell/src/Event.vala" event = _tmp41_; -#line 657 "/home/jens/Source/shotwell/src/Event.vala" +#line 659 "/home/jens/Source/shotwell/src/Event.vala" _tmp42_ = event_name; -#line 657 "/home/jens/Source/shotwell/src/Event.vala" +#line 659 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp42_ != NULL) { -#line 5343 "Event.c" +#line 5345 "Event.c" Event* _tmp43_ = NULL; const gchar* _tmp44_ = NULL; -#line 658 "/home/jens/Source/shotwell/src/Event.vala" +#line 660 "/home/jens/Source/shotwell/src/Event.vala" _tmp43_ = event; -#line 658 "/home/jens/Source/shotwell/src/Event.vala" +#line 660 "/home/jens/Source/shotwell/src/Event.vala" _tmp44_ = event_name; -#line 658 "/home/jens/Source/shotwell/src/Event.vala" +#line 660 "/home/jens/Source/shotwell/src/Event.vala" event_rename (_tmp43_, _tmp44_); -#line 5352 "Event.c" +#line 5354 "Event.c" } -#line 660 "/home/jens/Source/shotwell/src/Event.vala" +#line 662 "/home/jens/Source/shotwell/src/Event.vala" _tmp45_ = events_so_far; -#line 660 "/home/jens/Source/shotwell/src/Event.vala" +#line 662 "/home/jens/Source/shotwell/src/Event.vala" _tmp46_ = event; -#line 660 "/home/jens/Source/shotwell/src/Event.vala" +#line 662 "/home/jens/Source/shotwell/src/Event.vala" _tmp47_ = event_view_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_EVENT_SOURCE, EventSource)); -#line 660 "/home/jens/Source/shotwell/src/Event.vala" +#line 662 "/home/jens/Source/shotwell/src/Event.vala" _tmp48_ = _tmp47_; -#line 660 "/home/jens/Source/shotwell/src/Event.vala" +#line 662 "/home/jens/Source/shotwell/src/Event.vala" data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_DATA_OBJECT, DataObject)); -#line 660 "/home/jens/Source/shotwell/src/Event.vala" - _g_object_unref0 (_tmp48_); #line 662 "/home/jens/Source/shotwell/src/Event.vala" + _g_object_unref0 (_tmp48_); +#line 664 "/home/jens/Source/shotwell/src/Event.vala" _vala_new_event = TRUE; -#line 663 "/home/jens/Source/shotwell/src/Event.vala" +#line 665 "/home/jens/Source/shotwell/src/Event.vala" result = event; -#line 663 "/home/jens/Source/shotwell/src/Event.vala" +#line 665 "/home/jens/Source/shotwell/src/Event.vala" _event_row_unref0 (_tmp33_); -#line 663 "/home/jens/Source/shotwell/src/Event.vala" +#line 665 "/home/jens/Source/shotwell/src/Event.vala" if (new_event) { -#line 663 "/home/jens/Source/shotwell/src/Event.vala" +#line 665 "/home/jens/Source/shotwell/src/Event.vala" *new_event = _vala_new_event; -#line 5376 "Event.c" +#line 5378 "Event.c" } -#line 663 "/home/jens/Source/shotwell/src/Event.vala" +#line 665 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5380 "Event.c" +#line 5382 "Event.c" } goto __finally429; __catch429_database_error: { GError* err = NULL; GError* _tmp49_ = NULL; -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" err = _inner_error_; -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" _inner_error_ = NULL; -#line 665 "/home/jens/Source/shotwell/src/Event.vala" +#line 667 "/home/jens/Source/shotwell/src/Event.vala" _tmp49_ = err; -#line 665 "/home/jens/Source/shotwell/src/Event.vala" +#line 667 "/home/jens/Source/shotwell/src/Event.vala" app_window_database_error (_tmp49_); -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" _g_error_free0 (err); -#line 5397 "Event.c" +#line 5399 "Event.c" } __finally429: -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/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 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" g_clear_error (&_inner_error_); -#line 655 "/home/jens/Source/shotwell/src/Event.vala" +#line 657 "/home/jens/Source/shotwell/src/Event.vala" return NULL; -#line 5408 "Event.c" +#line 5410 "Event.c" } -#line 668 "/home/jens/Source/shotwell/src/Event.vala" - _vala_new_event = FALSE; #line 670 "/home/jens/Source/shotwell/src/Event.vala" + _vala_new_event = FALSE; +#line 672 "/home/jens/Source/shotwell/src/Event.vala" result = NULL; -#line 670 "/home/jens/Source/shotwell/src/Event.vala" +#line 672 "/home/jens/Source/shotwell/src/Event.vala" if (new_event) { -#line 670 "/home/jens/Source/shotwell/src/Event.vala" +#line 672 "/home/jens/Source/shotwell/src/Event.vala" *new_event = _vala_new_event; -#line 5418 "Event.c" +#line 5420 "Event.c" } -#line 670 "/home/jens/Source/shotwell/src/Event.vala" +#line 672 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5422 "Event.c" +#line 5424 "Event.c" } @@ -5439,72 +5441,72 @@ void event_generate_single_event (MediaSource* media, ViewCollection* events_so_ MediaSource* _tmp10_ = NULL; Event* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 673 "/home/jens/Source/shotwell/src/Event.vala" +#line 675 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_MEDIA_SOURCE (media)); -#line 673 "/home/jens/Source/shotwell/src/Event.vala" +#line 675 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_VIEW_COLLECTION (events_so_far)); -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = media; -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = media_source_get_event (_tmp0_); -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = _tmp1_; -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _tmp2_ != NULL; -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp2_); -#line 676 "/home/jens/Source/shotwell/src/Event.vala" +#line 678 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp3_) { -#line 677 "/home/jens/Source/shotwell/src/Event.vala" +#line 679 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 5460 "Event.c" +#line 5462 "Event.c" } -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = media; -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = events_so_far; -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = event_name; -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = event_generate_event (_tmp4_, _tmp5_, _tmp6_, &_tmp7_); -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" new_event = _tmp7_; -#line 680 "/home/jens/Source/shotwell/src/Event.vala" +#line 682 "/home/jens/Source/shotwell/src/Event.vala" event = _tmp8_; -#line 681 "/home/jens/Source/shotwell/src/Event.vala" +#line 683 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = event; -#line 681 "/home/jens/Source/shotwell/src/Event.vala" +#line 683 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp9_ == NULL) { -#line 682 "/home/jens/Source/shotwell/src/Event.vala" +#line 684 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 682 "/home/jens/Source/shotwell/src/Event.vala" +#line 684 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 5482 "Event.c" +#line 5484 "Event.c" } -#line 684 "/home/jens/Source/shotwell/src/Event.vala" +#line 686 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = media; -#line 684 "/home/jens/Source/shotwell/src/Event.vala" +#line 686 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = event; -#line 684 "/home/jens/Source/shotwell/src/Event.vala" - media_source_set_event (_tmp10_, _tmp11_); #line 686 "/home/jens/Source/shotwell/src/Event.vala" + media_source_set_event (_tmp10_, _tmp11_); +#line 688 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = new_event; -#line 686 "/home/jens/Source/shotwell/src/Event.vala" +#line 688 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp12_) { -#line 5494 "Event.c" +#line 5496 "Event.c" EventSourceCollection* _tmp13_ = NULL; Event* _tmp14_ = NULL; -#line 687 "/home/jens/Source/shotwell/src/Event.vala" +#line 689 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = event_global; -#line 687 "/home/jens/Source/shotwell/src/Event.vala" +#line 689 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = event; -#line 687 "/home/jens/Source/shotwell/src/Event.vala" +#line 689 "/home/jens/Source/shotwell/src/Event.vala" data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); -#line 5503 "Event.c" +#line 5505 "Event.c" } -#line 673 "/home/jens/Source/shotwell/src/Event.vala" +#line 675 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 5507 "Event.c" +#line 5509 "Event.c" } @@ -5514,28 +5516,28 @@ void event_generate_many_events (GeeCollection* sources, ViewCollection* events_ GeeCollection* _tmp21_ = NULL; gint _tmp22_ = 0; gint _tmp23_ = 0; -#line 690 "/home/jens/Source/shotwell/src/Event.vala" +#line 692 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (GEE_IS_COLLECTION (sources)); -#line 690 "/home/jens/Source/shotwell/src/Event.vala" +#line 692 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_VIEW_COLLECTION (events_so_far)); -#line 691 "/home/jens/Source/shotwell/src/Event.vala" +#line 693 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = gee_array_list_new (TYPE_EVENT, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 691 "/home/jens/Source/shotwell/src/Event.vala" +#line 693 "/home/jens/Source/shotwell/src/Event.vala" to_add = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection); -#line 5525 "Event.c" +#line 5527 "Event.c" { GeeIterator* _media_it = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = sources; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _media_it = _tmp2_; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" while (TRUE) { -#line 5538 "Event.c" +#line 5540 "Event.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; MediaSource* media = NULL; @@ -5555,135 +5557,135 @@ void event_generate_many_events (GeeCollection* sources, ViewCollection* events_ MediaSource* _tmp16_ = NULL; Event* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _media_it; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" if (!_tmp4_) { -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" break; -#line 5566 "Event.c" +#line 5568 "Event.c" } -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = _media_it; -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 692 "/home/jens/Source/shotwell/src/Event.vala" - media = (MediaSource*) _tmp6_; #line 694 "/home/jens/Source/shotwell/src/Event.vala" + media = (MediaSource*) _tmp6_; +#line 696 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = media; -#line 694 "/home/jens/Source/shotwell/src/Event.vala" +#line 696 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = media_source_get_event (_tmp7_); -#line 694 "/home/jens/Source/shotwell/src/Event.vala" +#line 696 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = _tmp8_; -#line 694 "/home/jens/Source/shotwell/src/Event.vala" +#line 696 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = _tmp9_ != NULL; -#line 694 "/home/jens/Source/shotwell/src/Event.vala" +#line 696 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp9_); -#line 694 "/home/jens/Source/shotwell/src/Event.vala" +#line 696 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp10_) { -#line 695 "/home/jens/Source/shotwell/src/Event.vala" +#line 697 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (media); -#line 695 "/home/jens/Source/shotwell/src/Event.vala" +#line 697 "/home/jens/Source/shotwell/src/Event.vala" continue; -#line 5590 "Event.c" +#line 5592 "Event.c" } -#line 698 "/home/jens/Source/shotwell/src/Event.vala" +#line 700 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = media; -#line 698 "/home/jens/Source/shotwell/src/Event.vala" +#line 700 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = events_so_far; -#line 698 "/home/jens/Source/shotwell/src/Event.vala" +#line 700 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = event_generate_event (_tmp11_, _tmp12_, NULL, &_tmp13_); -#line 698 "/home/jens/Source/shotwell/src/Event.vala" +#line 700 "/home/jens/Source/shotwell/src/Event.vala" new_event = _tmp13_; -#line 698 "/home/jens/Source/shotwell/src/Event.vala" +#line 700 "/home/jens/Source/shotwell/src/Event.vala" event = _tmp14_; -#line 699 "/home/jens/Source/shotwell/src/Event.vala" +#line 701 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = event; -#line 699 "/home/jens/Source/shotwell/src/Event.vala" +#line 701 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp15_ == NULL) { -#line 700 "/home/jens/Source/shotwell/src/Event.vala" +#line 702 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 700 "/home/jens/Source/shotwell/src/Event.vala" +#line 702 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (media); -#line 700 "/home/jens/Source/shotwell/src/Event.vala" +#line 702 "/home/jens/Source/shotwell/src/Event.vala" continue; -#line 5612 "Event.c" +#line 5614 "Event.c" } -#line 702 "/home/jens/Source/shotwell/src/Event.vala" +#line 704 "/home/jens/Source/shotwell/src/Event.vala" _tmp16_ = media; -#line 702 "/home/jens/Source/shotwell/src/Event.vala" +#line 704 "/home/jens/Source/shotwell/src/Event.vala" _tmp17_ = event; -#line 702 "/home/jens/Source/shotwell/src/Event.vala" - media_source_set_event (_tmp16_, _tmp17_); #line 704 "/home/jens/Source/shotwell/src/Event.vala" + media_source_set_event (_tmp16_, _tmp17_); +#line 706 "/home/jens/Source/shotwell/src/Event.vala" _tmp18_ = new_event; -#line 704 "/home/jens/Source/shotwell/src/Event.vala" +#line 706 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp18_) { -#line 5624 "Event.c" +#line 5626 "Event.c" GeeCollection* _tmp19_ = NULL; Event* _tmp20_ = NULL; -#line 705 "/home/jens/Source/shotwell/src/Event.vala" +#line 707 "/home/jens/Source/shotwell/src/Event.vala" _tmp19_ = to_add; -#line 705 "/home/jens/Source/shotwell/src/Event.vala" +#line 707 "/home/jens/Source/shotwell/src/Event.vala" _tmp20_ = event; -#line 705 "/home/jens/Source/shotwell/src/Event.vala" +#line 707 "/home/jens/Source/shotwell/src/Event.vala" gee_collection_add (_tmp19_, _tmp20_); -#line 5633 "Event.c" +#line 5635 "Event.c" } -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (media); -#line 5639 "Event.c" +#line 5641 "Event.c" } -#line 692 "/home/jens/Source/shotwell/src/Event.vala" +#line 694 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_media_it); -#line 5643 "Event.c" +#line 5645 "Event.c" } -#line 708 "/home/jens/Source/shotwell/src/Event.vala" +#line 710 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = to_add; -#line 708 "/home/jens/Source/shotwell/src/Event.vala" +#line 710 "/home/jens/Source/shotwell/src/Event.vala" _tmp22_ = gee_collection_get_size (_tmp21_); -#line 708 "/home/jens/Source/shotwell/src/Event.vala" +#line 710 "/home/jens/Source/shotwell/src/Event.vala" _tmp23_ = _tmp22_; -#line 708 "/home/jens/Source/shotwell/src/Event.vala" +#line 710 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp23_ > 0) { -#line 5653 "Event.c" +#line 5655 "Event.c" EventSourceCollection* _tmp24_ = NULL; GeeCollection* _tmp25_ = NULL; GeeCollection* _tmp26_ = NULL; GeeCollection* _tmp27_ = NULL; -#line 709 "/home/jens/Source/shotwell/src/Event.vala" +#line 711 "/home/jens/Source/shotwell/src/Event.vala" _tmp24_ = event_global; -#line 709 "/home/jens/Source/shotwell/src/Event.vala" +#line 711 "/home/jens/Source/shotwell/src/Event.vala" _tmp25_ = to_add; -#line 709 "/home/jens/Source/shotwell/src/Event.vala" +#line 711 "/home/jens/Source/shotwell/src/Event.vala" _tmp26_ = data_collection_add_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_COLLECTION, DataCollection), _tmp25_, NULL, NULL); -#line 709 "/home/jens/Source/shotwell/src/Event.vala" +#line 711 "/home/jens/Source/shotwell/src/Event.vala" _tmp27_ = _tmp26_; -#line 709 "/home/jens/Source/shotwell/src/Event.vala" +#line 711 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp27_); -#line 5668 "Event.c" +#line 5670 "Event.c" } -#line 690 "/home/jens/Source/shotwell/src/Event.vala" +#line 692 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (to_add); -#line 5672 "Event.c" +#line 5674 "Event.c" } void event_get_event_id (Event* self, EventID* result) { EventID _tmp0_ = {0}; -#line 712 "/home/jens/Source/shotwell/src/Event.vala" +#line 714 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_EVENT (self)); -#line 713 "/home/jens/Source/shotwell/src/Event.vala" +#line 715 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->event_id; -#line 713 "/home/jens/Source/shotwell/src/Event.vala" +#line 715 "/home/jens/Source/shotwell/src/Event.vala" *result = _tmp0_; -#line 713 "/home/jens/Source/shotwell/src/Event.vala" +#line 715 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 5686 "Event.c" +#line 5688 "Event.c" } @@ -5691,15 +5693,15 @@ static SourceSnapshot* event_real_save_snapshot (DataSource* base) { Event * self; SourceSnapshot* result = NULL; EventEventSnapshot* _tmp0_ = NULL; -#line 716 "/home/jens/Source/shotwell/src/Event.vala" +#line 718 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 717 "/home/jens/Source/shotwell/src/Event.vala" +#line 719 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_event_snapshot_new (self); -#line 717 "/home/jens/Source/shotwell/src/Event.vala" +#line 719 "/home/jens/Source/shotwell/src/Event.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_SNAPSHOT, SourceSnapshot); -#line 717 "/home/jens/Source/shotwell/src/Event.vala" +#line 719 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5702 "Event.c" +#line 5704 "Event.c" } @@ -5707,15 +5709,15 @@ static SourceProxy* event_real_get_proxy (Proxyable* base) { Event * self; SourceProxy* result = NULL; EventEventProxy* _tmp0_ = NULL; -#line 720 "/home/jens/Source/shotwell/src/Event.vala" +#line 722 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 721 "/home/jens/Source/shotwell/src/Event.vala" +#line 723 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_event_proxy_new (self); -#line 721 "/home/jens/Source/shotwell/src/Event.vala" +#line 723 "/home/jens/Source/shotwell/src/Event.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_PROXY, SourceProxy); -#line 721 "/home/jens/Source/shotwell/src/Event.vala" +#line 723 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5718 "Event.c" +#line 5720 "Event.c" } @@ -5728,58 +5730,58 @@ static gboolean event_real_equals (DataSource* base, DataSource* source) { Event* _tmp2_ = NULL; DataSource* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 724 "/home/jens/Source/shotwell/src/Event.vala" +#line 726 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 724 "/home/jens/Source/shotwell/src/Event.vala" - g_return_val_if_fail ((source == NULL) || IS_DATA_SOURCE (source), FALSE); #line 726 "/home/jens/Source/shotwell/src/Event.vala" + g_return_val_if_fail ((source == NULL) || IS_DATA_SOURCE (source), FALSE); +#line 728 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = source; -#line 726 "/home/jens/Source/shotwell/src/Event.vala" +#line 728 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_EVENT) ? ((Event*) _tmp0_) : NULL); -#line 726 "/home/jens/Source/shotwell/src/Event.vala" +#line 728 "/home/jens/Source/shotwell/src/Event.vala" event = _tmp1_; -#line 727 "/home/jens/Source/shotwell/src/Event.vala" +#line 729 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = event; -#line 727 "/home/jens/Source/shotwell/src/Event.vala" +#line 729 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp2_ != NULL) { -#line 5745 "Event.c" +#line 5747 "Event.c" Event* _tmp3_ = NULL; -#line 728 "/home/jens/Source/shotwell/src/Event.vala" +#line 730 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = event; -#line 728 "/home/jens/Source/shotwell/src/Event.vala" +#line 730 "/home/jens/Source/shotwell/src/Event.vala" if (self != _tmp3_) { -#line 5751 "Event.c" +#line 5753 "Event.c" EventID _tmp4_ = {0}; gint64 _tmp5_ = 0LL; Event* _tmp6_ = NULL; EventID _tmp7_ = {0}; gint64 _tmp8_ = 0LL; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = self->priv->event_id; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = _tmp4_.id; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = event; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = _tmp6_->priv->event_id; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = _tmp7_.id; -#line 729 "/home/jens/Source/shotwell/src/Event.vala" +#line 731 "/home/jens/Source/shotwell/src/Event.vala" _vala_assert (_tmp5_ != _tmp8_, "event_id.id != event.event_id.id"); -#line 5769 "Event.c" +#line 5771 "Event.c" } } -#line 733 "/home/jens/Source/shotwell/src/Event.vala" +#line 735 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = source; -#line 733 "/home/jens/Source/shotwell/src/Event.vala" +#line 735 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = DATA_SOURCE_CLASS (event_parent_class)->equals (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource), TYPE_DATA_SOURCE, DataSource), _tmp9_); -#line 733 "/home/jens/Source/shotwell/src/Event.vala" +#line 735 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp10_; -#line 733 "/home/jens/Source/shotwell/src/Event.vala" +#line 735 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (event); -#line 733 "/home/jens/Source/shotwell/src/Event.vala" +#line 735 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5782 "Event.c" +#line 5784 "Event.c" } @@ -5797,41 +5799,41 @@ static gchar* event_real_to_string (DataObject* base) { gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; -#line 736 "/home/jens/Source/shotwell/src/Event.vala" +#line 738 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->event_id; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = _tmp0_.id; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp1_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _tmp2_; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = data_object_get_object_id (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp4_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = _tmp5_; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = _tmp7_; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = g_strdup_printf ("Event [%s/%s] %s", _tmp3_, _tmp6_, _tmp8_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = _tmp9_; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp8_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp6_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp3_); -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp10_; -#line 737 "/home/jens/Source/shotwell/src/Event.vala" +#line 739 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5834 "Event.c" +#line 5836 "Event.c" } @@ -5839,35 +5841,35 @@ gboolean event_has_name (Event* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; const gchar* _tmp1_ = NULL; -#line 740 "/home/jens/Source/shotwell/src/Event.vala" +#line 742 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), FALSE); -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = self->priv->raw_name; -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp1_ != NULL) { -#line 5848 "Event.c" +#line 5850 "Event.c" const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = self->priv->raw_name; -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = strlen (_tmp2_); -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = _tmp3_; -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = _tmp4_ > 0; -#line 5860 "Event.c" +#line 5862 "Event.c" } else { -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = FALSE; -#line 5864 "Event.c" +#line 5866 "Event.c" } -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp0_; -#line 741 "/home/jens/Source/shotwell/src/Event.vala" +#line 743 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5870 "Event.c" +#line 5872 "Event.c" } @@ -5880,44 +5882,44 @@ static gchar* event_real_get_name (DataObject* base) { gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 744 "/home/jens/Source/shotwell/src/Event.vala" +#line 746 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 745 "/home/jens/Source/shotwell/src/Event.vala" +#line 747 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_has_name (self); -#line 745 "/home/jens/Source/shotwell/src/Event.vala" +#line 747 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp0_) { -#line 5889 "Event.c" +#line 5891 "Event.c" gchar* _tmp1_ = NULL; -#line 746 "/home/jens/Source/shotwell/src/Event.vala" +#line 748 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = event_get_raw_name (self); -#line 746 "/home/jens/Source/shotwell/src/Event.vala" +#line 748 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp1_; -#line 746 "/home/jens/Source/shotwell/src/Event.vala" +#line 748 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5897 "Event.c" +#line 5899 "Event.c" } -#line 749 "/home/jens/Source/shotwell/src/Event.vala" +#line 751 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = event_get_formatted_daterange (self); -#line 749 "/home/jens/Source/shotwell/src/Event.vala" - datestring = _tmp2_; #line 751 "/home/jens/Source/shotwell/src/Event.vala" + datestring = _tmp2_; +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = datestring; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = is_string_empty (_tmp4_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" if (!_tmp5_) { -#line 5909 "Event.c" +#line 5911 "Event.c" const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = datestring; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = g_strdup (_tmp6_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp3_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _tmp7_; -#line 5920 "Event.c" +#line 5922 "Event.c" } else { const gchar* _tmp8_ = NULL; EventID _tmp9_ = {0}; @@ -5925,33 +5927,33 @@ static gchar* event_real_get_name (DataObject* base) { gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = _ ("Event %s"); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = self->priv->event_id; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = _tmp9_.id; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp10_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = _tmp11_; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = g_strdup_printf (_tmp8_, _tmp12_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp3_); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _tmp13_; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp12_); -#line 5946 "Event.c" +#line 5948 "Event.c" } -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp3_; -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (datestring); -#line 751 "/home/jens/Source/shotwell/src/Event.vala" +#line 753 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 5954 "Event.c" +#line 5956 "Event.c" } @@ -5980,169 +5982,169 @@ gchar* event_get_formatted_daterange (Event* self) { struct tm _tmp32_ = {0}; struct tm _tmp33_ = {0}; gchar* _tmp34_ = NULL; -#line 754 "/home/jens/Source/shotwell/src/Event.vala" +#line 756 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), NULL); -#line 755 "/home/jens/Source/shotwell/src/Event.vala" +#line 757 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_source_get_start_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource)); -#line 755 "/home/jens/Source/shotwell/src/Event.vala" +#line 757 "/home/jens/Source/shotwell/src/Event.vala" start_time = _tmp0_; -#line 756 "/home/jens/Source/shotwell/src/Event.vala" +#line 758 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = event_source_get_end_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource)); -#line 756 "/home/jens/Source/shotwell/src/Event.vala" - end_time = _tmp1_; #line 758 "/home/jens/Source/shotwell/src/Event.vala" + end_time = _tmp1_; +#line 760 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = end_time; -#line 758 "/home/jens/Source/shotwell/src/Event.vala" +#line 760 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp3_ == ((time_t) 0)) { -#line 5997 "Event.c" +#line 5999 "Event.c" time_t _tmp4_ = 0; -#line 758 "/home/jens/Source/shotwell/src/Event.vala" +#line 760 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = start_time; -#line 758 "/home/jens/Source/shotwell/src/Event.vala" +#line 760 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = _tmp4_ == ((time_t) 0); -#line 6003 "Event.c" +#line 6005 "Event.c" } else { -#line 758 "/home/jens/Source/shotwell/src/Event.vala" +#line 760 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = FALSE; -#line 6007 "Event.c" +#line 6009 "Event.c" } -#line 758 "/home/jens/Source/shotwell/src/Event.vala" +#line 760 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp2_) { -#line 759 "/home/jens/Source/shotwell/src/Event.vala" +#line 761 "/home/jens/Source/shotwell/src/Event.vala" result = NULL; -#line 759 "/home/jens/Source/shotwell/src/Event.vala" +#line 761 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6015 "Event.c" +#line 6017 "Event.c" } -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = end_time; -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp6_ == ((time_t) 0)) { -#line 6021 "Event.c" +#line 6023 "Event.c" time_t _tmp7_ = 0; -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = start_time; -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = _tmp7_ != ((time_t) 0); -#line 6027 "Event.c" +#line 6029 "Event.c" } else { -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = FALSE; -#line 6031 "Event.c" +#line 6033 "Event.c" } -#line 761 "/home/jens/Source/shotwell/src/Event.vala" +#line 763 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp5_) { -#line 6035 "Event.c" +#line 6037 "Event.c" time_t _tmp8_ = 0; struct tm _tmp9_ = {0}; gchar* _tmp10_ = NULL; -#line 762 "/home/jens/Source/shotwell/src/Event.vala" +#line 764 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = start_time; -#line 762 "/home/jens/Source/shotwell/src/Event.vala" +#line 764 "/home/jens/Source/shotwell/src/Event.vala" g_time_local (_tmp8_, &_tmp9_); -#line 762 "/home/jens/Source/shotwell/src/Event.vala" +#line 764 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = format_local_date (&_tmp9_); -#line 762 "/home/jens/Source/shotwell/src/Event.vala" +#line 764 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp10_; -#line 762 "/home/jens/Source/shotwell/src/Event.vala" +#line 764 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6049 "Event.c" +#line 6051 "Event.c" } -#line 764 "/home/jens/Source/shotwell/src/Event.vala" +#line 766 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = start_time; -#line 764 "/home/jens/Source/shotwell/src/Event.vala" +#line 766 "/home/jens/Source/shotwell/src/Event.vala" g_time_local (_tmp11_, &_tmp12_); -#line 764 "/home/jens/Source/shotwell/src/Event.vala" +#line 766 "/home/jens/Source/shotwell/src/Event.vala" start = _tmp12_; -#line 765 "/home/jens/Source/shotwell/src/Event.vala" +#line 767 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = end_time; -#line 765 "/home/jens/Source/shotwell/src/Event.vala" +#line 767 "/home/jens/Source/shotwell/src/Event.vala" g_time_local (_tmp13_, &_tmp14_); -#line 765 "/home/jens/Source/shotwell/src/Event.vala" - end = _tmp14_; #line 767 "/home/jens/Source/shotwell/src/Event.vala" + end = _tmp14_; +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp17_ = start; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp18_ = _tmp17_.tm_mday; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp19_ = end; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp20_ = _tmp19_.tm_mday; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp18_ == _tmp20_) { -#line 6073 "Event.c" +#line 6075 "Event.c" struct tm _tmp21_ = {0}; gint _tmp22_ = 0; struct tm _tmp23_ = {0}; gint _tmp24_ = 0; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp21_ = start; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp22_ = _tmp21_.tm_mon; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp23_ = end; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp24_ = _tmp23_.tm_mon; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp16_ = _tmp22_ == _tmp24_; -#line 6088 "Event.c" +#line 6090 "Event.c" } else { -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp16_ = FALSE; -#line 6092 "Event.c" +#line 6094 "Event.c" } -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp16_) { -#line 6096 "Event.c" +#line 6098 "Event.c" struct tm _tmp25_ = {0}; gint _tmp26_ = 0; struct tm _tmp27_ = {0}; gint _tmp28_ = 0; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp25_ = start; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp26_ = _tmp25_.tm_mday; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp27_ = end; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp28_ = _tmp27_.tm_mday; -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = _tmp26_ == _tmp28_; -#line 6111 "Event.c" +#line 6113 "Event.c" } else { -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = FALSE; -#line 6115 "Event.c" +#line 6117 "Event.c" } -#line 767 "/home/jens/Source/shotwell/src/Event.vala" +#line 769 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp15_) { -#line 6119 "Event.c" +#line 6121 "Event.c" time_t _tmp29_ = 0; struct tm _tmp30_ = {0}; gchar* _tmp31_ = NULL; -#line 768 "/home/jens/Source/shotwell/src/Event.vala" +#line 770 "/home/jens/Source/shotwell/src/Event.vala" _tmp29_ = start_time; -#line 768 "/home/jens/Source/shotwell/src/Event.vala" +#line 770 "/home/jens/Source/shotwell/src/Event.vala" g_time_local (_tmp29_, &_tmp30_); -#line 768 "/home/jens/Source/shotwell/src/Event.vala" +#line 770 "/home/jens/Source/shotwell/src/Event.vala" _tmp31_ = format_local_date (&_tmp30_); -#line 768 "/home/jens/Source/shotwell/src/Event.vala" +#line 770 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp31_; -#line 768 "/home/jens/Source/shotwell/src/Event.vala" +#line 770 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6133 "Event.c" +#line 6135 "Event.c" } -#line 770 "/home/jens/Source/shotwell/src/Event.vala" +#line 772 "/home/jens/Source/shotwell/src/Event.vala" _tmp32_ = start; -#line 770 "/home/jens/Source/shotwell/src/Event.vala" +#line 772 "/home/jens/Source/shotwell/src/Event.vala" _tmp33_ = end; -#line 770 "/home/jens/Source/shotwell/src/Event.vala" +#line 772 "/home/jens/Source/shotwell/src/Event.vala" _tmp34_ = format_local_datespan (&_tmp32_, &_tmp33_); -#line 770 "/home/jens/Source/shotwell/src/Event.vala" +#line 772 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp34_; -#line 770 "/home/jens/Source/shotwell/src/Event.vala" +#line 772 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6145 "Event.c" +#line 6147 "Event.c" } @@ -6150,17 +6152,17 @@ gchar* event_get_raw_name (Event* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 773 "/home/jens/Source/shotwell/src/Event.vala" +#line 775 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), NULL); -#line 774 "/home/jens/Source/shotwell/src/Event.vala" +#line 776 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->raw_name; -#line 774 "/home/jens/Source/shotwell/src/Event.vala" +#line 776 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = g_strdup (_tmp0_); -#line 774 "/home/jens/Source/shotwell/src/Event.vala" +#line 776 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp1_; -#line 774 "/home/jens/Source/shotwell/src/Event.vala" +#line 776 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6163 "Event.c" +#line 6165 "Event.c" } @@ -6169,17 +6171,17 @@ static gchar* event_real_get_comment (EventSource* base) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 777 "/home/jens/Source/shotwell/src/Event.vala" +#line 779 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 778 "/home/jens/Source/shotwell/src/Event.vala" +#line 780 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->comment; -#line 778 "/home/jens/Source/shotwell/src/Event.vala" +#line 780 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = g_strdup (_tmp0_); -#line 778 "/home/jens/Source/shotwell/src/Event.vala" +#line 780 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp1_; -#line 778 "/home/jens/Source/shotwell/src/Event.vala" +#line 780 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6182 "Event.c" +#line 6184 "Event.c" } @@ -6198,82 +6200,82 @@ gboolean event_rename (Event* self, const gchar* name) { const gchar* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; gboolean _tmp11_ = FALSE; -#line 781 "/home/jens/Source/shotwell/src/Event.vala" +#line 783 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), FALSE); -#line 782 "/home/jens/Source/shotwell/src/Event.vala" +#line 784 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = name; -#line 782 "/home/jens/Source/shotwell/src/Event.vala" +#line 784 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = event_prep_event_name (_tmp0_); -#line 782 "/home/jens/Source/shotwell/src/Event.vala" +#line 784 "/home/jens/Source/shotwell/src/Event.vala" new_name = _tmp1_; -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = new_name; -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = event_get_formatted_daterange (self); -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = _tmp3_; -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = g_strcmp0 (_tmp2_, _tmp4_) == 0; -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp4_); -#line 785 "/home/jens/Source/shotwell/src/Event.vala" +#line 787 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp5_) { -#line 6221 "Event.c" +#line 6223 "Event.c" gchar* _tmp6_ = NULL; -#line 786 "/home/jens/Source/shotwell/src/Event.vala" +#line 788 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = g_strdup (""); -#line 786 "/home/jens/Source/shotwell/src/Event.vala" +#line 788 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (new_name); -#line 786 "/home/jens/Source/shotwell/src/Event.vala" +#line 788 "/home/jens/Source/shotwell/src/Event.vala" new_name = _tmp6_; -#line 6229 "Event.c" +#line 6231 "Event.c" } -#line 789 "/home/jens/Source/shotwell/src/Event.vala" +#line 791 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = event_event_table; -#line 789 "/home/jens/Source/shotwell/src/Event.vala" +#line 791 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = self->priv->event_id; -#line 789 "/home/jens/Source/shotwell/src/Event.vala" +#line 791 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = new_name; -#line 789 "/home/jens/Source/shotwell/src/Event.vala" +#line 791 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = event_table_rename (_tmp7_, &_tmp8_, _tmp9_); -#line 789 "/home/jens/Source/shotwell/src/Event.vala" +#line 791 "/home/jens/Source/shotwell/src/Event.vala" renamed = _tmp10_; -#line 790 "/home/jens/Source/shotwell/src/Event.vala" +#line 792 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = renamed; -#line 790 "/home/jens/Source/shotwell/src/Event.vala" +#line 792 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp11_) { -#line 6245 "Event.c" +#line 6247 "Event.c" const gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; Alteration* _tmp14_ = NULL; Alteration* _tmp15_ = NULL; -#line 791 "/home/jens/Source/shotwell/src/Event.vala" +#line 793 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = new_name; -#line 791 "/home/jens/Source/shotwell/src/Event.vala" +#line 793 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = g_strdup (_tmp12_); -#line 791 "/home/jens/Source/shotwell/src/Event.vala" +#line 793 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (self->priv->raw_name); -#line 791 "/home/jens/Source/shotwell/src/Event.vala" +#line 793 "/home/jens/Source/shotwell/src/Event.vala" self->priv->raw_name = _tmp13_; -#line 792 "/home/jens/Source/shotwell/src/Event.vala" +#line 794 "/home/jens/Source/shotwell/src/Event.vala" event_update_indexable_keywords (self); -#line 793 "/home/jens/Source/shotwell/src/Event.vala" +#line 795 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = alteration_new_from_list ("metadata:name, indexable:keywords"); -#line 793 "/home/jens/Source/shotwell/src/Event.vala" +#line 795 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = _tmp14_; -#line 793 "/home/jens/Source/shotwell/src/Event.vala" +#line 795 "/home/jens/Source/shotwell/src/Event.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp15_); -#line 793 "/home/jens/Source/shotwell/src/Event.vala" +#line 795 "/home/jens/Source/shotwell/src/Event.vala" _alteration_unref0 (_tmp15_); -#line 6268 "Event.c" +#line 6270 "Event.c" } -#line 796 "/home/jens/Source/shotwell/src/Event.vala" +#line 798 "/home/jens/Source/shotwell/src/Event.vala" result = renamed; -#line 796 "/home/jens/Source/shotwell/src/Event.vala" +#line 798 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (new_name); -#line 796 "/home/jens/Source/shotwell/src/Event.vala" +#line 798 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6276 "Event.c" +#line 6278 "Event.c" } @@ -6289,60 +6291,60 @@ static gboolean event_real_set_comment (EventSource* base, const gchar* comment) const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; -#line 799 "/home/jens/Source/shotwell/src/Event.vala" +#line 801 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 800 "/home/jens/Source/shotwell/src/Event.vala" +#line 802 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = comment; -#line 800 "/home/jens/Source/shotwell/src/Event.vala" +#line 802 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = media_source_prep_comment (_tmp0_); -#line 800 "/home/jens/Source/shotwell/src/Event.vala" - new_comment = _tmp1_; #line 802 "/home/jens/Source/shotwell/src/Event.vala" + new_comment = _tmp1_; +#line 804 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = event_event_table; -#line 802 "/home/jens/Source/shotwell/src/Event.vala" +#line 804 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = self->priv->event_id; -#line 802 "/home/jens/Source/shotwell/src/Event.vala" +#line 804 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = new_comment; -#line 802 "/home/jens/Source/shotwell/src/Event.vala" +#line 804 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = event_table_set_comment (_tmp2_, &_tmp3_, _tmp4_); -#line 802 "/home/jens/Source/shotwell/src/Event.vala" +#line 804 "/home/jens/Source/shotwell/src/Event.vala" committed = _tmp5_; -#line 803 "/home/jens/Source/shotwell/src/Event.vala" +#line 805 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = committed; -#line 803 "/home/jens/Source/shotwell/src/Event.vala" +#line 805 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp6_) { -#line 6314 "Event.c" +#line 6316 "Event.c" const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; Alteration* _tmp9_ = NULL; Alteration* _tmp10_ = NULL; -#line 804 "/home/jens/Source/shotwell/src/Event.vala" +#line 806 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = new_comment; -#line 804 "/home/jens/Source/shotwell/src/Event.vala" +#line 806 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = g_strdup (_tmp7_); -#line 804 "/home/jens/Source/shotwell/src/Event.vala" +#line 806 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (self->priv->comment); -#line 804 "/home/jens/Source/shotwell/src/Event.vala" +#line 806 "/home/jens/Source/shotwell/src/Event.vala" self->priv->comment = _tmp8_; -#line 805 "/home/jens/Source/shotwell/src/Event.vala" +#line 807 "/home/jens/Source/shotwell/src/Event.vala" event_update_indexable_keywords (self); -#line 806 "/home/jens/Source/shotwell/src/Event.vala" +#line 808 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = alteration_new_from_list ("metadata:comment, indexable:keywords"); -#line 806 "/home/jens/Source/shotwell/src/Event.vala" +#line 808 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = _tmp9_; -#line 806 "/home/jens/Source/shotwell/src/Event.vala" +#line 808 "/home/jens/Source/shotwell/src/Event.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp10_); -#line 806 "/home/jens/Source/shotwell/src/Event.vala" +#line 808 "/home/jens/Source/shotwell/src/Event.vala" _alteration_unref0 (_tmp10_); -#line 6337 "Event.c" +#line 6339 "Event.c" } -#line 809 "/home/jens/Source/shotwell/src/Event.vala" +#line 811 "/home/jens/Source/shotwell/src/Event.vala" result = committed; -#line 809 "/home/jens/Source/shotwell/src/Event.vala" +#line 811 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (new_comment); -#line 809 "/home/jens/Source/shotwell/src/Event.vala" +#line 811 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6345 "Event.c" +#line 6347 "Event.c" } @@ -6351,19 +6353,19 @@ time_t event_get_creation_time (Event* self) { EventTable* _tmp0_ = NULL; EventID _tmp1_ = {0}; time_t _tmp2_ = 0; -#line 812 "/home/jens/Source/shotwell/src/Event.vala" +#line 814 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), 0); -#line 813 "/home/jens/Source/shotwell/src/Event.vala" +#line 815 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_event_table; -#line 813 "/home/jens/Source/shotwell/src/Event.vala" +#line 815 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = self->priv->event_id; -#line 813 "/home/jens/Source/shotwell/src/Event.vala" +#line 815 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = event_table_get_time_created (_tmp0_, &_tmp1_); -#line 813 "/home/jens/Source/shotwell/src/Event.vala" +#line 815 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp2_; -#line 813 "/home/jens/Source/shotwell/src/Event.vala" +#line 815 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6366 "Event.c" +#line 6368 "Event.c" } @@ -6373,27 +6375,27 @@ static time_t event_real_get_start_time (EventSource* base) { gint count = 0; ViewCollection* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 816 "/home/jens/Source/shotwell/src/Event.vala" +#line 818 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 819 "/home/jens/Source/shotwell/src/Event.vala" +#line 821 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 819 "/home/jens/Source/shotwell/src/Event.vala" +#line 821 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection)); -#line 819 "/home/jens/Source/shotwell/src/Event.vala" +#line 821 "/home/jens/Source/shotwell/src/Event.vala" count = _tmp1_; -#line 6384 "Event.c" +#line 6386 "Event.c" { gint i = 0; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" i = 0; -#line 6389 "Event.c" +#line 6391 "Event.c" { gboolean _tmp2_ = FALSE; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = TRUE; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" while (TRUE) { -#line 6396 "Event.c" +#line 6398 "Event.c" gint _tmp4_ = 0; gint _tmp5_ = 0; time_t time = 0; @@ -6406,68 +6408,68 @@ static time_t event_real_get_start_time (EventSource* base) { time_t _tmp12_ = 0; time_t _tmp13_ = 0; time_t _tmp14_ = 0; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" if (!_tmp2_) { -#line 6411 "Event.c" +#line 6413 "Event.c" gint _tmp3_ = 0; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = i; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" i = _tmp3_ + 1; -#line 6417 "Event.c" +#line 6419 "Event.c" } -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = FALSE; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = i; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = count; -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" if (!(_tmp4_ < _tmp5_)) { -#line 820 "/home/jens/Source/shotwell/src/Event.vala" +#line 822 "/home/jens/Source/shotwell/src/Event.vala" break; -#line 6429 "Event.c" +#line 6431 "Event.c" } -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = self->priv->view; -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = i; -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection), _tmp7_); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = data_view_get_source (_tmp9_); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_MEDIA_SOURCE, MediaSource); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = media_source_get_exposure_time (_tmp11_); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _tmp13_ = _tmp12_; -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp11_); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp9_); -#line 821 "/home/jens/Source/shotwell/src/Event.vala" +#line 823 "/home/jens/Source/shotwell/src/Event.vala" time = _tmp13_; -#line 822 "/home/jens/Source/shotwell/src/Event.vala" +#line 824 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = time; -#line 822 "/home/jens/Source/shotwell/src/Event.vala" +#line 824 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp14_ != ((time_t) 0)) { -#line 823 "/home/jens/Source/shotwell/src/Event.vala" +#line 825 "/home/jens/Source/shotwell/src/Event.vala" result = time; -#line 823 "/home/jens/Source/shotwell/src/Event.vala" +#line 825 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6461 "Event.c" +#line 6463 "Event.c" } } } } -#line 826 "/home/jens/Source/shotwell/src/Event.vala" +#line 828 "/home/jens/Source/shotwell/src/Event.vala" result = (time_t) 0; -#line 826 "/home/jens/Source/shotwell/src/Event.vala" +#line 828 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6470 "Event.c" +#line 6472 "Event.c" } @@ -6486,49 +6488,49 @@ static time_t event_real_get_end_time (EventSource* base) { MediaSource* _tmp8_ = NULL; time_t _tmp9_ = 0; time_t _tmp10_ = 0; -#line 829 "/home/jens/Source/shotwell/src/Event.vala" +#line 831 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 830 "/home/jens/Source/shotwell/src/Event.vala" +#line 832 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 830 "/home/jens/Source/shotwell/src/Event.vala" +#line 832 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection)); -#line 830 "/home/jens/Source/shotwell/src/Event.vala" +#line 832 "/home/jens/Source/shotwell/src/Event.vala" count = _tmp1_; -#line 834 "/home/jens/Source/shotwell/src/Event.vala" +#line 836 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = count; -#line 834 "/home/jens/Source/shotwell/src/Event.vala" +#line 836 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp2_ == 0) { -#line 835 "/home/jens/Source/shotwell/src/Event.vala" +#line 837 "/home/jens/Source/shotwell/src/Event.vala" result = (time_t) 0; -#line 835 "/home/jens/Source/shotwell/src/Event.vala" +#line 837 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6505 "Event.c" +#line 6507 "Event.c" } -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = self->priv->view; -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = count; -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), _tmp4_ - 1); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_VIEW, DataView); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = data_view_get_source (_tmp6_); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_MEDIA_SOURCE, MediaSource); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = media_source_get_exposure_time (_tmp8_); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = _tmp9_; -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp8_); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp6_); -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp10_; -#line 837 "/home/jens/Source/shotwell/src/Event.vala" +#line 839 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6531 "Event.c" +#line 6533 "Event.c" } @@ -6536,32 +6538,32 @@ static guint64 event_real_get_total_filesize (EventSource* base) { Event * self; guint64 result = 0ULL; guint64 total = 0ULL; -#line 840 "/home/jens/Source/shotwell/src/Event.vala" +#line 842 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 841 "/home/jens/Source/shotwell/src/Event.vala" +#line 843 "/home/jens/Source/shotwell/src/Event.vala" total = (guint64) 0; -#line 6543 "Event.c" +#line 6545 "Event.c" { GeeIterator* _current_source_it = NULL; GeeCollection* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource)); -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = _tmp0_; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = _tmp2_; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp1_); -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _current_source_it = _tmp3_; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" while (TRUE) { -#line 6564 "Event.c" +#line 6566 "Event.c" GeeIterator* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; MediaSource* current_source = NULL; @@ -6570,43 +6572,43 @@ static guint64 event_real_get_total_filesize (EventSource* base) { guint64 _tmp8_ = 0ULL; MediaSource* _tmp9_ = NULL; guint64 _tmp10_ = 0ULL; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = _current_source_it; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = gee_iterator_next (_tmp4_); -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" if (!_tmp5_) { -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" break; -#line 6581 "Event.c" +#line 6583 "Event.c" } -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = _current_source_it; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = gee_iterator_get (_tmp6_); -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" current_source = (MediaSource*) _tmp7_; -#line 843 "/home/jens/Source/shotwell/src/Event.vala" +#line 845 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = total; -#line 843 "/home/jens/Source/shotwell/src/Event.vala" +#line 845 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = current_source; -#line 843 "/home/jens/Source/shotwell/src/Event.vala" +#line 845 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = media_source_get_filesize (_tmp9_); -#line 843 "/home/jens/Source/shotwell/src/Event.vala" +#line 845 "/home/jens/Source/shotwell/src/Event.vala" total = _tmp8_ + _tmp10_; -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (current_source); -#line 6599 "Event.c" +#line 6601 "Event.c" } -#line 842 "/home/jens/Source/shotwell/src/Event.vala" +#line 844 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_current_source_it); -#line 6603 "Event.c" +#line 6605 "Event.c" } -#line 846 "/home/jens/Source/shotwell/src/Event.vala" +#line 848 "/home/jens/Source/shotwell/src/Event.vala" result = total; -#line 846 "/home/jens/Source/shotwell/src/Event.vala" +#line 848 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6609 "Event.c" +#line 6611 "Event.c" } @@ -6615,17 +6617,17 @@ static gint event_real_get_media_count (EventSource* base) { gint result = 0; ViewCollection* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 849 "/home/jens/Source/shotwell/src/Event.vala" +#line 851 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 850 "/home/jens/Source/shotwell/src/Event.vala" +#line 852 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 850 "/home/jens/Source/shotwell/src/Event.vala" +#line 852 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection)); -#line 850 "/home/jens/Source/shotwell/src/Event.vala" +#line 852 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp1_; -#line 850 "/home/jens/Source/shotwell/src/Event.vala" +#line 852 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6628 "Event.c" +#line 6630 "Event.c" } @@ -6634,17 +6636,17 @@ static GeeCollection* event_real_get_media (EventSource* base) { GeeCollection* result = NULL; ViewCollection* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 853 "/home/jens/Source/shotwell/src/Event.vala" +#line 855 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 854 "/home/jens/Source/shotwell/src/Event.vala" +#line 856 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 854 "/home/jens/Source/shotwell/src/Event.vala" +#line 856 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = view_collection_get_sources (_tmp0_); -#line 854 "/home/jens/Source/shotwell/src/Event.vala" +#line 856 "/home/jens/Source/shotwell/src/Event.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection); -#line 854 "/home/jens/Source/shotwell/src/Event.vala" +#line 856 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6647 "Event.c" +#line 6649 "Event.c" } @@ -6653,30 +6655,30 @@ void event_mirror_photos (Event* self, ViewCollection* view, CreateView mirrorin ViewCollection* _tmp1_ = NULL; CreateView _tmp2_ = NULL; void* _tmp2__target = NULL; -#line 857 "/home/jens/Source/shotwell/src/Event.vala" +#line 859 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_EVENT (self)); -#line 857 "/home/jens/Source/shotwell/src/Event.vala" +#line 859 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_VIEW_COLLECTION (view)); -#line 858 "/home/jens/Source/shotwell/src/Event.vala" +#line 860 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = view; -#line 858 "/home/jens/Source/shotwell/src/Event.vala" +#line 860 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = self->priv->view; -#line 858 "/home/jens/Source/shotwell/src/Event.vala" +#line 860 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = mirroring_ctor; -#line 858 "/home/jens/Source/shotwell/src/Event.vala" +#line 860 "/home/jens/Source/shotwell/src/Event.vala" _tmp2__target = mirroring_ctor_target; -#line 858 "/home/jens/Source/shotwell/src/Event.vala" +#line 860 "/home/jens/Source/shotwell/src/Event.vala" view_collection_mirror (_tmp0_, _tmp1_, _tmp2_, _tmp2__target, NULL, NULL); -#line 6670 "Event.c" +#line 6672 "Event.c" } static void event_on_primary_thumbnail_altered (Event* self) { -#line 861 "/home/jens/Source/shotwell/src/Event.vala" +#line 863 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_EVENT (self)); -#line 862 "/home/jens/Source/shotwell/src/Event.vala" +#line 864 "/home/jens/Source/shotwell/src/Event.vala" thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 6679 "Event.c" +#line 6681 "Event.c" } @@ -6684,17 +6686,17 @@ MediaSource* event_get_primary_source (Event* self) { MediaSource* result = NULL; MediaSource* _tmp0_ = NULL; MediaSource* _tmp1_ = NULL; -#line 865 "/home/jens/Source/shotwell/src/Event.vala" +#line 867 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), NULL); -#line 866 "/home/jens/Source/shotwell/src/Event.vala" +#line 868 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->primary_source; -#line 866 "/home/jens/Source/shotwell/src/Event.vala" +#line 868 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 866 "/home/jens/Source/shotwell/src/Event.vala" +#line 868 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp1_; -#line 866 "/home/jens/Source/shotwell/src/Event.vala" +#line 868 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6697 "Event.c" +#line 6699 "Event.c" } @@ -6712,81 +6714,81 @@ gboolean event_set_primary_source (Event* self, MediaSource* source) { gboolean _tmp8_ = FALSE; gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; -#line 869 "/home/jens/Source/shotwell/src/Event.vala" +#line 871 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), FALSE); -#line 869 "/home/jens/Source/shotwell/src/Event.vala" +#line 871 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_MEDIA_SOURCE (source), FALSE); -#line 870 "/home/jens/Source/shotwell/src/Event.vala" +#line 872 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 870 "/home/jens/Source/shotwell/src/Event.vala" +#line 872 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = source; -#line 870 "/home/jens/Source/shotwell/src/Event.vala" +#line 872 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = view_collection_has_view_for_source (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_SOURCE, DataSource)); -#line 870 "/home/jens/Source/shotwell/src/Event.vala" - _vala_assert (_tmp2_, "view.has_view_for_source(source)"); #line 872 "/home/jens/Source/shotwell/src/Event.vala" + _vala_assert (_tmp2_, "view.has_view_for_source(source)"); +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = event_event_table; -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = self->priv->event_id; -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = source; -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = data_source_get_source_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource)); -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = _tmp6_; -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = event_table_set_primary_source_id (_tmp3_, &_tmp4_, _tmp7_); -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = _tmp8_; -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" _g_free0 (_tmp7_); -#line 872 "/home/jens/Source/shotwell/src/Event.vala" +#line 874 "/home/jens/Source/shotwell/src/Event.vala" committed = _tmp9_; -#line 873 "/home/jens/Source/shotwell/src/Event.vala" +#line 875 "/home/jens/Source/shotwell/src/Event.vala" _tmp10_ = committed; -#line 873 "/home/jens/Source/shotwell/src/Event.vala" +#line 875 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp10_) { -#line 6749 "Event.c" +#line 6751 "Event.c" MediaSource* _tmp11_ = NULL; MediaSource* _tmp14_ = NULL; MediaSource* _tmp15_ = NULL; MediaSource* _tmp16_ = NULL; -#line 875 "/home/jens/Source/shotwell/src/Event.vala" +#line 877 "/home/jens/Source/shotwell/src/Event.vala" _tmp11_ = self->priv->primary_source; -#line 875 "/home/jens/Source/shotwell/src/Event.vala" +#line 877 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp11_ != NULL) { -#line 6758 "Event.c" +#line 6760 "Event.c" MediaSource* _tmp12_ = NULL; guint _tmp13_ = 0U; -#line 876 "/home/jens/Source/shotwell/src/Event.vala" +#line 878 "/home/jens/Source/shotwell/src/Event.vala" _tmp12_ = self->priv->primary_source; -#line 876 "/home/jens/Source/shotwell/src/Event.vala" +#line 878 "/home/jens/Source/shotwell/src/Event.vala" g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp13_, NULL, FALSE); -#line 876 "/home/jens/Source/shotwell/src/Event.vala" +#line 878 "/home/jens/Source/shotwell/src/Event.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self); -#line 6767 "Event.c" +#line 6769 "Event.c" } -#line 878 "/home/jens/Source/shotwell/src/Event.vala" +#line 880 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = source; -#line 878 "/home/jens/Source/shotwell/src/Event.vala" +#line 880 "/home/jens/Source/shotwell/src/Event.vala" _tmp15_ = _g_object_ref0 (_tmp14_); -#line 878 "/home/jens/Source/shotwell/src/Event.vala" +#line 880 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (self->priv->primary_source); -#line 878 "/home/jens/Source/shotwell/src/Event.vala" +#line 880 "/home/jens/Source/shotwell/src/Event.vala" self->priv->primary_source = _tmp15_; -#line 879 "/home/jens/Source/shotwell/src/Event.vala" +#line 881 "/home/jens/Source/shotwell/src/Event.vala" _tmp16_ = self->priv->primary_source; -#line 879 "/home/jens/Source/shotwell/src/Event.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), "thumbnail-altered", (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self, 0); #line 881 "/home/jens/Source/shotwell/src/Event.vala" + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), "thumbnail-altered", (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self, 0); +#line 883 "/home/jens/Source/shotwell/src/Event.vala" thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 6783 "Event.c" +#line 6785 "Event.c" } -#line 884 "/home/jens/Source/shotwell/src/Event.vala" +#line 886 "/home/jens/Source/shotwell/src/Event.vala" result = committed; -#line 884 "/home/jens/Source/shotwell/src/Event.vala" +#line 886 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6789 "Event.c" +#line 6791 "Event.c" } @@ -6794,27 +6796,27 @@ static void event_release_primary_source (Event* self) { MediaSource* _tmp0_ = NULL; MediaSource* _tmp1_ = NULL; guint _tmp2_ = 0U; -#line 887 "/home/jens/Source/shotwell/src/Event.vala" +#line 889 "/home/jens/Source/shotwell/src/Event.vala" g_return_if_fail (IS_EVENT (self)); -#line 888 "/home/jens/Source/shotwell/src/Event.vala" +#line 890 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->primary_source; -#line 888 "/home/jens/Source/shotwell/src/Event.vala" +#line 890 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp0_ == NULL) { -#line 889 "/home/jens/Source/shotwell/src/Event.vala" +#line 891 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 6805 "Event.c" +#line 6807 "Event.c" } -#line 891 "/home/jens/Source/shotwell/src/Event.vala" +#line 893 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = self->priv->primary_source; -#line 891 "/home/jens/Source/shotwell/src/Event.vala" +#line 893 "/home/jens/Source/shotwell/src/Event.vala" g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp2_, NULL, FALSE); -#line 891 "/home/jens/Source/shotwell/src/Event.vala" +#line 893 "/home/jens/Source/shotwell/src/Event.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self); -#line 892 "/home/jens/Source/shotwell/src/Event.vala" +#line 894 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (self->priv->primary_source); -#line 892 "/home/jens/Source/shotwell/src/Event.vala" +#line 894 "/home/jens/Source/shotwell/src/Event.vala" self->priv->primary_source = NULL; -#line 6817 "Event.c" +#line 6819 "Event.c" } @@ -6824,59 +6826,59 @@ static GdkPixbuf* event_real_get_thumbnail (ThumbnailSource* base, gint scale, G GdkPixbuf* _tmp0_ = NULL; MediaSource* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 895 "/home/jens/Source/shotwell/src/Event.vala" +#line 897 "/home/jens/Source/shotwell/src/Event.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = self->priv->primary_source; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp1_ != NULL) { -#line 6833 "Event.c" +#line 6835 "Event.c" MediaSource* _tmp2_ = NULL; gint _tmp3_ = 0; GdkPixbuf* _tmp4_ = NULL; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = self->priv->primary_source; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = scale; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), _tmp3_, &_inner_error_); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp0_); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = _tmp4_; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" g_propagate_error (error, _inner_error_); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp0_); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" return NULL; -#line 6855 "Event.c" +#line 6857 "Event.c" } } else { -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp0_); -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = NULL; -#line 6862 "Event.c" +#line 6864 "Event.c" } -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp0_; -#line 896 "/home/jens/Source/shotwell/src/Event.vala" +#line 898 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6868 "Event.c" +#line 6870 "Event.c" } GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) { GdkPixbuf* result = NULL; GError * _inner_error_ = NULL; -#line 899 "/home/jens/Source/shotwell/src/Event.vala" +#line 901 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (IS_EVENT (self), NULL); -#line 899 "/home/jens/Source/shotwell/src/Event.vala" +#line 901 "/home/jens/Source/shotwell/src/Event.vala" g_return_val_if_fail (scaling != NULL, NULL); -#line 6879 "Event.c" +#line 6881 "Event.c" { GdkPixbuf* _tmp0_ = NULL; MediaSource* _tmp1_ = NULL; @@ -6885,61 +6887,61 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) { GdkPixbuf* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; GdkPixbuf* _tmp6_ = NULL; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = event_get_primary_source (self); -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = _tmp1_; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = *scaling; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = media_source_get_preview_pixbuf (_tmp2_, &_tmp3_, &_inner_error_); -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = _tmp4_; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp2_); -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = _tmp5_; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6904 "Event.c" +#line 6906 "Event.c" goto __catch430_g_error; } -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = _tmp0_; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = NULL; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" result = _tmp6_; -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_tmp0_); -#line 901 "/home/jens/Source/shotwell/src/Event.vala" +#line 903 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6917 "Event.c" +#line 6919 "Event.c" } goto __finally430; __catch430_g_error: { GError* err = NULL; -#line 900 "/home/jens/Source/shotwell/src/Event.vala" +#line 902 "/home/jens/Source/shotwell/src/Event.vala" err = _inner_error_; -#line 900 "/home/jens/Source/shotwell/src/Event.vala" +#line 902 "/home/jens/Source/shotwell/src/Event.vala" _inner_error_ = NULL; -#line 903 "/home/jens/Source/shotwell/src/Event.vala" +#line 905 "/home/jens/Source/shotwell/src/Event.vala" result = NULL; -#line 903 "/home/jens/Source/shotwell/src/Event.vala" +#line 905 "/home/jens/Source/shotwell/src/Event.vala" _g_error_free0 (err); -#line 903 "/home/jens/Source/shotwell/src/Event.vala" +#line 905 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 6933 "Event.c" +#line 6935 "Event.c" } __finally430: -#line 900 "/home/jens/Source/shotwell/src/Event.vala" +#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 900 "/home/jens/Source/shotwell/src/Event.vala" +#line 902 "/home/jens/Source/shotwell/src/Event.vala" g_clear_error (&_inner_error_); -#line 900 "/home/jens/Source/shotwell/src/Event.vala" +#line 902 "/home/jens/Source/shotwell/src/Event.vala" return NULL; -#line 6942 "Event.c" +#line 6944 "Event.c" } @@ -6953,36 +6955,36 @@ static void event_real_destroy (DataSource* base) { VideoTable* _tmp8_ = NULL; EventID _tmp9_ = {0}; GError * _inner_error_ = NULL; -#line 907 "/home/jens/Source/shotwell/src/Event.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); #line 909 "/home/jens/Source/shotwell/src/Event.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event); +#line 911 "/home/jens/Source/shotwell/src/Event.vala" _tmp0_ = self->priv->view; -#line 909 "/home/jens/Source/shotwell/src/Event.vala" +#line 911 "/home/jens/Source/shotwell/src/Event.vala" view_collection_halt_all_monitoring (_tmp0_); -#line 6962 "Event.c" +#line 6964 "Event.c" { EventTable* _tmp1_ = NULL; EventID _tmp2_ = {0}; -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" _tmp1_ = event_event_table; -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = self->priv->event_id; -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" event_table_remove (_tmp1_, &_tmp2_, &_inner_error_); -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 6976 "Event.c" +#line 6978 "Event.c" goto __catch431_database_error; } -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#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); -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" g_clear_error (&_inner_error_); -#line 913 "/home/jens/Source/shotwell/src/Event.vala" +#line 915 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 6985 "Event.c" +#line 6987 "Event.c" } } goto __finally431; @@ -6990,59 +6992,59 @@ static void event_real_destroy (DataSource* base) { { GError* err = NULL; GError* _tmp3_ = NULL; -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" err = _inner_error_; -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" _inner_error_ = NULL; -#line 915 "/home/jens/Source/shotwell/src/Event.vala" +#line 917 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = err; -#line 915 "/home/jens/Source/shotwell/src/Event.vala" +#line 917 "/home/jens/Source/shotwell/src/Event.vala" app_window_database_error (_tmp3_); -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" _g_error_free0 (err); -#line 7003 "Event.c" +#line 7005 "Event.c" } __finally431: -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/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 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" g_clear_error (&_inner_error_); -#line 912 "/home/jens/Source/shotwell/src/Event.vala" +#line 914 "/home/jens/Source/shotwell/src/Event.vala" return; -#line 7014 "Event.c" +#line 7016 "Event.c" } -#line 919 "/home/jens/Source/shotwell/src/Event.vala" +#line 921 "/home/jens/Source/shotwell/src/Event.vala" _tmp4_ = photo_table_get_instance (); -#line 919 "/home/jens/Source/shotwell/src/Event.vala" +#line 921 "/home/jens/Source/shotwell/src/Event.vala" _tmp5_ = _tmp4_; -#line 919 "/home/jens/Source/shotwell/src/Event.vala" +#line 921 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = self->priv->event_id; -#line 919 "/home/jens/Source/shotwell/src/Event.vala" +#line 921 "/home/jens/Source/shotwell/src/Event.vala" photo_table_drop_event (_tmp5_, &_tmp6_); -#line 919 "/home/jens/Source/shotwell/src/Event.vala" +#line 921 "/home/jens/Source/shotwell/src/Event.vala" _database_table_unref0 (_tmp5_); -#line 920 "/home/jens/Source/shotwell/src/Event.vala" +#line 922 "/home/jens/Source/shotwell/src/Event.vala" _tmp7_ = video_table_get_instance (); -#line 920 "/home/jens/Source/shotwell/src/Event.vala" +#line 922 "/home/jens/Source/shotwell/src/Event.vala" _tmp8_ = _tmp7_; -#line 920 "/home/jens/Source/shotwell/src/Event.vala" +#line 922 "/home/jens/Source/shotwell/src/Event.vala" _tmp9_ = self->priv->event_id; -#line 920 "/home/jens/Source/shotwell/src/Event.vala" +#line 922 "/home/jens/Source/shotwell/src/Event.vala" video_table_drop_event (_tmp8_, &_tmp9_); -#line 920 "/home/jens/Source/shotwell/src/Event.vala" - _database_table_unref0 (_tmp8_); #line 922 "/home/jens/Source/shotwell/src/Event.vala" + _database_table_unref0 (_tmp8_); +#line 924 "/home/jens/Source/shotwell/src/Event.vala" DATA_SOURCE_CLASS (event_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource), TYPE_DATA_SOURCE, DataSource)); -#line 7038 "Event.c" +#line 7040 "Event.c" } static void _event_event_snapshot_on_attached_source_destroyed_source_collection_item_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) { #line 126 "/home/jens/Source/shotwell/src/Event.vala" event_event_snapshot_on_attached_source_destroyed ((EventEventSnapshot*) self, source); -#line 7045 "Event.c" +#line 7047 "Event.c" } @@ -7085,7 +7087,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev _g_object_unref0 (self->priv->primary_source); #line 113 "/home/jens/Source/shotwell/src/Event.vala" self->priv->primary_source = _tmp6_; -#line 7088 "Event.c" +#line 7090 "Event.c" { GeeIterator* _source_it = NULL; Event* _tmp7_ = NULL; @@ -7109,7 +7111,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev _source_it = _tmp11_; #line 118 "/home/jens/Source/shotwell/src/Event.vala" while (TRUE) { -#line 7112 "Event.c" +#line 7114 "Event.c" GeeIterator* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; MediaSource* source = NULL; @@ -7125,7 +7127,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev if (!_tmp13_) { #line 118 "/home/jens/Source/shotwell/src/Event.vala" break; -#line 7128 "Event.c" +#line 7130 "Event.c" } #line 118 "/home/jens/Source/shotwell/src/Event.vala" _tmp14_ = _source_it; @@ -7141,11 +7143,11 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_); #line 118 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (source); -#line 7144 "Event.c" +#line 7146 "Event.c" } #line 118 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (_source_it); -#line 7148 "Event.c" +#line 7150 "Event.c" } #line 121 "/home/jens/Source/shotwell/src/Event.vala" _tmp18_ = library_photo_global; @@ -7157,21 +7159,21 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_SOURCE_COLLECTION, SourceCollection), "item-destroyed", (GCallback) _event_event_snapshot_on_attached_source_destroyed_source_collection_item_destroyed, self); #line 110 "/home/jens/Source/shotwell/src/Event.vala" return self; -#line 7160 "Event.c" +#line 7162 "Event.c" } static EventEventSnapshot* event_event_snapshot_new (Event* event) { #line 110 "/home/jens/Source/shotwell/src/Event.vala" return event_event_snapshot_construct (EVENT_TYPE_EVENT_SNAPSHOT, event); -#line 7167 "Event.c" +#line 7169 "Event.c" } static gpointer _event_row_ref0 (gpointer self) { #line 131 "/home/jens/Source/shotwell/src/Event.vala" return self ? event_row_ref (self) : NULL; -#line 7174 "Event.c" +#line 7176 "Event.c" } @@ -7189,7 +7191,7 @@ static EventRow* event_event_snapshot_get_row (EventEventSnapshot* self) { result = _tmp1_; #line 131 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 7192 "Event.c" +#line 7194 "Event.c" } @@ -7215,7 +7217,7 @@ static void event_event_snapshot_real_notify_broken (SourceSnapshot* base) { gee_abstract_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); #line 139 "/home/jens/Source/shotwell/src/Event.vala" SOURCE_SNAPSHOT_CLASS (event_event_snapshot_parent_class)->notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot)); -#line 7218 "Event.c" +#line 7220 "Event.c" } @@ -7239,7 +7241,7 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho _tmp3_ = media_source; #line 146 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp3_ != NULL) { -#line 7242 "Event.c" +#line 7244 "Event.c" MediaSource* _tmp4_ = NULL; MediaSource* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -7251,17 +7253,17 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho _tmp6_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource)); #line 146 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = _tmp6_; -#line 7254 "Event.c" +#line 7256 "Event.c" } else { #line 146 "/home/jens/Source/shotwell/src/Event.vala" _tmp2_ = FALSE; -#line 7258 "Event.c" +#line 7260 "Event.c" } #line 146 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp2_) { #line 147 "/home/jens/Source/shotwell/src/Event.vala" source_snapshot_notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot)); -#line 7264 "Event.c" +#line 7266 "Event.c" } else { GeeArrayList* _tmp7_ = NULL; MediaSource* _tmp8_ = NULL; @@ -7276,12 +7278,12 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho if (_tmp9_) { #line 149 "/home/jens/Source/shotwell/src/Event.vala" source_snapshot_notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot)); -#line 7279 "Event.c" +#line 7281 "Event.c" } } #line 142 "/home/jens/Source/shotwell/src/Event.vala" _g_object_unref0 (media_source); -#line 7284 "Event.c" +#line 7286 "Event.c" } @@ -7294,7 +7296,7 @@ static void event_event_snapshot_class_init (EventEventSnapshotClass * klass) { g_type_class_add_private (klass, sizeof (EventEventSnapshotPrivate)); #line 105 "/home/jens/Source/shotwell/src/Event.vala" ((SourceSnapshotClass *) klass)->notify_broken = event_event_snapshot_real_notify_broken; -#line 7297 "Event.c" +#line 7299 "Event.c" } @@ -7306,7 +7308,7 @@ static void event_event_snapshot_instance_init (EventEventSnapshot * self) { _tmp0_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 108 "/home/jens/Source/shotwell/src/Event.vala" self->priv->attached_sources = _tmp0_; -#line 7309 "Event.c" +#line 7311 "Event.c" } @@ -7338,7 +7340,7 @@ static void event_event_snapshot_finalize (SourceSnapshot* obj) { _g_object_unref0 (self->priv->attached_sources); #line 105 "/home/jens/Source/shotwell/src/Event.vala" SOURCE_SNAPSHOT_CLASS (event_event_snapshot_parent_class)->finalize (obj); -#line 7341 "Event.c" +#line 7343 "Event.c" } @@ -7365,21 +7367,21 @@ static EventEventProxy* event_event_proxy_construct (GType object_type, Event* e self = (EventEventProxy*) source_proxy_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_SOURCE, DataSource)); #line 154 "/home/jens/Source/shotwell/src/Event.vala" return self; -#line 7368 "Event.c" +#line 7370 "Event.c" } static EventEventProxy* event_event_proxy_new (Event* event) { #line 154 "/home/jens/Source/shotwell/src/Event.vala" return event_event_proxy_construct (EVENT_TYPE_EVENT_PROXY, event); -#line 7375 "Event.c" +#line 7377 "Event.c" } static gpointer _source_snapshot_ref0 (gpointer self) { #line 159 "/home/jens/Source/shotwell/src/Event.vala" return self ? source_snapshot_ref (self) : NULL; -#line 7382 "Event.c" +#line 7384 "Event.c" } @@ -7424,7 +7426,7 @@ static DataSource* event_event_proxy_real_reconstitute (SourceProxy* base, gint6 _source_snapshot_unref0 (event_snapshot); #line 162 "/home/jens/Source/shotwell/src/Event.vala" return result; -#line 7427 "Event.c" +#line 7429 "Event.c" } @@ -7433,7 +7435,7 @@ static void event_event_proxy_class_init (EventEventProxyClass * klass) { event_event_proxy_parent_class = g_type_class_peek_parent (klass); #line 153 "/home/jens/Source/shotwell/src/Event.vala" ((SourceProxyClass *) klass)->reconstitute = event_event_proxy_real_reconstitute; -#line 7436 "Event.c" +#line 7438 "Event.c" } @@ -7498,7 +7500,7 @@ static void event_class_init (EventClass * klass) { ((DataSourceClass *) klass)->destroy = event_real_destroy; #line 94 "/home/jens/Source/shotwell/src/Event.vala" G_OBJECT_CLASS (klass)->finalize = event_finalize; -#line 7501 "Event.c" +#line 7503 "Event.c" } @@ -7517,7 +7519,7 @@ static void event_container_source_interface_init (ContainerSourceIface * iface) iface->establish_link = (void (*)(ContainerSource*, DataSource*)) event_real_establish_link; #line 94 "/home/jens/Source/shotwell/src/Event.vala" iface->establish_link_many = (void (*)(ContainerSource*, GeeCollection*)) event_real_establish_link_many; -#line 7520 "Event.c" +#line 7522 "Event.c" } @@ -7526,7 +7528,7 @@ static void event_proxyable_interface_init (ProxyableIface * iface) { event_proxyable_parent_iface = g_type_interface_peek_parent (iface); #line 94 "/home/jens/Source/shotwell/src/Event.vala" iface->get_proxy = (SourceProxy* (*)(Proxyable*)) event_real_get_proxy; -#line 7529 "Event.c" +#line 7531 "Event.c" } @@ -7535,7 +7537,7 @@ static void event_indexable_interface_init (IndexableIface * iface) { event_indexable_parent_iface = g_type_interface_peek_parent (iface); #line 94 "/home/jens/Source/shotwell/src/Event.vala" iface->get_indexable_keywords = (const gchar* (*)(Indexable*)) event_real_get_indexable_keywords; -#line 7538 "Event.c" +#line 7540 "Event.c" } @@ -7550,7 +7552,7 @@ static void event_instance_init (Event * self) { self->priv->indexable_keywords = NULL; #line 178 "/home/jens/Source/shotwell/src/Event.vala" self->priv->comment = NULL; -#line 7553 "Event.c" +#line 7555 "Event.c" } @@ -7573,7 +7575,7 @@ static void event_finalize (GObject* obj) { _tmp0_ = self->priv->primary_source; #line 237 "/home/jens/Source/shotwell/src/Event.vala" if (_tmp0_ != NULL) { -#line 7576 "Event.c" +#line 7578 "Event.c" MediaSource* _tmp1_ = NULL; guint _tmp2_ = 0U; #line 238 "/home/jens/Source/shotwell/src/Event.vala" @@ -7582,7 +7584,7 @@ static void event_finalize (GObject* obj) { g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp2_, NULL, FALSE); #line 238 "/home/jens/Source/shotwell/src/Event.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self); -#line 7585 "Event.c" +#line 7587 "Event.c" } #line 240 "/home/jens/Source/shotwell/src/Event.vala" _tmp3_ = self->priv->view; @@ -7626,7 +7628,7 @@ static void event_finalize (GObject* obj) { _g_free0 (self->priv->comment); #line 94 "/home/jens/Source/shotwell/src/Event.vala" G_OBJECT_CLASS (event_parent_class)->finalize (obj); -#line 7629 "Event.c" +#line 7631 "Event.c" } diff --git a/src/Event.vala b/src/Event.vala index 3518cab..084df97 100644 --- a/src/Event.vala +++ b/src/Event.vala @@ -617,8 +617,10 @@ public class Event : EventSource, ContainerSource, Proxyable, Indexable { // if the earliest's exposure time was on the day but *before* the boundary hour, // step it back a day to the prior day's boundary - if (earliest_tm.hour < EVENT_BOUNDARY_HOUR) + if (earliest_tm.hour < EVENT_BOUNDARY_HOUR) { + debug("Hour before boundary, shifting back one day"); start_boundary -= TIME_T_DAY; + } time_t end_boundary = (start_boundary + TIME_T_DAY - 1); diff --git a/src/Exporter.c b/src/Exporter.c index 1368956..a120c56 100644 --- a/src/Exporter.c +++ b/src/Exporter.c @@ -1,4 +1,4 @@ -/* Exporter.c generated by valac 0.32.1, the Vala compiler +/* Exporter.c generated by valac 0.34.1, the Vala compiler * generated from Exporter.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/International.c b/src/International.c index db54c27..eb03bb2 100644 --- a/src/International.c +++ b/src/International.c @@ -1,4 +1,4 @@ -/* International.c generated by valac 0.32.1, the Vala compiler +/* International.c generated by valac 0.34.1, the Vala compiler * generated from International.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/LibraryFiles.c b/src/LibraryFiles.c index b0fa855..9139935 100644 --- a/src/LibraryFiles.c +++ b/src/LibraryFiles.c @@ -1,4 +1,4 @@ -/* LibraryFiles.c generated by valac 0.32.1, the Vala compiler +/* LibraryFiles.c generated by valac 0.34.1, the Vala compiler * generated from LibraryFiles.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/LibraryMonitor.c b/src/LibraryMonitor.c index d7cdd2e..6253bd5 100644 --- a/src/LibraryMonitor.c +++ b/src/LibraryMonitor.c @@ -1,4 +1,4 @@ -/* LibraryMonitor.c generated by valac 0.32.1, the Vala compiler +/* LibraryMonitor.c generated by valac 0.34.1, the Vala compiler * generated from LibraryMonitor.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/MediaDataRepresentation.c b/src/MediaDataRepresentation.c index 24f4ef7..f539c7c 100644 --- a/src/MediaDataRepresentation.c +++ b/src/MediaDataRepresentation.c @@ -1,4 +1,4 @@ -/* MediaDataRepresentation.c generated by valac 0.32.1, the Vala compiler +/* MediaDataRepresentation.c generated by valac 0.34.1, the Vala compiler * generated from MediaDataRepresentation.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -4332,11 +4332,11 @@ void media_source_collection_count_media (GeeCollection* media, gint* photo_coun #line 401 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" g_return_if_fail (GEE_IS_COLLECTION (media)); #line 403 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" - _tmp0_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); + _tmp0_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 403 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" photos = _tmp0_; #line 404 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" - _tmp1_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); + _tmp1_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 404 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" videos = _tmp1_; #line 406 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala index f01f147..484404c 100644 --- a/src/MediaDataRepresentation.vala +++ b/src/MediaDataRepresentation.vala @@ -400,8 +400,8 @@ public abstract class MediaSourceCollection : DatabaseSourceCollection { public static void count_media(Gee.Collection<MediaSource> media, out int photo_count, out int video_count) { - Gee.ArrayList<MediaSource> photos = new Gee.ArrayList<MediaSource>(); - Gee.ArrayList<MediaSource> videos = new Gee.ArrayList<MediaSource>(); + var photos = new Gee.ArrayList<LibraryPhoto>(); + var videos = new Gee.ArrayList<Video>(); filter_media(media, photos, videos); diff --git a/src/MediaInterfaces.c b/src/MediaInterfaces.c index 68c9735..0331fd7 100644 --- a/src/MediaInterfaces.c +++ b/src/MediaInterfaces.c @@ -1,4 +1,4 @@ -/* MediaInterfaces.c generated by valac 0.32.1, the Vala compiler +/* MediaInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from MediaInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/MediaMetadata.c b/src/MediaMetadata.c index b426c62..8f81cf6 100644 --- a/src/MediaMetadata.c +++ b/src/MediaMetadata.c @@ -1,4 +1,4 @@ -/* MediaMetadata.c generated by valac 0.32.1, the Vala compiler +/* MediaMetadata.c generated by valac 0.34.1, the Vala compiler * generated from MediaMetadata.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1093,13 +1093,13 @@ gboolean metadata_date_time_from_exif_date_time (const gchar* date_time, time_t* static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 1105 "MediaMetadata.c" } @@ -1117,35 +1117,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1151 "MediaMetadata.c" } diff --git a/src/MediaMonitor.c b/src/MediaMonitor.c index 0a2b28d..3072ab4 100644 --- a/src/MediaMonitor.c +++ b/src/MediaMonitor.c @@ -1,4 +1,4 @@ -/* MediaMonitor.c generated by valac 0.32.1, the Vala compiler +/* MediaMonitor.c generated by valac 0.34.1, the Vala compiler * generated from MediaMonitor.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2295,7 +2295,7 @@ static void media_monitor_real_process_updates (MediaMonitor* self, GeeCollectio #line 318 "/home/jens/Source/shotwell/src/MediaMonitor.vala" _tmp41_ = _tmp40_->monitorable; #line 318 "/home/jens/Source/shotwell/src/MediaMonitor.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, TYPE_MEDIA_SOURCE, MediaSource)); + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp41_); #line 319 "/home/jens/Source/shotwell/src/MediaMonitor.vala" _tmp42_ = updates; #line 319 "/home/jens/Source/shotwell/src/MediaMonitor.vala" @@ -2340,7 +2340,7 @@ static void media_monitor_real_process_updates (MediaMonitor* self, GeeCollectio #line 327 "/home/jens/Source/shotwell/src/MediaMonitor.vala" _tmp50_ = _tmp49_->monitorable; #line 327 "/home/jens/Source/shotwell/src/MediaMonitor.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, TYPE_MEDIA_SOURCE, MediaSource)); + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp50_); #line 328 "/home/jens/Source/shotwell/src/MediaMonitor.vala" _tmp51_ = updates; #line 328 "/home/jens/Source/shotwell/src/MediaMonitor.vala" diff --git a/src/MediaMonitor.vala b/src/MediaMonitor.vala index 3859b97..a36f689 100644 --- a/src/MediaMonitor.vala +++ b/src/MediaMonitor.vala @@ -286,8 +286,8 @@ public abstract class MediaMonitor : Object { TransactionController controller, ref int op_count) throws Error { Gee.Map<Monitorable, File> set_master_file = null; Gee.Map<Monitorable, FileInfo> set_master_file_info = null; - Gee.ArrayList<MediaSource> to_offline = null; - Gee.ArrayList<MediaSource> to_online = null; + Gee.ArrayList<Monitorable> to_offline = null; + Gee.ArrayList<Monitorable> to_online = null; foreach (MonitorableUpdates updates in all_updates) { if (op_count >= MAX_OPERATIONS_PER_CYCLE) diff --git a/src/MediaPage.c b/src/MediaPage.c index 57e1c1f..79c8125 100644 --- a/src/MediaPage.c +++ b/src/MediaPage.c @@ -1,4 +1,4 @@ -/* MediaPage.c generated by valac 0.32.1, the Vala compiler +/* MediaPage.c generated by valac 0.34.1, the Vala compiler * generated from MediaPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/MediaViewTracker.c b/src/MediaViewTracker.c index 3187c83..cdb92b8 100644 --- a/src/MediaViewTracker.c +++ b/src/MediaViewTracker.c @@ -1,4 +1,4 @@ -/* MediaViewTracker.c generated by valac 0.32.1, the Vala compiler +/* MediaViewTracker.c generated by valac 0.34.1, the Vala compiler * generated from MediaViewTracker.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/MetadataWriter.c b/src/MetadataWriter.c index ec51b73..f8990df 100644 --- a/src/MetadataWriter.c +++ b/src/MetadataWriter.c @@ -1,4 +1,4 @@ -/* MetadataWriter.c generated by valac 0.32.1, the Vala compiler +/* MetadataWriter.c generated by valac 0.34.1, the Vala compiler * generated from MetadataWriter.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/NaturalCollate.c b/src/NaturalCollate.c index 35b129c..d2c467f 100644 --- a/src/NaturalCollate.c +++ b/src/NaturalCollate.c @@ -1,4 +1,4 @@ -/* NaturalCollate.c generated by valac 0.32.1, the Vala compiler +/* NaturalCollate.c generated by valac 0.34.1, the Vala compiler * generated from NaturalCollate.vala, do not modify */ @@ -27,15 +27,15 @@ static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_ = 0L; gunichar _tmp1_ = 0U; -#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0U); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 41 "NaturalCollate.c" } @@ -45,15 +45,15 @@ static gint string_index_of_nth_char (const gchar* self, glong c) { gint result = 0; glong _tmp0_ = 0L; gchar* _tmp1_ = NULL; -#line 1136 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1136 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = c; -#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_utf8_offset_to_pointer (self, _tmp0_); -#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp1_ - ((gchar*) self)); -#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 59 "NaturalCollate.c" } @@ -66,37 +66,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 82 "NaturalCollate.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 90 "NaturalCollate.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 102 "NaturalCollate.c" } @@ -116,112 +116,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 126 "NaturalCollate.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 132 "NaturalCollate.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 136 "NaturalCollate.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 140 "NaturalCollate.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 152 "NaturalCollate.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 162 "NaturalCollate.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 168 "NaturalCollate.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 182 "NaturalCollate.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 192 "NaturalCollate.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 198 "NaturalCollate.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 207 "NaturalCollate.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 227 "NaturalCollate.c" } @@ -389,17 +389,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 405 "NaturalCollate.c" } @@ -410,17 +410,17 @@ static gchar* g_unichar_to_string (gunichar self) { gchar* str = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 941 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 941 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 7); -#line 941 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 941 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str = (gchar*) _tmp0_; -#line 942 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 942 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = str; -#line 942 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 942 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_unichar_to_utf8 (self, _tmp1_); -#line 943 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 943 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = str; -#line 943 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 943 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 426 "NaturalCollate.c" } diff --git a/src/Orientation.c b/src/Orientation.c index 3e2da2a..06baf5e 100644 --- a/src/Orientation.c +++ b/src/Orientation.c @@ -1,4 +1,4 @@ -/* Orientation.c generated by valac 0.32.1, the Vala compiler +/* Orientation.c generated by valac 0.34.1, the Vala compiler * generated from Orientation.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1,4 +1,4 @@ -/* Page.c generated by valac 0.32.1, the Vala compiler +/* Page.c generated by valac 0.34.1, the Vala compiler * generated from Page.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Photo.c b/src/Photo.c index d0e4daa..2a8c634 100644 --- a/src/Photo.c +++ b/src/Photo.c @@ -1,4 +1,4 @@ -/* Photo.c generated by valac 0.32.1, the Vala compiler +/* Photo.c generated by valac 0.34.1, the Vala compiler * generated from Photo.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -36918,37 +36918,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 36929 "Photo.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 36937 "Photo.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 36949 "Photo.c" } @@ -36968,112 +36968,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 36973 "Photo.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 36979 "Photo.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 36983 "Photo.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 36987 "Photo.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 36999 "Photo.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 37009 "Photo.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 37015 "Photo.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 37045 "Photo.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 37054 "Photo.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 37074 "Photo.c" } diff --git a/src/PhotoMonitor.c b/src/PhotoMonitor.c index c8e08e9..923a311 100644 --- a/src/PhotoMonitor.c +++ b/src/PhotoMonitor.c @@ -1,4 +1,4 @@ -/* PhotoMonitor.c generated by valac 0.32.1, the Vala compiler +/* PhotoMonitor.c generated by valac 0.34.1, the Vala compiler * generated from PhotoMonitor.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/PhotoPage.c b/src/PhotoPage.c index ceeb0ec..c2639d4 100644 --- a/src/PhotoPage.c +++ b/src/PhotoPage.c @@ -1,4 +1,4 @@ -/* PhotoPage.c generated by valac 0.32.1, the Vala compiler +/* PhotoPage.c generated by valac 0.34.1, the Vala compiler * generated from PhotoPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -20434,7 +20434,7 @@ static void library_photo_page_on_flag_unflag (LibraryPhotoPage* self) { FlagUnflagCommand* _tmp11_ = NULL; FlagUnflagCommand* _tmp12_ = NULL; #line 3128 "/home/jens/Source/shotwell/src/PhotoPage.vala" - _tmp1_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); + _tmp1_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 3128 "/home/jens/Source/shotwell/src/PhotoPage.vala" photo_list = _tmp1_; #line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -20444,7 +20444,7 @@ static void library_photo_page_on_flag_unflag (LibraryPhotoPage* self) { #line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp4_ = _tmp3_; #line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource)); + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource)); #line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala" _g_object_unref0 (_tmp4_); #line 3130 "/home/jens/Source/shotwell/src/PhotoPage.vala" diff --git a/src/PhotoPage.vala b/src/PhotoPage.vala index ce57c2f..0e14aab 100644 --- a/src/PhotoPage.vala +++ b/src/PhotoPage.vala @@ -3125,7 +3125,7 @@ public class LibraryPhotoPage : EditingHostPage { private void on_flag_unflag() { if (has_photo()) { - Gee.ArrayList<DataSource> photo_list = new Gee.ArrayList<DataSource>(); + var photo_list = new Gee.ArrayList<MediaSource>(); photo_list.add(get_photo()); get_command_manager().execute(new FlagUnflagCommand(photo_list, !((LibraryPhoto) get_photo()).is_flagged())); diff --git a/src/PixbufCache.c b/src/PixbufCache.c index 6a4add5..2b5d14c 100644 --- a/src/PixbufCache.c +++ b/src/PixbufCache.c @@ -1,4 +1,4 @@ -/* PixbufCache.c generated by valac 0.32.1, the Vala compiler +/* PixbufCache.c generated by valac 0.34.1, the Vala compiler * generated from PixbufCache.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Printing.c b/src/Printing.c index 3a3da76..3f2eda2 100644 --- a/src/Printing.c +++ b/src/Printing.c @@ -1,4 +1,4 @@ -/* Printing.c generated by valac 0.32.1, the Vala compiler +/* Printing.c generated by valac 0.34.1, the Vala compiler * generated from Printing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2944,15 +2944,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2958 "Printing.c" } @@ -3433,15 +3433,15 @@ static gdouble double_parse (const gchar* str) { gdouble result = 0.0; const gchar* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; -#line 869 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 869 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (str != NULL, 0.0); -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_ascii_strtod (_tmp0_, NULL); -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3447 "Printing.c" } @@ -3503,17 +3503,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3519 "Printing.c" } diff --git a/src/Properties.c b/src/Properties.c index 77f8271..cf4eb43 100644 --- a/src/Properties.c +++ b/src/Properties.c @@ -1,4 +1,4 @@ -/* Properties.c generated by valac 0.32.1, the Vala compiler +/* Properties.c generated by valac 0.34.1, the Vala compiler * generated from Properties.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1000,35 +1000,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1034 "Properties.c" } @@ -1038,15 +1038,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1052 "Properties.c" } @@ -1059,37 +1059,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 1075 "Properties.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1083 "Properties.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1095 "Properties.c" } @@ -1109,112 +1109,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 1119 "Properties.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 1125 "Properties.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 1129 "Properties.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 1133 "Properties.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 1145 "Properties.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 1155 "Properties.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 1161 "Properties.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 1175 "Properties.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 1185 "Properties.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 1191 "Properties.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 1200 "Properties.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1220 "Properties.c" } @@ -1327,13 +1327,13 @@ gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 1339 "Properties.c" } @@ -4761,11 +4761,11 @@ static void extended_properties_window_extended_properties_real_get_single_prope static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 4771 "Properties.c" { @@ -4780,73 +4780,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 4811 "Properties.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 4838 "Properties.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4852 "Properties.c" } @@ -4854,24 +4854,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch423_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 4866 "Properties.c" } __finally423: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 4877 "Properties.c" } diff --git a/src/Resources.c b/src/Resources.c index 62a6c92..0143e70 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -1,4 +1,4 @@ -/* Resources.c generated by valac 0.32.1, the Vala compiler +/* Resources.c generated by valac 0.34.1, the Vala compiler * generated from Resources.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -481,10 +481,7 @@ void sys_show_uri (GdkScreen* screen, const gchar* uri, GError** error); gchar* resources_to_css_color (GdkRGBA* color); #define RESOURCES_ALL_DATA -1 void resources_style_widget (GtkWidget* widget, const gchar* stylesheet); -#define RESOURCES_CUSTOM_CSS "LibraryWindow * {\n" \ -" -GtkPaned-handle-size: 1;\n" \ -" }\n" \ -" LibraryWindow .pane-separator {\n" \ +#define RESOURCES_CUSTOM_CSS "LibraryWindow .pane-separator {\n" \ " background-color: @borders;\n" \ " }\n" \ " SearchFilterToolbar {\n" \ diff --git a/src/Resources.vala b/src/Resources.vala index cceb82b..39f587b 100644 --- a/src/Resources.vala +++ b/src/Resources.vala @@ -1089,10 +1089,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., } public const string CUSTOM_CSS = - """LibraryWindow * { - -GtkPaned-handle-size: 1; - } - LibraryWindow .pane-separator { + """LibraryWindow .pane-separator { background-color: @borders; } SearchFilterToolbar { diff --git a/src/Screensaver.c b/src/Screensaver.c index 50ae28a..44dd0b8 100644 --- a/src/Screensaver.c +++ b/src/Screensaver.c @@ -1,4 +1,4 @@ -/* Screensaver.c generated by valac 0.32.1, the Vala compiler +/* Screensaver.c generated by valac 0.34.1, the Vala compiler * generated from Screensaver.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/SearchFilter.c b/src/SearchFilter.c index 4a48100..7204a17 100644 --- a/src/SearchFilter.c +++ b/src/SearchFilter.c @@ -1,4 +1,4 @@ -/* SearchFilter.c generated by valac 0.32.1, the Vala compiler +/* SearchFilter.c generated by valac 0.34.1, the Vala compiler * generated from SearchFilter.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2291,17 +2291,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2307 "SearchFilter.c" } diff --git a/src/SlideshowPage.c b/src/SlideshowPage.c index ea313b0..0b471d6 100644 --- a/src/SlideshowPage.c +++ b/src/SlideshowPage.c @@ -1,4 +1,4 @@ -/* SlideshowPage.c generated by valac 0.32.1, the Vala compiler +/* SlideshowPage.c generated by valac 0.34.1, the Vala compiler * generated from SlideshowPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/SortedList.c b/src/SortedList.c index 85f22a9..3ba78e5 100644 --- a/src/SortedList.c +++ b/src/SortedList.c @@ -1,4 +1,4 @@ -/* SortedList.c generated by valac 0.32.1, the Vala compiler +/* SortedList.c generated by valac 0.34.1, the Vala compiler * generated from SortedList.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1,4 +1,4 @@ -/* Tag.c generated by valac 0.32.1, the Vala compiler +/* Tag.c generated by valac 0.34.1, the Vala compiler * generated from Tag.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -8022,35 +8022,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 8042 "Tag.c" gchar* _tmp4_ = NULL; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8050 "Tag.c" } else { -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8056 "Tag.c" } @@ -8064,37 +8064,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 8080 "Tag.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8088 "Tag.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8100 "Tag.c" } @@ -8114,112 +8114,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 8124 "Tag.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 8130 "Tag.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 8134 "Tag.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 8138 "Tag.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 8150 "Tag.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 8160 "Tag.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 8166 "Tag.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 8180 "Tag.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 8190 "Tag.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 8196 "Tag.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 8205 "Tag.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8225 "Tag.c" } diff --git a/src/Tag.vala b/src/Tag.vala index 31b1e40..46cbfaa 100644 --- a/src/Tag.vala +++ b/src/Tag.vala @@ -205,7 +205,7 @@ public class TagSourceCollection : ContainerSourceCollection { } protected override void notify_container_contents_added(ContainerSource container, - Gee.Collection<DataSource> added, bool relinking) { + Gee.Collection<DataObject> added, bool relinking) { Tag tag = (Tag) container; Gee.Collection<MediaSource> sources = (Gee.Collection<MediaSource>) added; @@ -233,7 +233,7 @@ public class TagSourceCollection : ContainerSourceCollection { } protected override void notify_container_contents_removed(ContainerSource container, - Gee.Collection<DataSource> removed, bool unlinking) { + Gee.Collection<DataObject> removed, bool unlinking) { Tag tag = (Tag) container; Gee.Collection<MediaSource> sources = (Gee.Collection<MediaSource>) removed; diff --git a/src/Thumbnail.c b/src/Thumbnail.c index 062529f..78270ae 100644 --- a/src/Thumbnail.c +++ b/src/Thumbnail.c @@ -1,4 +1,4 @@ -/* Thumbnail.c generated by valac 0.32.1, the Vala compiler +/* Thumbnail.c generated by valac 0.34.1, the Vala compiler * generated from Thumbnail.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/ThumbnailCache.c b/src/ThumbnailCache.c index 225b52d..a68977d 100644 --- a/src/ThumbnailCache.c +++ b/src/ThumbnailCache.c @@ -1,4 +1,4 @@ -/* ThumbnailCache.c generated by valac 0.32.1, the Vala compiler +/* ThumbnailCache.c generated by valac 0.34.1, the Vala compiler * generated from ThumbnailCache.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/TimedQueue.c b/src/TimedQueue.c index 9d872a5..73458a7 100644 --- a/src/TimedQueue.c +++ b/src/TimedQueue.c @@ -1,4 +1,4 @@ -/* TimedQueue.c generated by valac 0.32.1, the Vala compiler +/* TimedQueue.c generated by valac 0.34.1, the Vala compiler * generated from TimedQueue.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Tombstone.c b/src/Tombstone.c index 7edac33..f72cc11 100644 --- a/src/Tombstone.c +++ b/src/Tombstone.c @@ -1,4 +1,4 @@ -/* Tombstone.c generated by valac 0.32.1, the Vala compiler +/* Tombstone.c generated by valac 0.34.1, the Vala compiler * generated from Tombstone.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/UnityProgressBar.c b/src/UnityProgressBar.c index c32a00a..4f78059 100644 --- a/src/UnityProgressBar.c +++ b/src/UnityProgressBar.c @@ -1,4 +1,4 @@ -/* UnityProgressBar.c generated by valac 0.32.1, the Vala compiler +/* UnityProgressBar.c generated by valac 0.34.1, the Vala compiler * generated from UnityProgressBar.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/Upgrades.c b/src/Upgrades.c index 4571390..420cc7c 100644 --- a/src/Upgrades.c +++ b/src/Upgrades.c @@ -1,4 +1,4 @@ -/* Upgrades.c generated by valac 0.32.1, the Vala compiler +/* Upgrades.c generated by valac 0.34.1, the Vala compiler * generated from Upgrades.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/VideoMetadata.c b/src/VideoMetadata.c index 11c3258..15409fe 100644 --- a/src/VideoMetadata.c +++ b/src/VideoMetadata.c @@ -1,4 +1,4 @@ -/* VideoMetadata.c generated by valac 0.32.1, the Vala compiler +/* VideoMetadata.c generated by valac 0.34.1, the Vala compiler * generated from VideoMetadata.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1631,7 +1631,7 @@ void quick_time_atom_open_file (QuickTimeAtom* self, GError** error) { #line 1631 "VideoMetadata.c" } #line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream)); + _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream)); #line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _g_object_unref0 (self->priv->input); #line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -1670,7 +1670,7 @@ void quick_time_atom_close_file (QuickTimeAtom* self, GError** error) { #line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp1_ = self->priv->input; #line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -1836,15 +1836,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1849 "VideoMetadata.c" } @@ -2142,7 +2142,7 @@ static void quick_time_atom_skip (QuickTimeAtom* self, guint64 skip_amount, GErr #line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp1_ = skip_amount; #line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream), _tmp1_, &_inner_error_); + skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream), _tmp1_, &_inner_error_); #line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -2951,37 +2951,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 2966 "VideoMetadata.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2974 "VideoMetadata.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2986 "VideoMetadata.c" } @@ -3001,112 +3001,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 3010 "VideoMetadata.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 3016 "VideoMetadata.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 3020 "VideoMetadata.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 3024 "VideoMetadata.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 3036 "VideoMetadata.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 3046 "VideoMetadata.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 3052 "VideoMetadata.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 3066 "VideoMetadata.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 3076 "VideoMetadata.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 3082 "VideoMetadata.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 3091 "VideoMetadata.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3111 "VideoMetadata.c" } @@ -4023,19 +4023,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 4040 "VideoMetadata.c" } @@ -4575,7 +4575,7 @@ void avi_chunk_open_file (AVIChunk* self, GError** error) { #line 4575 "VideoMetadata.c" } #line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream)); + _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream)); #line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _g_object_unref0 (self->priv->input); #line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -4614,7 +4614,7 @@ void avi_chunk_close_file (AVIChunk* self, GError** error) { #line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp1_ = self->priv->input; #line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -4643,7 +4643,7 @@ void avi_chunk_nonsection_skip (AVIChunk* self, guint64 skip_amount, GError** er #line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp1_ = skip_amount; #line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream), _tmp1_, &_inner_error_); + skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream), _tmp1_, &_inner_error_); #line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -4671,7 +4671,7 @@ void avi_chunk_skip (AVIChunk* self, guint64 skip_amount, GError** error) { #line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp2_ = skip_amount; #line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala" - skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), _tmp2_, &_inner_error_); + skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), _tmp2_, &_inner_error_); #line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala" diff --git a/src/VideoMonitor.c b/src/VideoMonitor.c index b3e9adb..4e1cd61 100644 --- a/src/VideoMonitor.c +++ b/src/VideoMonitor.c @@ -1,4 +1,4 @@ -/* VideoMonitor.c generated by valac 0.32.1, the Vala compiler +/* VideoMonitor.c generated by valac 0.34.1, the Vala compiler * generated from VideoMonitor.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/VideoSupport.c b/src/VideoSupport.c index 989976f..aad43f3 100644 --- a/src/VideoSupport.c +++ b/src/VideoSupport.c @@ -1,4 +1,4 @@ -/* VideoSupport.c generated by valac 0.32.1, the Vala compiler +/* VideoSupport.c generated by valac 0.34.1, the Vala compiler * generated from VideoSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1921,103 +1921,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 1937 "VideoSupport.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 1946 "VideoSupport.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 1952 "VideoSupport.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 1961 "VideoSupport.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 1967 "VideoSupport.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 1976 "VideoSupport.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 1980 "VideoSupport.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 1988 "VideoSupport.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 1997 "VideoSupport.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 2001 "VideoSupport.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2023 "VideoSupport.c" } @@ -3492,7 +3492,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = unix_input; #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp23_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + _tmp23_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = _tmp23_; #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" diff --git a/src/camera/Branch.c b/src/camera/Branch.c index 7f2836e..52c3e93 100644 --- a/src/camera/Branch.c +++ b/src/camera/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/camera/Camera.c b/src/camera/Camera.c index 71768fa..1f64b12 100644 --- a/src/camera/Camera.c +++ b/src/camera/Camera.c @@ -1,4 +1,4 @@ -/* Camera.c generated by valac 0.32.1, the Vala compiler +/* Camera.c generated by valac 0.34.1, the Vala compiler * generated from Camera.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/camera/CameraTable.c b/src/camera/CameraTable.c index f758943..3ed9f58 100644 --- a/src/camera/CameraTable.c +++ b/src/camera/CameraTable.c @@ -1,4 +1,4 @@ -/* CameraTable.c generated by valac 0.32.1, the Vala compiler +/* CameraTable.c generated by valac 0.34.1, the Vala compiler * generated from CameraTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1545,37 +1545,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 1559 "CameraTable.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1567 "CameraTable.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1579 "CameraTable.c" } @@ -1595,112 +1595,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 1603 "CameraTable.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 1609 "CameraTable.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 1613 "CameraTable.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 1617 "CameraTable.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 1629 "CameraTable.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 1639 "CameraTable.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 1645 "CameraTable.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 1659 "CameraTable.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 1669 "CameraTable.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 1675 "CameraTable.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 1684 "CameraTable.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1704 "CameraTable.c" } @@ -1709,11 +1709,11 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 1717 "CameraTable.c" { @@ -1728,73 +1728,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1757 "CameraTable.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1784 "CameraTable.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1798 "CameraTable.c" } @@ -1802,24 +1802,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch56_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 1812 "CameraTable.c" } __finally56: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1823 "CameraTable.c" } diff --git a/src/camera/GPhoto.c b/src/camera/GPhoto.c index a703945..38c3a97 100644 --- a/src/camera/GPhoto.c +++ b/src/camera/GPhoto.c @@ -1,4 +1,4 @@ -/* GPhoto.c generated by valac 0.32.1, the Vala compiler +/* GPhoto.c generated by valac 0.34.1, the Vala compiler * generated from GPhoto.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1032,103 +1032,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 1048 "GPhoto.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 1057 "GPhoto.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 1063 "GPhoto.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 1072 "GPhoto.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 1078 "GPhoto.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 1087 "GPhoto.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 1091 "GPhoto.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 1099 "GPhoto.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 1108 "GPhoto.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 1112 "GPhoto.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1134 "GPhoto.c" } @@ -1769,7 +1769,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp46_ = mins; #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp47_ = gdk_pixbuf_new_from_stream_at_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, G_TYPE_INPUT_STREAM, GInputStream), IMPORT_PREVIEW_MAX_SCALE, IMPORT_PREVIEW_MAX_SCALE, TRUE, NULL, &_inner_error_); + _tmp47_ = gdk_pixbuf_new_from_stream_at_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_input_stream_get_type (), GInputStream), IMPORT_PREVIEW_MAX_SCALE, IMPORT_PREVIEW_MAX_SCALE, TRUE, NULL, &_inner_error_); #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp45_ = _tmp47_; #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -2472,7 +2472,7 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons #line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp31_ = (GMemoryInputStream*) g_memory_input_stream_new_from_data (_tmp30_, _tmp30__length1, _gp_on_mins_destroyed_gdestroy_notify); #line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, G_TYPE_INPUT_STREAM, GInputStream); + result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_input_stream_get_type (), GInputStream); #line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer = (g_free (buffer), NULL); #line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -2577,7 +2577,7 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons #line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp51_ = NULL; #line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, G_TYPE_INPUT_STREAM, GInputStream); + result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, g_input_stream_get_type (), GInputStream); #line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (_tmp51_); #line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" diff --git a/src/camera/ImportPage.c b/src/camera/ImportPage.c index 03f2d8d..2967842 100644 --- a/src/camera/ImportPage.c +++ b/src/camera/ImportPage.c @@ -1,4 +1,4 @@ -/* ImportPage.c generated by valac 0.32.1, the Vala compiler +/* ImportPage.c generated by valac 0.34.1, the Vala compiler * generated from ImportPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -8171,15 +8171,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8181 "ImportPage.c" } @@ -8202,103 +8202,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 8214 "ImportPage.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 8223 "ImportPage.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 8229 "ImportPage.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 8238 "ImportPage.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 8244 "ImportPage.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 8253 "ImportPage.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 8257 "ImportPage.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 8265 "ImportPage.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 8274 "ImportPage.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 8278 "ImportPage.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 8300 "ImportPage.c" } @@ -13190,17 +13190,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 13198 "ImportPage.c" } diff --git a/src/config/Config.c b/src/config/Config.c index 0bcb4d4..2f48a67 100644 --- a/src/config/Config.c +++ b/src/config/Config.c @@ -1,4 +1,4 @@ -/* Config.c generated by valac 0.32.1, the Vala compiler +/* Config.c generated by valac 0.34.1, the Vala compiler * generated from Config.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c index 0e35565..d1fa9e7 100644 --- a/src/config/ConfigurationInterfaces.c +++ b/src/config/ConfigurationInterfaces.c @@ -1,4 +1,4 @@ -/* ConfigurationInterfaces.c generated by valac 0.32.1, the Vala compiler +/* ConfigurationInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from ConfigurationInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -10669,13 +10669,13 @@ void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, g static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 10676 "ConfigurationInterfaces.c" } @@ -10693,35 +10693,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10722 "ConfigurationInterfaces.c" } diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c index c27e400..2459c8b 100644 --- a/src/config/GSettingsEngine.c +++ b/src/config/GSettingsEngine.c @@ -1,4 +1,4 @@ -/* GSettingsEngine.c generated by valac 0.32.1, the Vala compiler +/* GSettingsEngine.c generated by valac 0.34.1, the Vala compiler * generated from GSettingsEngine.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3100,11 +3100,11 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 3110 "GSettingsEngine.c" { @@ -3119,73 +3119,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3150 "GSettingsEngine.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3177 "GSettingsEngine.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3191 "GSettingsEngine.c" } @@ -3193,24 +3193,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch189_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 3205 "GSettingsEngine.c" } __finally189: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 3216 "GSettingsEngine.c" } @@ -3222,19 +3222,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3240 "GSettingsEngine.c" } @@ -3578,37 +3578,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 3594 "GSettingsEngine.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3602 "GSettingsEngine.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3614 "GSettingsEngine.c" } @@ -3628,112 +3628,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 3638 "GSettingsEngine.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 3644 "GSettingsEngine.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 3648 "GSettingsEngine.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 3652 "GSettingsEngine.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 3664 "GSettingsEngine.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 3674 "GSettingsEngine.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 3680 "GSettingsEngine.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 3710 "GSettingsEngine.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 3719 "GSettingsEngine.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3739 "GSettingsEngine.c" } diff --git a/src/core/Alteration.c b/src/core/Alteration.c index 2bb624a..6e3ca88 100644 --- a/src/core/Alteration.c +++ b/src/core/Alteration.c @@ -1,4 +1,4 @@ -/* Alteration.c generated by valac 0.32.1, the Vala compiler +/* Alteration.c generated by valac 0.34.1, the Vala compiler * generated from Alteration.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -426,19 +426,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 444 "Alteration.c" } diff --git a/src/core/ContainerSourceCollection.c b/src/core/ContainerSourceCollection.c index 2e98ee8..0fa5e34 100644 --- a/src/core/ContainerSourceCollection.c +++ b/src/core/ContainerSourceCollection.c @@ -1,4 +1,4 @@ -/* ContainerSourceCollection.c generated by valac 0.32.1, the Vala compiler +/* ContainerSourceCollection.c generated by valac 0.34.1, the Vala compiler * generated from ContainerSourceCollection.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -394,27 +394,27 @@ ContainerSourceCollection* container_source_collection_construct (GType object_t void* _tmp1__target = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 37 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 38 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_val_if_fail (backlink_name != NULL, NULL); -#line 37 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 38 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_val_if_fail (name != NULL, NULL); -#line 39 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 40 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = name; -#line 39 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 40 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = source_key_func; -#line 39 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 40 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1__target = source_key_func_target; -#line 39 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 40 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" self = (ContainerSourceCollection*) database_source_collection_construct (object_type, _tmp0_, _tmp1_, _tmp1__target); -#line 41 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 42 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = backlink_name; -#line 41 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 42 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = g_strdup (_tmp2_); -#line 41 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 42 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_free0 (self->priv->backlink_name); -#line 41 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 42 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" self->priv->backlink_name = _tmp3_; -#line 37 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 38 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return self; #line 420 "ContainerSourceCollection.c" } @@ -428,40 +428,40 @@ static void container_source_collection_real_notify_backlink_removed (SourceColl SourceBacklink* _tmp2_ = NULL; ContainerSource* _tmp3_ = NULL; ContainerSource* _tmp4_ = NULL; -#line 48 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 49 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection); -#line 48 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 49 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_SOURCE_BACKLINK (backlink)); -#line 48 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 49 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (GEE_IS_COLLECTION (sources)); -#line 50 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 51 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = backlink; -#line 50 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 51 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = sources; -#line 50 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 51 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" SOURCE_COLLECTION_CLASS (container_source_collection_parent_class)->notify_backlink_removed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollection), TYPE_SOURCE_COLLECTION, SourceCollection), _tmp0_, _tmp1_); -#line 52 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 53 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = backlink; -#line 52 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 53 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = container_source_collection_convert_backlink_to_container (self, _tmp2_); -#line 52 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - container = _tmp3_; #line 53 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + container = _tmp3_; +#line 54 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = container; -#line 53 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 54 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp4_ != NULL) { #line 454 "ContainerSourceCollection.c" ContainerSource* _tmp5_ = NULL; GeeCollection* _tmp6_ = NULL; -#line 54 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 55 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = container; -#line 54 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 55 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = sources; -#line 54 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 55 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_notify_backlink_to_container_removed (self, _tmp5_, _tmp6_); #line 463 "ContainerSourceCollection.c" } -#line 48 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 49 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); #line 467 "ContainerSourceCollection.c" } @@ -474,17 +474,17 @@ static void container_source_collection_real_notify_container_contents_added (Co ContainerSource* _tmp8_ = NULL; GeeCollection* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 57 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 58 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); -#line 57 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 58 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (GEE_IS_COLLECTION (added)); -#line 60 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 60 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = container; -#line 60 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 60 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp2_) { #line 490 "ContainerSourceCollection.c" gboolean removed = FALSE; @@ -493,40 +493,40 @@ static void container_source_collection_real_notify_container_contents_added (Co gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; ContainerSource* _tmp7_ = NULL; -#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 62 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = self->priv->holding_tank; -#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 62 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = container; -#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 62 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp4_); -#line 61 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - removed = _tmp5_; #line 62 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + removed = _tmp5_; +#line 63 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = removed; -#line 62 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 63 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _vala_assert (_tmp6_, "removed"); -#line 64 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 65 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = container; -#line 64 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 65 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" source_collection_relink (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_COLLECTION, SourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_SOURCE, DataSource)); #line 513 "ContainerSourceCollection.c" } -#line 67 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 68 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = container; -#line 67 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 68 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = added; -#line 67 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 68 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = relinked; -#line 67 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 68 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_emit_by_name (self, "container-contents-added", _tmp8_, _tmp9_, _tmp10_); #line 523 "ContainerSourceCollection.c" } void container_source_collection_notify_container_contents_added (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* added, gboolean relinked) { -#line 57 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 58 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 57 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 58 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->notify_container_contents_added (self, container, added, relinked); #line 532 "ContainerSourceCollection.c" } @@ -536,26 +536,26 @@ static void container_source_collection_real_notify_container_contents_removed ( ContainerSource* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 70 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 71 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); -#line 70 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 71 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (GEE_IS_COLLECTION (removed)); -#line 72 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 73 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = container; -#line 72 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 73 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = removed; -#line 72 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 73 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = unlinked; -#line 72 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 73 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_emit_by_name (self, "container-contents-removed", _tmp0_, _tmp1_, _tmp2_); #line 552 "ContainerSourceCollection.c" } void container_source_collection_notify_container_contents_removed (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* removed, gboolean unlinked) { -#line 70 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 71 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 70 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 71 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->notify_container_contents_removed (self, container, removed, unlinked); #line 561 "ContainerSourceCollection.c" } @@ -567,32 +567,32 @@ static void container_source_collection_real_notify_container_contents_altered ( gboolean _tmp2_ = FALSE; GeeCollection* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 75 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 76 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); -#line 75 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 76 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail ((added == NULL) || GEE_IS_COLLECTION (added)); -#line 75 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 76 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail ((removed == NULL) || GEE_IS_COLLECTION (removed)); -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = container; -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = added; -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = relinked; -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = removed; -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = unlinked; -#line 78 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 79 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_emit_by_name (self, "container-contents-altered", _tmp0_, _tmp1_, _tmp2_, _tmp3_, _tmp4_); #line 589 "ContainerSourceCollection.c" } void container_source_collection_notify_container_contents_altered (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* added, gboolean relinked, GeeCollection* removed, gboolean unlinked) { -#line 75 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 76 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 75 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 76 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->notify_container_contents_altered (self, container, added, relinked, removed, unlinked); #line 598 "ContainerSourceCollection.c" } @@ -601,80 +601,80 @@ void container_source_collection_notify_container_contents_altered (ContainerSou static void container_source_collection_real_notify_backlink_to_container_removed (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* sources) { ContainerSource* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 81 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 82 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); -#line 81 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 82 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (GEE_IS_COLLECTION (sources)); -#line 83 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 84 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = container; -#line 83 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 84 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = sources; -#line 83 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 84 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_emit_by_name (self, "backlink-to-container-removed", _tmp0_, _tmp1_); #line 615 "ContainerSourceCollection.c" } void container_source_collection_notify_backlink_to_container_removed (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* sources) { -#line 81 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 82 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 81 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 82 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->notify_backlink_to_container_removed (self, container, sources); #line 624 "ContainerSourceCollection.c" } static GeeCollection* container_source_collection_real_get_containers_holding_source (ContainerSourceCollection* self, DataSource* source) { -#line 86 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 87 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_critical ("Type `%s' does not implement abstract method `container_source_collection_get_containers_holding_source'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 86 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 87 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return NULL; #line 633 "ContainerSourceCollection.c" } GeeCollection* container_source_collection_get_containers_holding_source (ContainerSourceCollection* self, DataSource* source) { -#line 86 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 87 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_val_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self), NULL); -#line 86 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 87 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->get_containers_holding_source (self, source); #line 642 "ContainerSourceCollection.c" } static ContainerSource* container_source_collection_real_convert_backlink_to_container (ContainerSourceCollection* self, SourceBacklink* backlink) { -#line 89 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 90 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_critical ("Type `%s' does not implement abstract method `container_source_collection_convert_backlink_to_container'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 89 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 90 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return NULL; #line 651 "ContainerSourceCollection.c" } ContainerSource* container_source_collection_convert_backlink_to_container (ContainerSourceCollection* self, SourceBacklink* backlink) { -#line 89 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 90 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_val_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self), NULL); -#line 89 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 90 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return CONTAINER_SOURCE_COLLECTION_GET_CLASS (self)->convert_backlink_to_container (self, backlink); #line 660 "ContainerSourceCollection.c" } void container_source_collection_freeze_attached_notifications (ContainerSourceCollection* self) { -#line 91 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); #line 667 "ContainerSourceCollection.c" { GeeIterator* _collection_it = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _collection_it = _tmp1_; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 680 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -683,31 +683,31 @@ void container_source_collection_freeze_attached_notifications (ContainerSourceC GeeIterator* _tmp4_ = NULL; gpointer _tmp5_ = NULL; SourceCollection* _tmp6_ = NULL; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _collection_it; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 695 "ContainerSourceCollection.c" } -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = _collection_it; -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - collection = (SourceCollection*) _tmp5_; #line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + collection = (SourceCollection*) _tmp5_; +#line 94 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = collection; -#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 94 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection)); -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); #line 709 "ContainerSourceCollection.c" } -#line 92 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 93 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); #line 713 "ContainerSourceCollection.c" } @@ -715,20 +715,20 @@ void container_source_collection_freeze_attached_notifications (ContainerSourceC void container_source_collection_thaw_attached_notifications (ContainerSourceCollection* self) { -#line 96 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); #line 721 "ContainerSourceCollection.c" { GeeIterator* _collection_it = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _collection_it = _tmp1_; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 734 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -737,31 +737,31 @@ void container_source_collection_thaw_attached_notifications (ContainerSourceCol GeeIterator* _tmp4_ = NULL; gpointer _tmp5_ = NULL; SourceCollection* _tmp6_ = NULL; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _collection_it; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 749 "ContainerSourceCollection.c" } -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = _collection_it; -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - collection = (SourceCollection*) _tmp5_; #line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + collection = (SourceCollection*) _tmp5_; +#line 99 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = collection; -#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 99 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection)); -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); #line 763 "ContainerSourceCollection.c" } -#line 97 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 98 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); #line 767 "ContainerSourceCollection.c" } @@ -773,17 +773,17 @@ GeeCollection* container_source_collection_get_holding_tank (ContainerSourceColl GeeHashSet* _tmp0_ = NULL; GeeSet* _tmp1_ = NULL; GeeSet* _tmp2_ = NULL; -#line 101 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_val_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self), NULL); #line 102 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_val_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self), NULL); +#line 103 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 102 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 103 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_set_get_read_only_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_SET, GeeAbstractSet)); -#line 102 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 103 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _tmp1_; -#line 102 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 103 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection); -#line 102 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 103 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return result; #line 789 "ContainerSourceCollection.c" } @@ -792,15 +792,15 @@ GeeCollection* container_source_collection_get_holding_tank (ContainerSourceColl void container_source_collection_init_add_unlinked (ContainerSourceCollection* self, ContainerSource* unlinked) { GeeHashSet* _tmp0_ = NULL; ContainerSource* _tmp1_ = NULL; -#line 105 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 106 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 105 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (IS_CONTAINER_SOURCE (unlinked)); #line 106 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (IS_CONTAINER_SOURCE (unlinked)); +#line 107 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 106 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 107 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = unlinked; -#line 106 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 107 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); #line 806 "ContainerSourceCollection.c" } @@ -809,15 +809,15 @@ void container_source_collection_init_add_unlinked (ContainerSourceCollection* s void container_source_collection_init_add_many_unlinked (ContainerSourceCollection* self, GeeCollection* unlinked) { GeeHashSet* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 109 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 110 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 109 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (GEE_IS_COLLECTION (unlinked)); #line 110 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (GEE_IS_COLLECTION (unlinked)); +#line 111 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 110 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 111 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = unlinked; -#line 110 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 111 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" gee_collection_add_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), _tmp1_); #line 823 "ContainerSourceCollection.c" } @@ -829,31 +829,31 @@ gboolean container_source_collection_relink_from_holding_tank (ContainerSourceCo ContainerSource* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; ContainerSource* _tmp3_ = NULL; -#line 113 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 114 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_val_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self), FALSE); -#line 113 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_val_if_fail (IS_CONTAINER_SOURCE (source), FALSE); #line 114 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_val_if_fail (IS_CONTAINER_SOURCE (source), FALSE); +#line 115 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 114 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 115 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = source; -#line 114 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 115 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 114 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - if (!_tmp2_) { #line 115 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + if (!_tmp2_) { +#line 116 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" result = FALSE; -#line 115 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 116 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return result; #line 849 "ContainerSourceCollection.c" } -#line 117 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 118 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = source; -#line 117 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 118 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" source_collection_relink (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_COLLECTION, SourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_SOURCE, DataSource)); -#line 119 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 120 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" result = TRUE; -#line 119 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 120 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return result; #line 859 "ContainerSourceCollection.c" } @@ -862,28 +862,28 @@ gboolean container_source_collection_relink_from_holding_tank (ContainerSourceCo static void container_source_collection_on_contained_sources_unlinking (ContainerSourceCollection* self, GeeCollection* unlinking) { GeeHashMultiMap* map = NULL; GeeHashMultiMap* _tmp0_ = NULL; -#line 122 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 123 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 122 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (GEE_IS_COLLECTION (unlinking)); #line 123 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (GEE_IS_COLLECTION (unlinking)); +#line 124 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_freeze_attached_notifications (self); -#line 125 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 126 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = gee_hash_multi_map_new (TYPE_CONTAINER_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -#line 125 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 126 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" map = _tmp0_; #line 876 "ContainerSourceCollection.c" { GeeIterator* _source_it = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = unlinking; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_it = _tmp2_; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 889 "ContainerSourceCollection.c" GeeIterator* _tmp3_ = NULL; @@ -896,56 +896,56 @@ static void container_source_collection_on_contained_sources_unlinking (Containe GeeCollection* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; GeeCollection* _tmp10_ = NULL; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = _source_it; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp4_) { -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 908 "ContainerSourceCollection.c" } -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = _source_it; -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - source = (DataSource*) _tmp6_; #line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + source = (DataSource*) _tmp6_; +#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = source; -#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = container_source_collection_get_containers_holding_source (self, _tmp7_); -#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - containers = _tmp8_; #line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + containers = _tmp8_; +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = containers; -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp10_ == NULL) { -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = TRUE; #line 928 "ContainerSourceCollection.c" } else { GeeCollection* _tmp11_ = NULL; gint _tmp12_ = 0; gint _tmp13_ = 0; -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp11_ = containers; -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp12_ = gee_collection_get_size (_tmp11_); -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp13_ = _tmp12_; -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = _tmp13_ == 0; #line 941 "ContainerSourceCollection.c" } -#line 130 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - if (_tmp9_) { #line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + if (_tmp9_) { +#line 132 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (containers); -#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 132 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (source); -#line 131 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 132 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" continue; #line 951 "ContainerSourceCollection.c" } @@ -953,13 +953,13 @@ static void container_source_collection_on_contained_sources_unlinking (Containe GeeIterator* _container_it = NULL; GeeCollection* _tmp14_ = NULL; GeeIterator* _tmp15_ = NULL; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp14_ = containers; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp15_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _container_it = _tmp15_; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 965 "ContainerSourceCollection.c" GeeIterator* _tmp16_ = NULL; @@ -974,57 +974,57 @@ static void container_source_collection_on_contained_sources_unlinking (Containe ContainerSource* _tmp24_ = NULL; SourceBacklink* _tmp25_ = NULL; SourceBacklink* _tmp26_ = NULL; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp16_ = _container_it; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp17_ = gee_iterator_next (_tmp16_); -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp17_) { -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 986 "ContainerSourceCollection.c" } -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp18_ = _container_it; -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp19_ = gee_iterator_get (_tmp18_); -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - container = (ContainerSource*) _tmp19_; #line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + container = (ContainerSource*) _tmp19_; +#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp20_ = map; -#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp21_ = container; -#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp22_ = source; -#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - gee_multi_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp21_, _tmp22_); #line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + gee_multi_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp21_, _tmp22_); +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp23_ = source; -#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp24_ = container; -#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp25_ = container_source_get_backlink (_tmp24_); -#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp26_ = _tmp25_; -#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" data_source_set_backlink (_tmp23_, _tmp26_); -#line 135 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 136 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_backlink_unref0 (_tmp26_); -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); #line 1016 "ContainerSourceCollection.c" } -#line 133 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 134 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_container_it); #line 1020 "ContainerSourceCollection.c" } -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (containers); -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (source); #line 1026 "ContainerSourceCollection.c" } -#line 128 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 129 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_source_it); #line 1030 "ContainerSourceCollection.c" } @@ -1035,21 +1035,21 @@ static void container_source_collection_on_contained_sources_unlinking (Containe GeeSet* _tmp29_ = NULL; GeeIterator* _tmp30_ = NULL; GeeIterator* _tmp31_ = NULL; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp27_ = map; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp28_ = gee_multi_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_MULTI_MAP, GeeMultiMap)); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp29_ = _tmp28_; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp30_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp31_ = _tmp30_; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp29_); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _container_it = _tmp31_; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1055 "ContainerSourceCollection.c" GeeIterator* _tmp32_ = NULL; @@ -1062,54 +1062,54 @@ static void container_source_collection_on_contained_sources_unlinking (Containe ContainerSource* _tmp38_ = NULL; GeeCollection* _tmp39_ = NULL; GeeCollection* _tmp40_ = NULL; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp32_ = _container_it; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp33_ = gee_iterator_next (_tmp32_); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp33_) { -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1074 "ContainerSourceCollection.c" } -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp34_ = _container_it; -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp35_ = gee_iterator_get (_tmp34_); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - container = (ContainerSource*) _tmp35_; #line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + container = (ContainerSource*) _tmp35_; +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp36_ = container; -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp37_ = map; -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp38_ = container; -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp39_ = gee_multi_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp38_); -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp40_ = _tmp39_; -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_break_link_many (_tmp36_, _tmp40_); -#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 141 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp40_); -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); #line 1098 "ContainerSourceCollection.c" } -#line 139 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 140 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_container_it); #line 1102 "ContainerSourceCollection.c" } -#line 142 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 143 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_thaw_attached_notifications (self); -#line 122 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 123 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (map); #line 1108 "ContainerSourceCollection.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return self ? g_object_ref (self) : NULL; #line 1115 "ContainerSourceCollection.c" } @@ -1118,28 +1118,28 @@ static gpointer _g_object_ref0 (gpointer self) { static void container_source_collection_on_contained_sources_relinked (ContainerSourceCollection* self, GeeCollection* relinked) { GeeHashMultiMap* map = NULL; GeeHashMultiMap* _tmp0_ = NULL; -#line 145 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 146 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 145 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (GEE_IS_COLLECTION (relinked)); #line 146 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (GEE_IS_COLLECTION (relinked)); +#line 147 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_freeze_attached_notifications (self); -#line 148 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 149 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = gee_hash_multi_map_new (TYPE_CONTAINER_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -#line 148 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 149 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" map = _tmp0_; #line 1132 "ContainerSourceCollection.c" { GeeIterator* _source_it = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = relinked; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_it = _tmp2_; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1145 "ContainerSourceCollection.c" GeeIterator* _tmp3_ = NULL; @@ -1153,58 +1153,58 @@ static void container_source_collection_on_contained_sources_relinked (Container GeeList* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; GeeList* _tmp11_ = NULL; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = _source_it; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp4_) { -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1165 "ContainerSourceCollection.c" } -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = _source_it; -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - source = (DataSource*) _tmp6_; #line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + source = (DataSource*) _tmp6_; +#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = source; -#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = self->priv->backlink_name; -#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = data_source_get_backlinks (_tmp7_, _tmp8_); -#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - backlinks = _tmp9_; #line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + backlinks = _tmp9_; +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp11_ = backlinks; -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp11_ == NULL) { -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = TRUE; #line 1187 "ContainerSourceCollection.c" } else { GeeList* _tmp12_ = NULL; gint _tmp13_ = 0; gint _tmp14_ = 0; -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp12_ = backlinks; -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp13_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp14_ = _tmp13_; -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = _tmp14_ == 0; #line 1200 "ContainerSourceCollection.c" } -#line 153 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - if (_tmp10_) { #line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + if (_tmp10_) { +#line 155 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (backlinks); -#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 155 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (source); -#line 154 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 155 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" continue; #line 1210 "ContainerSourceCollection.c" } @@ -1217,23 +1217,23 @@ static void container_source_collection_on_contained_sources_relinked (Container gint _tmp18_ = 0; gint _tmp19_ = 0; gint _backlink_index = 0; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp15_ = backlinks; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp16_ = _g_object_ref0 (_tmp15_); -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _backlink_list = _tmp16_; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp17_ = _backlink_list; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp19_ = _tmp18_; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _backlink_size = _tmp19_; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _backlink_index = -1; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1239 "ContainerSourceCollection.c" gint _tmp20_ = 0; @@ -1247,49 +1247,49 @@ static void container_source_collection_on_contained_sources_relinked (Container SourceBacklink* _tmp26_ = NULL; ContainerSource* _tmp27_ = NULL; ContainerSource* _tmp28_ = NULL; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp20_ = _backlink_index; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _backlink_index = _tmp20_ + 1; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp21_ = _backlink_index; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp22_ = _backlink_size; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!(_tmp21_ < _tmp22_)) { -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1263 "ContainerSourceCollection.c" } -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp23_ = _backlink_list; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp24_ = _backlink_index; -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp25_ = gee_list_get (_tmp23_, _tmp24_); -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - backlink = (SourceBacklink*) _tmp25_; #line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + backlink = (SourceBacklink*) _tmp25_; +#line 158 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp26_ = backlink; -#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 158 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp27_ = container_source_collection_convert_backlink_to_container (self, _tmp26_); -#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - container = _tmp27_; #line 158 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + container = _tmp27_; +#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp28_ = container; -#line 158 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp28_ != NULL) { #line 1283 "ContainerSourceCollection.c" GeeHashMultiMap* _tmp29_ = NULL; ContainerSource* _tmp30_ = NULL; DataSource* _tmp31_ = NULL; -#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 160 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp29_ = map; -#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 160 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp30_ = container; -#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 160 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp31_ = source; -#line 159 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 160 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" gee_multi_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp30_, _tmp31_); #line 1295 "ContainerSourceCollection.c" } else { @@ -1299,44 +1299,44 @@ static void container_source_collection_on_contained_sources_relinked (Container SourceBacklink* _tmp35_ = NULL; gchar* _tmp36_ = NULL; gchar* _tmp37_ = NULL; -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp32_ = source; -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp33_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_OBJECT, DataObject)); -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp34_ = _tmp33_; -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp35_ = backlink; -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp36_ = source_backlink_to_string (_tmp35_); -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp37_ = _tmp36_; -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_warning ("ContainerSourceCollection.vala:161: Unable to relink %s to container b" \ +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_warning ("ContainerSourceCollection.vala:162: Unable to relink %s to container b" \ "acklink %s", _tmp34_, _tmp37_); -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_free0 (_tmp37_); -#line 161 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 162 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_free0 (_tmp34_); #line 1321 "ContainerSourceCollection.c" } -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_backlink_unref0 (backlink); #line 1327 "ContainerSourceCollection.c" } -#line 156 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 157 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_backlink_list); #line 1331 "ContainerSourceCollection.c" } -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (backlinks); -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (source); #line 1337 "ContainerSourceCollection.c" } -#line 151 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 152 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_source_it); #line 1341 "ContainerSourceCollection.c" } @@ -1347,21 +1347,21 @@ static void container_source_collection_on_contained_sources_relinked (Container GeeSet* _tmp40_ = NULL; GeeIterator* _tmp41_ = NULL; GeeIterator* _tmp42_ = NULL; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp38_ = map; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp39_ = gee_multi_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, GEE_TYPE_MULTI_MAP, GeeMultiMap)); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp40_ = _tmp39_; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp41_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp42_ = _tmp41_; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp40_); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _container_it = _tmp42_; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1366 "ContainerSourceCollection.c" GeeIterator* _tmp43_ = NULL; @@ -1374,47 +1374,47 @@ static void container_source_collection_on_contained_sources_relinked (Container ContainerSource* _tmp49_ = NULL; GeeCollection* _tmp50_ = NULL; GeeCollection* _tmp51_ = NULL; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp43_ = _container_it; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp44_ = gee_iterator_next (_tmp43_); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp44_) { -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1385 "ContainerSourceCollection.c" } -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp45_ = _container_it; -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp46_ = gee_iterator_get (_tmp45_); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - container = (ContainerSource*) _tmp46_; #line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + container = (ContainerSource*) _tmp46_; +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp47_ = container; -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp48_ = map; -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp49_ = container; -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp50_ = gee_multi_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp49_); -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp51_ = _tmp50_; -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_establish_link_many (_tmp47_, _tmp51_); -#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 169 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp51_); -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); #line 1409 "ContainerSourceCollection.c" } -#line 167 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 168 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_container_it); #line 1413 "ContainerSourceCollection.c" } -#line 170 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 171 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_thaw_attached_notifications (self); -#line 145 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 146 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (map); #line 1419 "ContainerSourceCollection.c" } @@ -1424,17 +1424,17 @@ static void container_source_collection_on_contained_source_destroyed (Container GeeIterator* iter = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 173 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 174 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 173 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (IS_DATA_SOURCE (source)); #line 174 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (IS_DATA_SOURCE (source)); +#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->holding_tank; -#line 174 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 174 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - iter = _tmp1_; #line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + iter = _tmp1_; +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1439 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -1445,60 +1445,60 @@ static void container_source_collection_on_contained_source_destroyed (Container gboolean _tmp6_ = FALSE; ContainerSource* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; -#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = iter; -#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1456 "ContainerSourceCollection.c" } -#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 177 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = iter; -#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 177 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 177 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container = (ContainerSource*) _tmp5_; -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = container; -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = container_source_has_links (_tmp7_); -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp8_) { #line 1470 "ContainerSourceCollection.c" ContainerSource* _tmp9_ = NULL; -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = container; -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = !G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_TAG); #line 1476 "ContainerSourceCollection.c" } else { -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = FALSE; #line 1480 "ContainerSourceCollection.c" } -#line 180 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp6_) { #line 1484 "ContainerSourceCollection.c" GeeIterator* _tmp10_ = NULL; ContainerSource* _tmp11_ = NULL; -#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 182 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = iter; -#line 181 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - gee_iterator_remove (_tmp10_); #line 182 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + gee_iterator_remove (_tmp10_); +#line 183 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp11_ = container; -#line 182 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 183 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" data_source_destroy_orphan (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_SOURCE, DataSource), TRUE); #line 1495 "ContainerSourceCollection.c" } -#line 175 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 176 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (container); #line 1499 "ContainerSourceCollection.c" } -#line 173 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 174 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (iter); #line 1503 "ContainerSourceCollection.c" } @@ -1507,22 +1507,22 @@ static void container_source_collection_on_contained_source_destroyed (Container static void container_source_collection_real_notify_item_destroyed (SourceCollection* base, DataSource* source) { ContainerSourceCollection * self; DataSource* _tmp10_ = NULL; -#line 187 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection); -#line 187 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_DATA_SOURCE (source)); #line 1514 "ContainerSourceCollection.c" { GeeIterator* _collection_it = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _collection_it = _tmp1_; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1527 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -1534,45 +1534,45 @@ static void container_source_collection_real_notify_item_destroyed (SourceCollec DataSource* _tmp7_ = NULL; SourceBacklink* _tmp8_ = NULL; SourceBacklink* _tmp9_ = NULL; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _collection_it; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1545 "ContainerSourceCollection.c" } -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = _collection_it; -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - collection = (SourceCollection*) _tmp5_; #line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + collection = (SourceCollection*) _tmp5_; +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = collection; -#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = source; -#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = container_source_get_backlink (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONTAINER_SOURCE, ContainerSource)); -#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = _tmp8_; -#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" source_collection_remove_backlink (_tmp6_, _tmp9_); -#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 190 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_backlink_unref0 (_tmp9_); -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); #line 1567 "ContainerSourceCollection.c" } -#line 188 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 189 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); #line 1571 "ContainerSourceCollection.c" } -#line 192 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 193 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = source; -#line 192 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 193 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" SOURCE_COLLECTION_CLASS (container_source_collection_parent_class)->notify_item_destroyed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollection), TYPE_SOURCE_COLLECTION, SourceCollection), _tmp10_); #line 1577 "ContainerSourceCollection.c" } @@ -1582,22 +1582,22 @@ void container_source_collection_evaporate (ContainerSourceCollection* self, Con ContainerSource* _tmp21_ = NULL; Marker* _tmp22_ = NULL; Marker* _tmp23_ = NULL; -#line 199 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 199 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); #line 1589 "ContainerSourceCollection.c" { GeeIterator* _collection_it = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _collection_it = _tmp1_; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1602 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -1611,37 +1611,37 @@ void container_source_collection_evaporate (ContainerSourceCollection* self, Con SourceBacklink* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; gboolean _tmp11_ = FALSE; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _collection_it; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1622 "ContainerSourceCollection.c" } -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = _collection_it; -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - collection = (SourceCollection*) _tmp5_; #line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + collection = (SourceCollection*) _tmp5_; +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = collection; -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = container; -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = container_source_get_backlink (_tmp7_); -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = _tmp8_; -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = source_collection_has_backlink (_tmp6_, _tmp9_); -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp11_ = _tmp10_; -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _source_backlink_unref0 (_tmp9_); -#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp11_) { #line 1646 "ContainerSourceCollection.c" ContainerSource* _tmp12_ = NULL; @@ -1654,85 +1654,85 @@ void container_source_collection_evaporate (ContainerSourceCollection* self, Con ContainerSource* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; gboolean _tmp20_ = FALSE; -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp12_ = container; -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp13_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject)); -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp14_ = _tmp13_; -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp15_ = source_collection_unlink_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp14_, NULL, NULL); -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp16_ = _tmp15_; -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp16_); -#line 202 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - _g_object_unref0 (_tmp14_); #line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + _g_object_unref0 (_tmp14_); +#line 204 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp17_ = self->priv->holding_tank; -#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 204 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp18_ = container; -#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 204 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp19_ = gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp18_); -#line 203 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - added = _tmp19_; #line 204 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + added = _tmp19_; +#line 205 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp20_ = added; -#line 204 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - _vala_assert (_tmp20_, "added"); #line 205 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + _vala_assert (_tmp20_, "added"); +#line 206 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); -#line 205 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 206 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); -#line 205 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 206 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return; #line 1689 "ContainerSourceCollection.c" } -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); #line 1693 "ContainerSourceCollection.c" } -#line 200 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 201 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); #line 1697 "ContainerSourceCollection.c" } -#line 209 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 210 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp21_ = container; -#line 209 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 210 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp22_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_OBJECT, DataObject)); -#line 209 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 210 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp23_ = _tmp22_; -#line 209 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 210 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" source_collection_destroy_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp23_, TRUE, NULL, NULL, NULL); -#line 209 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 210 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_tmp23_); #line 1709 "ContainerSourceCollection.c" } static void _container_source_collection_on_contained_sources_unlinking_source_collection_items_unlinking (SourceCollection* _sender, GeeCollection* unlinking, gpointer self) { -#line 220 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 221 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_on_contained_sources_unlinking ((ContainerSourceCollection*) self, unlinking); #line 1716 "ContainerSourceCollection.c" } static void _container_source_collection_on_contained_sources_relinked_source_collection_items_relinked (SourceCollection* _sender, GeeCollection* relinked, gpointer self) { -#line 221 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 222 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_on_contained_sources_relinked ((ContainerSourceCollection*) self, relinked); #line 1723 "ContainerSourceCollection.c" } static void _container_source_collection_on_contained_source_destroyed_source_collection_item_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) { -#line 222 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 223 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_on_contained_source_destroyed ((ContainerSourceCollection*) self, source); #line 1730 "ContainerSourceCollection.c" } static void _container_source_collection_on_contained_source_destroyed_source_collection_unlinked_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) { -#line 223 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 224 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_on_contained_source_destroyed ((ContainerSourceCollection*) self, source); #line 1737 "ContainerSourceCollection.c" } @@ -1748,17 +1748,17 @@ void container_source_collection_attach_collection (ContainerSourceCollection* s SourceCollection* _tmp11_ = NULL; SourceCollection* _tmp12_ = NULL; SourceCollection* _tmp13_ = NULL; -#line 212 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 213 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); -#line 212 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_return_if_fail (IS_SOURCE_COLLECTION (collection)); #line 213 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_return_if_fail (IS_SOURCE_COLLECTION (collection)); +#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 213 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = collection; -#line 213 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 213 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (_tmp2_) { #line 1763 "ContainerSourceCollection.c" SourceCollection* _tmp3_ = NULL; @@ -1766,48 +1766,48 @@ void container_source_collection_attach_collection (ContainerSourceCollection* s gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = collection; -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = data_collection_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection)); -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = _tmp4_; -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = data_collection_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp7_ = _tmp6_; -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_warning ("ContainerSourceCollection.vala:214: attempted to multiple-attach '%s' " \ +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_warning ("ContainerSourceCollection.vala:215: attempted to multiple-attach '%s' " \ "to '%s'", _tmp5_, _tmp7_); -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_free0 (_tmp7_); -#line 214 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - _g_free0 (_tmp5_); #line 215 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + _g_free0 (_tmp5_); +#line 216 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" return; #line 1787 "ContainerSourceCollection.c" } -#line 218 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 219 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = self->priv->attached_collections; -#line 218 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 219 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp9_ = collection; -#line 218 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 219 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp9_); -#line 220 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 221 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = collection; -#line 220 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_connect (_tmp10_, "items-unlinking", (GCallback) _container_source_collection_on_contained_sources_unlinking_source_collection_items_unlinking, self); #line 221 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_connect (_tmp10_, "items-unlinking", (GCallback) _container_source_collection_on_contained_sources_unlinking_source_collection_items_unlinking, self); +#line 222 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp11_ = collection; -#line 221 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_connect (_tmp11_, "items-relinked", (GCallback) _container_source_collection_on_contained_sources_relinked_source_collection_items_relinked, self); #line 222 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_connect (_tmp11_, "items-relinked", (GCallback) _container_source_collection_on_contained_sources_relinked_source_collection_items_relinked, self); +#line 223 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp12_ = collection; -#line 222 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_connect (_tmp12_, "item-destroyed", (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_item_destroyed, self); #line 223 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_connect (_tmp12_, "item-destroyed", (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_item_destroyed, self); +#line 224 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp13_ = collection; -#line 223 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 224 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_connect (_tmp13_, "unlinked-destroyed", (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_unlinked_destroyed, self); #line 1811 "ContainerSourceCollection.c" } @@ -1815,20 +1815,20 @@ void container_source_collection_attach_collection (ContainerSourceCollection* s void container_source_collection_detach_all_collections (ContainerSourceCollection* self) { GeeHashSet* _tmp14_ = NULL; -#line 226 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE_COLLECTION (self)); #line 1819 "ContainerSourceCollection.c" { GeeIterator* _collection_it = NULL; GeeHashSet* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp0_ = self->priv->attached_collections; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp1_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _collection_it = _tmp1_; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" while (TRUE) { #line 1832 "ContainerSourceCollection.c" GeeIterator* _tmp2_ = NULL; @@ -1844,57 +1844,57 @@ void container_source_collection_detach_all_collections (ContainerSourceCollecti guint _tmp11_ = 0U; SourceCollection* _tmp12_ = NULL; guint _tmp13_ = 0U; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp2_ = _collection_it; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" if (!_tmp3_) { -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" break; #line 1854 "ContainerSourceCollection.c" } -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp4_ = _collection_it; -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - collection = (SourceCollection*) _tmp5_; #line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + collection = (SourceCollection*) _tmp5_; +#line 229 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp6_ = collection; -#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 229 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_parse_name ("items-unlinking", TYPE_SOURCE_COLLECTION, &_tmp7_, NULL, FALSE); -#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _container_source_collection_on_contained_sources_unlinking_source_collection_items_unlinking, self); #line 229 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _container_source_collection_on_contained_sources_unlinking_source_collection_items_unlinking, self); +#line 230 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp8_ = collection; -#line 229 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 230 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_parse_name ("items-relinked", TYPE_SOURCE_COLLECTION, &_tmp9_, NULL, FALSE); -#line 229 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _container_source_collection_on_contained_sources_relinked_source_collection_items_relinked, self); #line 230 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _container_source_collection_on_contained_sources_relinked_source_collection_items_relinked, self); +#line 231 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp10_ = collection; -#line 230 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 231 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_parse_name ("item-destroyed", TYPE_SOURCE_COLLECTION, &_tmp11_, NULL, FALSE); -#line 230 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" - g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_item_destroyed, self); #line 231 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" + g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_item_destroyed, self); +#line 232 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp12_ = collection; -#line 231 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 232 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_parse_name ("unlinked-destroyed", TYPE_SOURCE_COLLECTION, &_tmp13_, NULL, FALSE); -#line 231 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 232 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _container_source_collection_on_contained_source_destroyed_source_collection_unlinked_destroyed, self); -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _data_collection_unref0 (collection); #line 1888 "ContainerSourceCollection.c" } -#line 227 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 228 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (_collection_it); #line 1892 "ContainerSourceCollection.c" } -#line 234 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 235 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _tmp14_ = self->priv->attached_collections; -#line 234 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 235 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" gee_abstract_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); #line 1898 "ContainerSourceCollection.c" } @@ -1992,9 +1992,9 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_BOOLEAN_OBJECT_BOOLEAN ( static void container_source_collection_real_backlink_to_container_removed (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* sources) { -#line 33 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 34 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (IS_CONTAINER_SOURCE (container)); -#line 33 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 34 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" g_return_if_fail (GEE_IS_COLLECTION (sources)); #line 1998 "ContainerSourceCollection.c" } @@ -2095,7 +2095,7 @@ static void container_source_collection_finalize (DataCollection* obj) { ContainerSourceCollection * self; #line 15 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection); -#line 45 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" +#line 46 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" container_source_collection_detach_all_collections (self); #line 16 "/home/jens/Source/shotwell/src/core/ContainerSourceCollection.vala" _g_object_unref0 (self->priv->attached_collections); diff --git a/src/core/ContainerSourceCollection.vala b/src/core/ContainerSourceCollection.vala index a5b0fbc..cf6218a 100644 --- a/src/core/ContainerSourceCollection.vala +++ b/src/core/ContainerSourceCollection.vala @@ -18,15 +18,16 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection { private Gee.HashSet<ContainerSource> holding_tank = new Gee.HashSet<ContainerSource>(); public virtual signal void container_contents_added(ContainerSource container, - Gee.Collection<DataSource> added, bool relinked) { + Gee.Collection<DataObject> added, bool relinked) { } public virtual signal void container_contents_removed(ContainerSource container, - Gee.Collection<DataSource> removed, bool unlinked) { + Gee.Collection<DataObject> removed, bool unlinked) { } public virtual signal void container_contents_altered(ContainerSource container, - Gee.Collection<DataSource>? added, bool relinked, Gee.Collection<DataSource>? removed, + Gee.Collection<DataObject>? added, bool relinked, + Gee.Collection<DataObject>? removed, bool unlinked) { } @@ -55,7 +56,7 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection { } public virtual void notify_container_contents_added(ContainerSource container, - Gee.Collection<DataSource> added, bool relinked) { + Gee.Collection<DataObject> added, bool relinked) { // if container is in holding tank, remove it now and relink to collection if (holding_tank.contains(container)) { bool removed = holding_tank.remove(container); @@ -68,12 +69,12 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection { } public virtual void notify_container_contents_removed(ContainerSource container, - Gee.Collection<DataSource> removed, bool unlinked) { + Gee.Collection<DataObject> removed, bool unlinked) { container_contents_removed(container, removed, unlinked); } public virtual void notify_container_contents_altered(ContainerSource container, - Gee.Collection<DataSource>? added, bool relinked, Gee.Collection<DataSource>? removed, + Gee.Collection<DataObject>? added, bool relinked, Gee.Collection<DataSource>? removed, bool unlinked) { container_contents_altered(container, added, relinked, removed, unlinked); } diff --git a/src/core/Core.c b/src/core/Core.c index 7fd60d2..5c9e67d 100644 --- a/src/core/Core.c +++ b/src/core/Core.c @@ -1,4 +1,4 @@ -/* Core.c generated by valac 0.32.1, the Vala compiler +/* Core.c generated by valac 0.34.1, the Vala compiler * generated from Core.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataCollection.c b/src/core/DataCollection.c index 7040412..457e2f7 100644 --- a/src/core/DataCollection.c +++ b/src/core/DataCollection.c @@ -1,4 +1,4 @@ -/* DataCollection.c generated by valac 0.32.1, the Vala compiler +/* DataCollection.c generated by valac 0.34.1, the Vala compiler * generated from DataCollection.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataObject.c b/src/core/DataObject.c index 7aaf2eb..84a9366 100644 --- a/src/core/DataObject.c +++ b/src/core/DataObject.c @@ -1,4 +1,4 @@ -/* DataObject.c generated by valac 0.32.1, the Vala compiler +/* DataObject.c generated by valac 0.34.1, the Vala compiler * generated from DataObject.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataSet.c b/src/core/DataSet.c index 75c2ca2..6d2c3c6 100644 --- a/src/core/DataSet.c +++ b/src/core/DataSet.c @@ -1,4 +1,4 @@ -/* DataSet.c generated by valac 0.32.1, the Vala compiler +/* DataSet.c generated by valac 0.34.1, the Vala compiler * generated from DataSet.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataSource.c b/src/core/DataSource.c index 2b48942..fca0c0a 100644 --- a/src/core/DataSource.c +++ b/src/core/DataSource.c @@ -1,4 +1,4 @@ -/* DataSource.c generated by valac 0.32.1, the Vala compiler +/* DataSource.c generated by valac 0.34.1, the Vala compiler * generated from DataSource.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -3356,19 +3356,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3373 "DataSource.c" } @@ -3499,17 +3499,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3514 "DataSource.c" } @@ -3745,15 +3745,15 @@ static gint64 int64_parse (const gchar* str) { gint64 result = 0LL; const gchar* _tmp0_ = NULL; gint64 _tmp1_ = 0LL; -#line 679 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 679 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (str != NULL, 0LL); -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_ascii_strtoll (_tmp0_, NULL, (guint) 0); -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3758 "DataSource.c" } diff --git a/src/core/DataSourceTypes.c b/src/core/DataSourceTypes.c index 0abd6e8..a576ccc 100644 --- a/src/core/DataSourceTypes.c +++ b/src/core/DataSourceTypes.c @@ -1,4 +1,4 @@ -/* DataSourceTypes.c generated by valac 0.32.1, the Vala compiler +/* DataSourceTypes.c generated by valac 0.34.1, the Vala compiler * generated from DataSourceTypes.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataView.c b/src/core/DataView.c index 40153fc..7729be1 100644 --- a/src/core/DataView.c +++ b/src/core/DataView.c @@ -1,4 +1,4 @@ -/* DataView.c generated by valac 0.32.1, the Vala compiler +/* DataView.c generated by valac 0.34.1, the Vala compiler * generated from DataView.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DataViewTypes.c b/src/core/DataViewTypes.c index 0e55db0..cbb3a73 100644 --- a/src/core/DataViewTypes.c +++ b/src/core/DataViewTypes.c @@ -1,4 +1,4 @@ -/* DataViewTypes.c generated by valac 0.32.1, the Vala compiler +/* DataViewTypes.c generated by valac 0.34.1, the Vala compiler * generated from DataViewTypes.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/DatabaseSourceCollection.c b/src/core/DatabaseSourceCollection.c index b83be40..b9606dd 100644 --- a/src/core/DatabaseSourceCollection.c +++ b/src/core/DatabaseSourceCollection.c @@ -1,4 +1,4 @@ -/* DatabaseSourceCollection.c generated by valac 0.32.1, the Vala compiler +/* DatabaseSourceCollection.c generated by valac 0.34.1, the Vala compiler * generated from DatabaseSourceCollection.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/SourceCollection.c b/src/core/SourceCollection.c index 6321f92..fc92bbd 100644 --- a/src/core/SourceCollection.c +++ b/src/core/SourceCollection.c @@ -1,4 +1,4 @@ -/* SourceCollection.c generated by valac 0.32.1, the Vala compiler +/* SourceCollection.c generated by valac 0.34.1, the Vala compiler * generated from SourceCollection.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/SourceHoldingTank.c b/src/core/SourceHoldingTank.c index ed7d671..c1b3e97 100644 --- a/src/core/SourceHoldingTank.c +++ b/src/core/SourceHoldingTank.c @@ -1,4 +1,4 @@ -/* SourceHoldingTank.c generated by valac 0.32.1, the Vala compiler +/* SourceHoldingTank.c generated by valac 0.34.1, the Vala compiler * generated from SourceHoldingTank.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/SourceInterfaces.c b/src/core/SourceInterfaces.c index 5cfc5a9..4df09cd 100644 --- a/src/core/SourceInterfaces.c +++ b/src/core/SourceInterfaces.c @@ -1,4 +1,4 @@ -/* SourceInterfaces.c generated by valac 0.32.1, the Vala compiler +/* SourceInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from SourceInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/Tracker.c b/src/core/Tracker.c index fa66f0e..1d1bd50 100644 --- a/src/core/Tracker.c +++ b/src/core/Tracker.c @@ -1,4 +1,4 @@ -/* Tracker.c generated by valac 0.32.1, the Vala compiler +/* Tracker.c generated by valac 0.34.1, the Vala compiler * generated from Tracker.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/core/ViewCollection.c b/src/core/ViewCollection.c index 597091c..7c35370 100644 --- a/src/core/ViewCollection.c +++ b/src/core/ViewCollection.c @@ -1,4 +1,4 @@ -/* ViewCollection.c generated by valac 0.32.1, the Vala compiler +/* ViewCollection.c generated by valac 0.34.1, the Vala compiler * generated from ViewCollection.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -4128,27 +4128,27 @@ static void view_collection_real_items_altered (DataCollection* base, GeeMap* ma GeeMap* _tmp0_ = NULL; GeeSet* _tmp1_ = NULL; GeeSet* _tmp2_ = NULL; - GeeSet* _tmp3_ = NULL; + GeeCollection* _tmp3_ = NULL; GeeMap* _tmp4_ = NULL; #line 648 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 648 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (GEE_IS_MAP (map)); -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = map; -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = gee_map_get_keys (_tmp0_); -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - _tmp3_ = _tmp2_; -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_filter_altered_items (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection); +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_filter_altered_items (self, _tmp3_); +#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 651 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 652 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = map; -#line 651 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 652 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" DATA_COLLECTION_CLASS (view_collection_parent_class)->items_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp4_); #line 4153 "ViewCollection.c" } @@ -4166,23 +4166,23 @@ static void view_collection_real_set_comparator (DataCollection* base, Comparato void* _tmp7__target = NULL; ComparatorPredicate _tmp8_ = NULL; void* _tmp8__target = NULL; -#line 654 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = comparator; -#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1__target = comparator_target; -#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = predicate; -#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2__target = predicate_target; -#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - data_set_set_comparator (_tmp0_, _tmp1_, _tmp1__target, _tmp2_, _tmp2__target); #line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + data_set_set_comparator (_tmp0_, _tmp1_, _tmp1__target, _tmp2_, _tmp2__target); +#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = self->priv->visible; -#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp3_ != NULL) { #line 4187 "ViewCollection.c" DataSet* _tmp4_ = NULL; @@ -4190,29 +4190,29 @@ static void view_collection_real_set_comparator (DataCollection* base, Comparato void* _tmp5__target = NULL; ComparatorPredicate _tmp6_ = NULL; void* _tmp6__target = NULL; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = self->priv->visible; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = comparator; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5__target = comparator_target; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = predicate; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6__target = predicate_target; -#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_set_set_comparator (_tmp4_, _tmp5_, _tmp5__target, _tmp6_, _tmp6__target); #line 4205 "ViewCollection.c" } -#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = comparator; -#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7__target = comparator_target; -#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = predicate; -#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8__target = predicate_target; -#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" DATA_COLLECTION_CLASS (view_collection_parent_class)->set_comparator (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_, _tmp7__target, _tmp8_, _tmp8__target); #line 4217 "ViewCollection.c" } @@ -4222,25 +4222,25 @@ static void view_collection_real_reset_comparator (DataCollection* base) { ViewCollection * self; DataSet* _tmp0_ = NULL; DataSet* _tmp1_ = NULL; -#line 662 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 663 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 663 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - data_set_reset_comparator (_tmp0_); #line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + data_set_reset_comparator (_tmp0_); +#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 4235 "ViewCollection.c" DataSet* _tmp2_ = NULL; -#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 666 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 666 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_set_reset_comparator (_tmp2_); #line 4241 "ViewCollection.c" } -#line 667 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 668 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" DATA_COLLECTION_CLASS (view_collection_parent_class)->reset_comparator (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); #line 4245 "ViewCollection.c" } @@ -4251,37 +4251,37 @@ static GeeCollection* view_collection_real_get_all (DataCollection* base) { GeeCollection* result = NULL; GeeCollection* _tmp0_ = NULL; DataSet* _tmp1_ = NULL; -#line 670 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 4260 "ViewCollection.c" DataSet* _tmp2_ = NULL; GeeList* _tmp3_ = NULL; -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_set_get_all (_tmp2_); -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); #line 4271 "ViewCollection.c" } else { GeeCollection* _tmp4_ = NULL; -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp4_; #line 4280 "ViewCollection.c" } -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4286 "ViewCollection.c" } @@ -4290,13 +4290,13 @@ static GeeCollection* view_collection_real_get_all (DataCollection* base) { GeeCollection* view_collection_get_all_unfiltered (ViewCollection* self) { GeeCollection* result = NULL; GeeCollection* _tmp0_ = NULL; -#line 674 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4301 "ViewCollection.c" } @@ -4307,33 +4307,33 @@ static gint view_collection_real_get_count (DataCollection* base) { gint result = 0; gint _tmp0_ = 0; DataSet* _tmp1_ = NULL; -#line 678 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 4316 "ViewCollection.c" DataSet* _tmp2_ = NULL; gint _tmp3_ = 0; -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_set_get_count (_tmp2_); -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp3_; #line 4325 "ViewCollection.c" } else { gint _tmp4_ = 0; -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp4_; #line 4332 "ViewCollection.c" } -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4338 "ViewCollection.c" } @@ -4342,13 +4342,13 @@ static gint view_collection_real_get_count (DataCollection* base) { gint view_collection_get_unfiltered_count (ViewCollection* self) { gint result = 0; gint _tmp0_ = 0; -#line 682 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); #line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); +#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4353 "ViewCollection.c" } @@ -4359,43 +4359,43 @@ static DataObject* view_collection_real_get_at (DataCollection* base, gint index DataObject* result = NULL; DataObject* _tmp0_ = NULL; DataSet* _tmp1_ = NULL; -#line 686 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 4368 "ViewCollection.c" DataSet* _tmp2_ = NULL; gint _tmp3_ = 0; DataObject* _tmp4_ = NULL; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = index; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = data_set_get_at (_tmp2_, _tmp3_); -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp4_; #line 4382 "ViewCollection.c" } else { gint _tmp5_ = 0; DataObject* _tmp6_ = NULL; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = index; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp5_); -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp6_; #line 4394 "ViewCollection.c" } -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4400 "ViewCollection.c" } @@ -4406,41 +4406,41 @@ static gint view_collection_real_index_of (DataCollection* base, DataObject* obj gint result = 0; gint _tmp0_ = 0; DataSet* _tmp1_ = NULL; -#line 690 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); -#line 690 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_OBJECT (object), 0); #line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_OBJECT (object), 0); +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 4417 "ViewCollection.c" DataSet* _tmp2_ = NULL; DataObject* _tmp3_ = NULL; gint _tmp4_ = 0; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = object; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = data_set_index_of (_tmp2_, _tmp3_); -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp4_; #line 4429 "ViewCollection.c" } else { DataObject* _tmp5_ = NULL; gint _tmp6_ = 0; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = object; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp5_); -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp6_; #line 4439 "ViewCollection.c" } -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4445 "ViewCollection.c" } @@ -4453,29 +4453,29 @@ static gboolean view_collection_real_contains (DataCollection* base, DataObject* gboolean _tmp1_ = FALSE; DataObject* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 694 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 695 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); -#line 694 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 695 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); -#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = object; -#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->contains (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp0_); -#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (!_tmp1_) { #line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (!_tmp1_) { +#line 699 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = FALSE; -#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 699 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4470 "ViewCollection.c" } -#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = object; -#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = view_collection_is_visible (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView)); -#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp3_; -#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4480 "ViewCollection.c" } @@ -4485,38 +4485,38 @@ static DataView* view_collection_real_get_first (ViewCollection* self) { DataView* result = NULL; DataView* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ > 0) { #line 4492 "ViewCollection.c" DataObject* _tmp2_ = NULL; -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), 0); -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView); #line 4500 "ViewCollection.c" } else { -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = NULL; #line 4506 "ViewCollection.c" } -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4512 "ViewCollection.c" } DataView* view_collection_get_first (ViewCollection* self) { -#line 704 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 704 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_COLLECTION_GET_CLASS (self)->get_first (self); #line 4521 "ViewCollection.c" } @@ -4540,25 +4540,25 @@ static DataView* view_collection_real_get_first_unrejected (ViewCollection* self gint num_views = 0; gint _tmp2_ = 0; DataView* _tmp17_ = NULL; -#line 720 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 720 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp0_ < 1) { #line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp0_ < 1) { +#line 722 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 722 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4551 "ViewCollection.c" } -#line 724 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view_collection_get_first (self); -#line 724 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - dv = _tmp1_; #line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + dv = _tmp1_; +#line 726 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 726 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" num_views = _tmp2_; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 4563 "ViewCollection.c" gboolean _tmp3_ = FALSE; @@ -4569,109 +4569,109 @@ static DataView* view_collection_real_get_first_unrejected (ViewCollection* self MediaSource* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; MediaSource* _tmp12_ = NULL; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = dv; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp4_ != NULL) { #line 4576 "ViewCollection.c" DataView* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = dv; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject)); -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = num_views; -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp6_ < (_tmp7_ - 1); #line 4588 "ViewCollection.c" } else { -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = FALSE; #line 4592 "ViewCollection.c" } -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp3_) { -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 4598 "ViewCollection.c" } -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = dv; -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = data_view_get_source (_tmp8_); -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp9_) : NULL; -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp10_ == NULL) { -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp9_); #line 4610 "ViewCollection.c" } -#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" tmp = _tmp10_; -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = tmp; -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp12_ != NULL) { #line 4618 "ViewCollection.c" MediaSource* _tmp13_ = NULL; Rating _tmp14_ = 0; -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = tmp; -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = media_source_get_rating (_tmp13_); -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = _tmp14_ != RATING_REJECTED; #line 4627 "ViewCollection.c" } else { -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = FALSE; #line 4631 "ViewCollection.c" } -#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp11_) { -#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = dv; -#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (tmp); -#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4641 "ViewCollection.c" } else { DataView* _tmp15_ = NULL; DataView* _tmp16_ = NULL; -#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = dv; -#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = view_collection_get_next (self, _tmp15_); -#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (dv); -#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" dv = _tmp16_; #line 4653 "ViewCollection.c" } -#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (tmp); #line 4657 "ViewCollection.c" } -#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = view_collection_get_first (self); -#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp17_; -#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (dv); -#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4667 "ViewCollection.c" } DataView* view_collection_get_first_unrejected (ViewCollection* self) { -#line 718 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 719 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 718 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 719 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_COLLECTION_GET_CLASS (self)->get_first_unrejected (self); #line 4676 "ViewCollection.c" } @@ -4681,41 +4681,41 @@ static DataView* view_collection_real_get_last (ViewCollection* self) { DataView* result = NULL; DataView* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ > 0) { #line 4688 "ViewCollection.c" gint _tmp2_ = 0; DataObject* _tmp3_ = NULL; -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp2_ - 1); -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_VIEW, DataView); #line 4699 "ViewCollection.c" } else { -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp0_); -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = NULL; #line 4705 "ViewCollection.c" } -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4711 "ViewCollection.c" } DataView* view_collection_get_last (ViewCollection* self) { -#line 743 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 743 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_COLLECTION_GET_CLASS (self)->get_last (self); #line 4720 "ViewCollection.c" } @@ -4733,64 +4733,64 @@ static DataView* view_collection_real_get_next (ViewCollection* self, DataView* gint _tmp6_ = 0; gint _tmp7_ = 0; DataObject* _tmp8_ = NULL; -#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_VIEW (view), NULL); #line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_VIEW (view), NULL); +#line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp0_ == 0) { #line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp0_ == 0) { +#line 750 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 750 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4746 "ViewCollection.c" } -#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view; -#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject)); -#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - index = _tmp2_; #line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + index = _tmp2_; +#line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = index; -#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp3_ < 0) { #line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp3_ < 0) { +#line 754 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 754 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4762 "ViewCollection.c" } -#line 755 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = index; -#line 755 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - index = _tmp4_ + 1; #line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + index = _tmp4_ + 1; +#line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = index; -#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp5_ >= _tmp6_) { #line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp5_ >= _tmp6_) { +#line 758 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" index = 0; #line 4776 "ViewCollection.c" } -#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = index; -#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_); -#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView); -#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4786 "ViewCollection.c" } DataView* view_collection_get_next (ViewCollection* self, DataView* view) { -#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_COLLECTION_GET_CLASS (self)->get_next (self, view); #line 4795 "ViewCollection.c" } @@ -4807,66 +4807,66 @@ static DataView* view_collection_real_get_previous (ViewCollection* self, DataVi gint _tmp5_ = 0; gint _tmp7_ = 0; DataObject* _tmp8_ = NULL; -#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_VIEW (view), NULL); #line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_VIEW (view), NULL); +#line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp0_ == 0) { #line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp0_ == 0) { +#line 765 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 765 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4820 "ViewCollection.c" } -#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view; -#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject)); -#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - index = _tmp2_; #line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + index = _tmp2_; +#line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = index; -#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp3_ < 0) { #line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp3_ < 0) { +#line 769 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 769 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4836 "ViewCollection.c" } -#line 770 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = index; -#line 770 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - index = _tmp4_ - 1; #line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + index = _tmp4_ - 1; +#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = index; -#line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_ < 0) { #line 4846 "ViewCollection.c" gint _tmp6_ = 0; -#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 773 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 773 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" index = _tmp6_ - 1; #line 4852 "ViewCollection.c" } -#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = index; -#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_); -#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView); -#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4862 "ViewCollection.c" } DataView* view_collection_get_previous (ViewCollection* self, DataView* view) { -#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_COLLECTION_GET_CLASS (self)->get_previous (self, view); #line 4871 "ViewCollection.c" } @@ -4886,63 +4886,63 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour DataView* prev_view = NULL; DataView* _tmp19_ = NULL; DataView* _tmp20_ = NULL; -#line 777 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 778 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 777 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 778 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_SOURCE (home), FALSE); -#line 779 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_next); -#line 779 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - _vala_next = NULL; #line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + _vala_next = NULL; +#line 781 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_prev); -#line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 781 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_prev = NULL; -#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = home; -#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view_collection_get_view_for_source (self, _tmp0_); -#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - home_view = _tmp1_; #line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + home_view = _tmp1_; +#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = home_view; -#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp2_ == NULL) { #line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp2_ == NULL) { +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = FALSE; -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (home_view); -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (next) { -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *next = _vala_next; #line 4919 "ViewCollection.c" } else { -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_next); #line 4923 "ViewCollection.c" } -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (prev) { -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *prev = _vala_prev; #line 4929 "ViewCollection.c" } else { -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_prev); #line 4933 "ViewCollection.c" } -#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 4937 "ViewCollection.c" } -#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = home_view; -#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view_collection_get_next (self, _tmp3_); -#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - next_view = _tmp4_; #line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + next_view = _tmp4_; +#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 4947 "ViewCollection.c" DataView* _tmp5_ = NULL; @@ -4951,21 +4951,21 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour const gchar* _tmp8_ = NULL; DataView* _tmp17_ = NULL; DataView* _tmp18_ = NULL; -#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = next_view; -#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = home_view; -#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp5_ != _tmp6_)) { -#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 4962 "ViewCollection.c" } -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = type_selector; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp8_ == NULL) { -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = TRUE; #line 4970 "ViewCollection.c" } else { @@ -4975,60 +4975,60 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = next_view; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = data_view_get_source (_tmp9_); -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = _tmp10_; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = data_source_get_typename (_tmp11_); -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = _tmp12_; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = type_selector; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = g_strcmp0 (_tmp13_, _tmp14_) == 0; -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_free0 (_tmp13_); -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp11_); #line 4996 "ViewCollection.c" } -#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp7_) { #line 5000 "ViewCollection.c" DataView* _tmp15_ = NULL; DataSource* _tmp16_ = NULL; -#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = next_view; -#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = data_view_get_source (_tmp15_); -#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_next); -#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - _vala_next = _tmp16_; #line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + _vala_next = _tmp16_; +#line 791 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 5013 "ViewCollection.c" } -#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = next_view; -#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = view_collection_get_next (self, _tmp17_); -#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_view); -#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" next_view = _tmp18_; #line 5023 "ViewCollection.c" } -#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = home_view; -#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp20_ = view_collection_get_previous (self, _tmp19_); -#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - prev_view = _tmp20_; #line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + prev_view = _tmp20_; +#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 5033 "ViewCollection.c" DataView* _tmp21_ = NULL; @@ -5037,21 +5037,21 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour const gchar* _tmp24_ = NULL; DataView* _tmp33_ = NULL; DataView* _tmp34_ = NULL; -#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp21_ = prev_view; -#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp22_ = home_view; -#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp21_ != _tmp22_)) { -#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 5048 "ViewCollection.c" } -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp24_ = type_selector; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp24_ == NULL) { -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp23_ = TRUE; #line 5056 "ViewCollection.c" } else { @@ -5061,82 +5061,82 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour gchar* _tmp28_ = NULL; gchar* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp25_ = prev_view; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp26_ = data_view_get_source (_tmp25_); -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp27_ = _tmp26_; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp28_ = data_source_get_typename (_tmp27_); -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp29_ = _tmp28_; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp30_ = type_selector; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp23_ = g_strcmp0 (_tmp29_, _tmp30_) == 0; -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_free0 (_tmp29_); -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp27_); #line 5082 "ViewCollection.c" } -#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp23_) { #line 5086 "ViewCollection.c" DataView* _tmp31_ = NULL; DataSource* _tmp32_ = NULL; -#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp31_ = prev_view; -#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp32_ = data_view_get_source (_tmp31_); -#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_prev); -#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - _vala_prev = _tmp32_; #line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + _vala_prev = _tmp32_; +#line 800 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 5099 "ViewCollection.c" } -#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp33_ = prev_view; -#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp34_ = view_collection_get_previous (self, _tmp33_); -#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev_view); -#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" prev_view = _tmp34_; #line 5109 "ViewCollection.c" } -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev_view); -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_view); -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (home_view); -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (next) { -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *next = _vala_next; #line 5123 "ViewCollection.c" } else { -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_next); #line 5127 "ViewCollection.c" } -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (prev) { -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *prev = _vala_prev; #line 5133 "ViewCollection.c" } else { -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_vala_prev); #line 5137 "ViewCollection.c" } -#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5141 "ViewCollection.c" } @@ -5157,43 +5157,43 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource DataSource* _tmp16_ = NULL; GeeSet* _tmp26_ = NULL; DataSource* _tmp27_ = NULL; -#line 808 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 809 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 808 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 809 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_SOURCE (home), NULL); -#line 810 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 811 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_hash_set_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 810 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 811 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" neighbors = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_SET, GeeSet); -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = home; -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = typename; -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = view_collection_get_immediate_neighbors (self, _tmp1_, &_tmp3_, &_tmp4_, _tmp2_); -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next); -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" next = _tmp3_; -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev); -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" prev = _tmp4_; -#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (!_tmp5_) { #line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (!_tmp5_) { +#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = neighbors; -#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev); -#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next); -#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5192 "ViewCollection.c" } -#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = next; -#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp6_ != NULL) { #line 5198 "ViewCollection.c" GeeSet* _tmp7_ = NULL; @@ -5205,50 +5205,50 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource DataSource* _tmp11_ = NULL; DataSource* _tmp12_ = NULL; DataSource* _tmp13_ = NULL; -#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = neighbors; -#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = next; -#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), _tmp8_); -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = next; -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = typename; -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_get_immediate_neighbors (self, _tmp9_, &_tmp11_, &_tmp12_, _tmp10_); -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_next); -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" next_next = _tmp11_; -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_prev); -#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" next_prev = _tmp12_; -#line 825 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = next_next; -#line 825 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp13_ != NULL) { #line 5232 "ViewCollection.c" GeeSet* _tmp14_ = NULL; DataSource* _tmp15_ = NULL; -#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = neighbors; -#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = next_next; -#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection), _tmp15_); #line 5241 "ViewCollection.c" } -#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_prev); -#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_next); #line 5247 "ViewCollection.c" } -#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = prev; -#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp16_ != NULL) { #line 5253 "ViewCollection.c" GeeSet* _tmp17_ = NULL; @@ -5260,60 +5260,60 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource DataSource* _tmp21_ = NULL; DataSource* _tmp22_ = NULL; DataSource* _tmp23_ = NULL; -#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = neighbors; -#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = prev; -#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection), _tmp18_); -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = prev; -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp20_ = typename; -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_get_immediate_neighbors (self, _tmp19_, &_tmp21_, &_tmp22_, _tmp20_); -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_prev); -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" next_prev = _tmp21_; -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev_prev); -#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" prev_prev = _tmp22_; -#line 837 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp23_ = prev_prev; -#line 837 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp23_ != NULL) { #line 5287 "ViewCollection.c" GeeSet* _tmp24_ = NULL; DataSource* _tmp25_ = NULL; -#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp24_ = neighbors; -#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp25_ = prev_prev; -#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection), _tmp25_); #line 5296 "ViewCollection.c" } -#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev_prev); -#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next_prev); #line 5302 "ViewCollection.c" } -#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp26_ = neighbors; -#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp27_ = home; -#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection), _tmp27_); -#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = neighbors; -#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (prev); -#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (next); -#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5318 "ViewCollection.c" } @@ -5328,19 +5328,19 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti GeeCollection* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; gboolean _tmp14_ = FALSE; -#line 849 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 849 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (GEE_IS_COLLECTION (views)); #line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (GEE_IS_COLLECTION (views)); +#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = views; -#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = gee_collection_get_size (_tmp0_); -#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp2_ == 0) { #line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp2_ == 0) { +#line 852 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return; #line 5345 "ViewCollection.c" } @@ -5348,13 +5348,13 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti GeeIterator* _view_it = NULL; GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = views; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_it = _tmp4_; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 5359 "ViewCollection.c" GeeIterator* _tmp5_ = NULL; @@ -5364,47 +5364,47 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti gpointer _tmp8_ = NULL; DataView* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _view_it; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp6_) { -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 5375 "ViewCollection.c" } -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = _view_it; -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp8_; #line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp8_; +#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = view; -#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = data_view_is_visible (_tmp9_); -#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp10_, "view.is_visible()"); -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 5391 "ViewCollection.c" } -#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_view_it); #line 5395 "ViewCollection.c" } -#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = self->priv->selected; -#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = views; -#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = data_set_add_many (_tmp11_, _tmp12_); -#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - added = _tmp13_; #line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + added = _tmp13_; +#line 858 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = added; -#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 858 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp14_, "added"); #line 5409 "ViewCollection.c" } @@ -5419,33 +5419,33 @@ static void view_collection_remove_many_selected (ViewCollection* self, GeeColle GeeCollection* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; -#line 860 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 860 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (GEE_IS_COLLECTION (views)); #line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (GEE_IS_COLLECTION (views)); +#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = views; -#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = gee_collection_get_size (_tmp0_); -#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp2_ == 0) { #line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp2_ == 0) { +#line 863 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return; #line 5436 "ViewCollection.c" } -#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = self->priv->selected; -#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = views; -#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = data_set_remove_many (_tmp3_, _tmp4_); -#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - removed = _tmp5_; #line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + removed = _tmp5_; +#line 866 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = removed; -#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 866 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp6_, "removed"); #line 5450 "ViewCollection.c" } @@ -5454,7 +5454,7 @@ static void view_collection_remove_many_selected (ViewCollection* self, GeeColle static gboolean _view_collection_select_item_marked_action (DataObject* object, GObject* user, gpointer self) { gboolean result; result = view_collection_select_item ((ViewCollection*) self, object, user); -#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5459 "ViewCollection.c" } @@ -5468,42 +5468,42 @@ void view_collection_select_marked (ViewCollection* self, Marker* marker) { GeeArrayList* _tmp3_ = NULL; gint _tmp4_ = 0; gint _tmp5_ = 0; -#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_MARKER (marker)); #line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_MARKER (marker)); +#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - selected = _tmp0_; #line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + selected = _tmp0_; +#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = marker; -#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = selected; -#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_select_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject)); -#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = selected; -#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_ > 0) { #line 5493 "ViewCollection.c" GeeArrayList* _tmp6_ = NULL; GeeArrayList* _tmp7_ = NULL; -#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = selected; -#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); #line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 876 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = selected; -#line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 876 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), NULL); #line 5504 "ViewCollection.c" } -#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (selected); #line 5508 "ViewCollection.c" } @@ -5512,17 +5512,17 @@ void view_collection_select_marked (ViewCollection* self, Marker* marker) { void view_collection_select_all (ViewCollection* self) { Marker* marker = NULL; Marker* _tmp0_ = NULL; -#line 880 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_VIEW_COLLECTION (self)); #line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_VIEW_COLLECTION (self)); +#line 882 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - marker = _tmp0_; #line 882 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - marker_mark_all (marker); + marker = _tmp0_; #line 883 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + marker_mark_all (marker); +#line 884 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_select_marked (self, marker); -#line 880 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (marker); #line 5527 "ViewCollection.c" } @@ -5538,81 +5538,81 @@ static gboolean view_collection_select_item (ViewCollection* self, DataObject* o DataView* _tmp9_ = NULL; DataView* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); -#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); #line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); +#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = object; -#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); -#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = _tmp1_; #line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = _tmp1_; +#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = view; -#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_view_is_selected (_tmp2_); -#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp3_) { #line 5559 "ViewCollection.c" DataView* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view; -#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = data_view_is_visible (_tmp4_); -#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_) { #line 5568 "ViewCollection.c" DataSet* _tmp6_ = NULL; DataView* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; -#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = self->priv->selected; -#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = view; -#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = data_set_contains (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_OBJECT, DataObject)); -#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp8_, "selected.contains(view)"); #line 5580 "ViewCollection.c" } -#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5588 "ViewCollection.c" } -#line 895 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 896 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = view; -#line 895 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 896 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_view_internal_set_selected (_tmp9_, TRUE); -#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = view; -#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = data_view_is_visible (_tmp10_); -#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp11_) { #line 5600 "ViewCollection.c" GObject* _tmp12_ = NULL; DataView* _tmp13_ = NULL; -#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = user; -#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = view; -#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ARRAY_LIST, GeeArrayList), GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_); #line 5609 "ViewCollection.c" } -#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5617 "ViewCollection.c" } @@ -5621,7 +5621,7 @@ static gboolean view_collection_select_item (ViewCollection* self, DataObject* o static gboolean _view_collection_unselect_item_marked_action (DataObject* object, GObject* user, gpointer self) { gboolean result; result = view_collection_unselect_item ((ViewCollection*) self, object, user); -#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5626 "ViewCollection.c" } @@ -5635,42 +5635,42 @@ void view_collection_unselect_marked (ViewCollection* self, Marker* marker) { GeeArrayList* _tmp3_ = NULL; gint _tmp4_ = 0; gint _tmp5_ = 0; -#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_MARKER (marker)); #line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_MARKER (marker)); +#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - unselected = _tmp0_; #line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + unselected = _tmp0_; +#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = marker; -#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = unselected; -#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_unselect_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject)); -#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = unselected; -#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_ > 0) { #line 5660 "ViewCollection.c" GeeArrayList* _tmp6_ = NULL; GeeArrayList* _tmp7_ = NULL; -#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = unselected; -#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); #line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 913 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = unselected; -#line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 913 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_selected_unselected (self, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection)); #line 5671 "ViewCollection.c" } -#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (unselected); #line 5675 "ViewCollection.c" } @@ -5685,37 +5685,37 @@ void view_collection_unselect_all (ViewCollection* self) { GeeList* _tmp4_ = NULL; GeeList* _tmp5_ = NULL; Marker* _tmp6_ = NULL; -#line 917 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_VIEW_COLLECTION (self)); #line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_VIEW_COLLECTION (self)); +#line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_set_get_count (_tmp0_); -#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp1_ == 0) { #line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp1_ == 0) { +#line 920 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return; #line 5698 "ViewCollection.c" } -#line 921 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 921 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - marker = _tmp2_; #line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + marker = _tmp2_; +#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = marker; -#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view_collection_get_selected (self); -#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" marker_mark_many (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp5_); -#line 924 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 925 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = marker; -#line 924 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 925 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_unselect_marked (self, _tmp6_); -#line 917 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (marker); #line 5720 "ViewCollection.c" } @@ -5725,13 +5725,13 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception Marker* marker = NULL; Marker* _tmp0_ = NULL; Marker* _tmp15_ = NULL; -#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_DATA_VIEW (exception)); #line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_DATA_VIEW (exception)); +#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" marker = _tmp0_; #line 5736 "ViewCollection.c" { @@ -5740,19 +5740,19 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception GeeCollection* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = _tmp3_; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp2_); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _object_it = _tmp4_; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 5757 "ViewCollection.c" GeeIterator* _tmp5_ = NULL; @@ -5765,60 +5765,60 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception DataView* _tmp10_ = NULL; DataView* _tmp11_ = NULL; DataView* _tmp12_ = NULL; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _object_it; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp6_) { -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 5776 "ViewCollection.c" } -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = _object_it; -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - object = (DataObject*) _tmp8_; #line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + object = (DataObject*) _tmp8_; +#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = object; -#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_VIEW, DataView)); -#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = _tmp10_; #line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = _tmp10_; +#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = view; -#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = exception; -#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp11_ != _tmp12_) { #line 5796 "ViewCollection.c" Marker* _tmp13_ = NULL; DataView* _tmp14_ = NULL; -#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = marker; -#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = view; -#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" marker_mark (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); #line 5805 "ViewCollection.c" } -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (object); #line 5811 "ViewCollection.c" } -#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_object_it); #line 5815 "ViewCollection.c" } -#line 936 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 937 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = marker; -#line 936 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 937 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_unselect_marked (self, _tmp15_); -#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (marker); #line 5823 "ViewCollection.c" } @@ -5834,59 +5834,59 @@ static gboolean view_collection_unselect_item (ViewCollection* self, DataObject* DataView* _tmp7_ = NULL; GObject* _tmp8_ = NULL; DataView* _tmp9_ = NULL; -#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); -#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); #line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); +#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = object; -#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); -#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = _tmp1_; #line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = _tmp1_; +#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = view; -#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_view_is_selected (_tmp2_); -#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp3_) { #line 5855 "ViewCollection.c" DataSet* _tmp4_ = NULL; DataView* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = self->priv->selected; -#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = view; -#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = data_set_contains (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject)); -#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (!_tmp6_, "!selected.contains(view)"); -#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5873 "ViewCollection.c" } -#line 947 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = view; -#line 947 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - data_view_internal_set_selected (_tmp7_, FALSE); #line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + data_view_internal_set_selected (_tmp7_, FALSE); +#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = user; -#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = view; -#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ARRAY_LIST, GeeArrayList), GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp9_); -#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5891 "ViewCollection.c" } @@ -5899,37 +5899,37 @@ void view_collection_unselect_and_select_marked (ViewCollection* self, Marker* u GeeArrayList* selected = NULL; GeeArrayList* _tmp2_ = NULL; Marker* _tmp3_ = NULL; -#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_MARKER (unselect)); -#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_MARKER (select)); #line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_MARKER (select)); +#line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - unselected = _tmp0_; #line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + unselected = _tmp0_; +#line 957 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = unselect; -#line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 957 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_unselect_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (unselected, G_TYPE_OBJECT, GObject)); -#line 958 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 959 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (unselected, GEE_TYPE_COLLECTION, GeeCollection)); -#line 960 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 960 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - selected = _tmp2_; #line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + selected = _tmp2_; +#line 962 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = select; -#line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 962 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp3_, _view_collection_select_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (selected, G_TYPE_OBJECT, GObject)); -#line 963 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 964 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (selected, GEE_TYPE_COLLECTION, GeeCollection)); -#line 965 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 966 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (selected, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (unselected, GEE_TYPE_COLLECTION, GeeCollection)); -#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (selected); -#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (unselected); #line 5934 "ViewCollection.c" } @@ -5938,7 +5938,7 @@ void view_collection_unselect_and_select_marked (ViewCollection* self, Marker* u static gboolean _view_collection_toggle_item_marked_action (DataObject* object, GObject* user, gpointer self) { gboolean result; result = view_collection_toggle_item ((ViewCollection*) self, object, user); -#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 5943 "ViewCollection.c" } @@ -5952,33 +5952,33 @@ void view_collection_toggle_marked (ViewCollection* self, Marker* marker) { GeeArrayList* _tmp3_ = NULL; GeeArrayList* _tmp4_ = NULL; GeeArrayList* _tmp5_ = NULL; -#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_MARKER (marker)); #line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_MARKER (marker)); +#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = view_collection_toggle_lists_new (); -#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - lists = _tmp0_; #line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + lists = _tmp0_; +#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = marker; -#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_toggle_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (lists, G_TYPE_OBJECT, GObject)); -#line 975 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = lists->selected; -#line 975 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection)); #line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 977 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = lists->unselected; -#line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 977 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = lists->selected; -#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = lists->unselected; -#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (lists); #line 5983 "ViewCollection.c" } @@ -5994,50 +5994,50 @@ static gboolean view_collection_toggle_item (ViewCollection* self, DataObject* o ViewCollectionToggleLists* _tmp3_ = NULL; DataView* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); -#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); #line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE); +#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = object; -#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); -#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = _tmp1_; #line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = _tmp1_; +#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = user; -#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, VIEW_COLLECTION_TYPE_TOGGLE_LISTS, ViewCollectionToggleLists)); -#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" lists = _tmp3_; -#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view; -#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = data_view_internal_toggle (_tmp4_); -#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_) { #line 6021 "ViewCollection.c" DataView* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = view; -#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = data_view_is_visible (_tmp6_); -#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp7_) { #line 6030 "ViewCollection.c" ViewCollectionToggleLists* _tmp8_ = NULL; GeeArrayList* _tmp9_ = NULL; DataView* _tmp10_ = NULL; -#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = lists; -#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = _tmp8_->selected; -#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = view; -#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp10_); #line 6042 "ViewCollection.c" } @@ -6045,23 +6045,23 @@ static gboolean view_collection_toggle_item (ViewCollection* self, DataObject* o ViewCollectionToggleLists* _tmp11_ = NULL; GeeArrayList* _tmp12_ = NULL; DataView* _tmp13_ = NULL; -#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = lists; -#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = _tmp11_->unselected; -#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = view; -#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_); #line 6056 "ViewCollection.c" } -#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (lists); -#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6066 "ViewCollection.c" } @@ -6071,15 +6071,15 @@ gint view_collection_get_selected_count (ViewCollection* self) { gint result = 0; DataSet* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 999 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); #line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); +#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_set_get_count (_tmp0_); -#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp1_; -#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6084 "ViewCollection.c" } @@ -6089,15 +6089,15 @@ GeeList* view_collection_get_selected (ViewCollection* self) { GeeList* result = NULL; DataSet* _tmp0_ = NULL; GeeList* _tmp1_ = NULL; -#line 1003 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_set_get_all (_tmp0_); -#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_LIST, GeeList); -#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6102 "ViewCollection.c" } @@ -6108,17 +6108,17 @@ DataView* view_collection_get_selected_at (ViewCollection* self, gint index) { DataSet* _tmp0_ = NULL; gint _tmp1_ = 0; DataObject* _tmp2_ = NULL; -#line 1007 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = index; -#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_set_get_at (_tmp0_, _tmp1_); -#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView); -#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6123 "ViewCollection.c" } @@ -6128,35 +6128,35 @@ static gboolean view_collection_is_visible (ViewCollection* self, DataView* view gboolean result = FALSE; gboolean _tmp0_ = FALSE; DataSet* _tmp1_ = NULL; -#line 1011 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 1011 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_VIEW (view), FALSE); #line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_VIEW (view), FALSE); +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp1_ != NULL) { #line 6139 "ViewCollection.c" DataSet* _tmp2_ = NULL; DataView* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->visible; -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = view; -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = data_set_contains (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject)); -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = _tmp4_; #line 6151 "ViewCollection.c" } else { -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = TRUE; #line 6155 "ViewCollection.c" } -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_; -#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6161 "ViewCollection.c" } @@ -6171,51 +6171,51 @@ static gboolean view_collection_add_many_visible (ViewCollection* self, GeeColle DataSet* _tmp4_ = NULL; gint _tmp5_ = 0; gint _tmp6_ = 0; -#line 1015 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 1015 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (GEE_IS_COLLECTION (many), FALSE); #line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (GEE_IS_COLLECTION (many), FALSE); +#line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->visible; -#line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp0_ == NULL) { #line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp0_ == NULL) { +#line 1018 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1018 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6186 "ViewCollection.c" } -#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->visible; -#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = many; -#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_set_add_many (_tmp1_, _tmp2_); -#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (!_tmp3_) { #line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (!_tmp3_) { +#line 1021 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = FALSE; -#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1021 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6200 "ViewCollection.c" } -#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = self->priv->visible; -#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = data_set_get_count (_tmp4_); -#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp5_ == _tmp6_) { #line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp5_ == _tmp6_) { +#line 1025 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _data_set_unref0 (self->priv->visible); -#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1025 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->visible = NULL; #line 6214 "ViewCollection.c" } -#line 1026 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1027 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 1026 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1027 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6220 "ViewCollection.c" } @@ -6241,33 +6241,33 @@ static void view_collection_hide_items (ViewCollection* self, GeeList* to_hide) GeeList* _tmp33_ = NULL; gint _tmp34_ = 0; gint _tmp35_ = 0; -#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (GEE_IS_LIST (to_hide)); #line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (GEE_IS_LIST (to_hide)); +#line 1032 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1032 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" unselected = _tmp0_; -#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = to_hide; -#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" count = _tmp3_; #line 6260 "ViewCollection.c" { gint ctr = 0; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = 0; #line 6265 "ViewCollection.c" { gboolean _tmp4_ = FALSE; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = TRUE; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 6272 "ViewCollection.c" gint _tmp6_ = 0; @@ -6281,155 +6281,155 @@ static void view_collection_hide_items (ViewCollection* self, GeeList* to_hide) DataView* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; DataView* _tmp21_ = NULL; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp4_) { #line 6286 "ViewCollection.c" gint _tmp5_ = 0; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = ctr; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = _tmp5_ + 1; #line 6292 "ViewCollection.c" } -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = FALSE; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = ctr; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = count; -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp6_ < _tmp7_)) { -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 6304 "ViewCollection.c" } -#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = to_hide; -#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = ctr; -#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = gee_list_get (_tmp8_, _tmp9_); -#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp10_; #line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp10_; +#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = view; -#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = data_view_is_visible (_tmp11_); -#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp12_, "view.is_visible()"); -#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = view; -#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = data_view_is_selected (_tmp13_); -#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp14_) { #line 6326 "ViewCollection.c" DataView* _tmp15_ = NULL; GeeArrayList* _tmp16_ = NULL; DataView* _tmp17_ = NULL; -#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = view; -#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - data_view_internal_set_selected (_tmp15_, FALSE); #line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + data_view_internal_set_selected (_tmp15_, FALSE); +#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = unselected; -#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = view; -#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_); #line 6340 "ViewCollection.c" } else { DataSet* _tmp18_ = NULL; DataView* _tmp19_ = NULL; gboolean _tmp20_ = FALSE; -#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = self->priv->selected; -#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = view; -#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp20_ = data_set_contains (_tmp18_, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_DATA_OBJECT, DataObject)); -#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (!_tmp20_, "!selected.contains(view)"); #line 6353 "ViewCollection.c" } -#line 1045 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1046 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp21_ = view; -#line 1045 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1046 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_view_internal_set_visible (_tmp21_, FALSE); -#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 6361 "ViewCollection.c" } } } -#line 1048 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1049 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp22_ = self->priv->visible; -#line 1048 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1049 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp22_ == NULL) { #line 6369 "ViewCollection.c" DataSet* _tmp23_ = NULL; -#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp23_ = data_collection_get_dataset_copy (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _data_set_unref0 (self->priv->visible); -#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->visible = _tmp23_; #line 6377 "ViewCollection.c" } -#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp24_ = self->priv->visible; -#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp25_ = to_hide; -#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp26_ = data_set_remove_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - removed = _tmp26_; #line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + removed = _tmp26_; +#line 1055 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp27_ = removed; -#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1055 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp27_, "removed"); -#line 1056 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1057 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp28_ = unselected; -#line 1056 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1057 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp29_ = unselected; -#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp31_ = _tmp30_; -#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp31_ > 0) { #line 6403 "ViewCollection.c" GeeArrayList* _tmp32_ = NULL; -#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1060 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp32_ = unselected; -#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1060 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_selected_unselected (self, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, GEE_TYPE_COLLECTION, GeeCollection)); #line 6409 "ViewCollection.c" } -#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp33_ = to_hide; -#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp34_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp35_ = _tmp34_; -#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp35_ > 0) { #line 6419 "ViewCollection.c" GeeList* _tmp36_ = NULL; GeeList* _tmp37_ = NULL; -#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp36_ = to_hide; -#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_items_hidden (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection)); #line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_items_hidden (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1064 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp37_ = to_hide; -#line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1064 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_visibility_changed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_COLLECTION, GeeCollection)); #line 6430 "ViewCollection.c" } -#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (unselected); #line 6434 "ViewCollection.c" } @@ -6450,33 +6450,33 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show) GeeList* _tmp25_ = NULL; gint _tmp26_ = 0; gint _tmp27_ = 0; -#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (GEE_IS_LIST (to_show)); #line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (GEE_IS_LIST (to_show)); +#line 1070 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1070 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" added_selected = _tmp0_; -#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = to_show; -#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" count = _tmp3_; #line 6469 "ViewCollection.c" { gint ctr = 0; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = 0; #line 6474 "ViewCollection.c" { gboolean _tmp4_ = FALSE; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = TRUE; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 6481 "ViewCollection.c" gint _tmp6_ = 0; @@ -6490,51 +6490,51 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show) DataView* _tmp13_ = NULL; DataView* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp4_) { #line 6495 "ViewCollection.c" gint _tmp5_ = 0; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = ctr; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = _tmp5_ + 1; #line 6501 "ViewCollection.c" } -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = FALSE; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = ctr; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = count; -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp6_ < _tmp7_)) { -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 6513 "ViewCollection.c" } -#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = to_show; -#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = ctr; -#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = gee_list_get (_tmp8_, _tmp9_); -#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp10_; #line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp10_; +#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = view; -#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = data_view_is_visible (_tmp11_); -#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (!_tmp12_, "!view.is_visible()"); -#line 1076 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1077 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = view; -#line 1076 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1077 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" data_view_internal_set_visible (_tmp13_, TRUE); -#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = view; -#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = data_view_is_selected (_tmp14_); -#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp15_) { #line 6539 "ViewCollection.c" DataSet* _tmp16_ = NULL; @@ -6542,64 +6542,64 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show) gboolean _tmp18_ = FALSE; GeeArrayList* _tmp19_ = NULL; DataView* _tmp20_ = NULL; -#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = self->priv->selected; -#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = view; -#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = data_set_contains (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_OBJECT, DataObject)); -#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - _vala_assert (!_tmp18_, "!selected.contains(view)"); #line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + _vala_assert (!_tmp18_, "!selected.contains(view)"); +#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = added_selected; -#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp20_ = view; -#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp20_); #line 6559 "ViewCollection.c" } -#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 6563 "ViewCollection.c" } } } -#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp21_ = to_show; -#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp22_ = view_collection_add_many_visible (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - added = _tmp22_; #line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + added = _tmp22_; +#line 1087 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp23_ = added; -#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1087 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp23_, "added"); -#line 1088 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1089 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp24_ = added_selected; -#line 1088 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1089 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp25_ = to_show; -#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp27_ = _tmp26_; -#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp27_ > 0) { #line 6589 "ViewCollection.c" GeeList* _tmp28_ = NULL; GeeList* _tmp29_ = NULL; -#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp28_ = to_show; -#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_items_shown (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection)); #line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_items_shown (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1093 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp29_ = to_show; -#line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1093 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_items_visibility_changed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection)); #line 6600 "ViewCollection.c" } -#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (added_selected); #line 6604 "ViewCollection.c" } @@ -6611,23 +6611,23 @@ gboolean view_collection_has_view_for_source (ViewCollection* self, DataSource* DataView* _tmp1_ = NULL; DataView* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 1097 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 1097 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); #line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = source; -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view_collection_get_view_for_source (self, _tmp0_); -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_ != NULL; -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp2_); -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp3_; -#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6632 "ViewCollection.c" } @@ -6638,19 +6638,19 @@ DataView* view_collection_get_view_for_source (ViewCollection* self, DataSource* GeeHashMap* _tmp0_ = NULL; DataSource* _tmp1_ = NULL; gpointer _tmp2_ = NULL; -#line 1102 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 1102 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), NULL); #line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), NULL); +#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->source_map; -#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = source; -#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_); -#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = (DataView*) _tmp2_; -#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6655 "ViewCollection.c" } @@ -6662,23 +6662,23 @@ gboolean view_collection_has_view_for_source_with_filtered (ViewCollection* self DataView* _tmp1_ = NULL; DataView* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 1107 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); -#line 1107 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); #line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = source; -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view_collection_get_view_for_source_filtered (self, _tmp0_); -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_ != NULL; -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp2_); -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp3_; -#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6683 "ViewCollection.c" } @@ -6692,50 +6692,50 @@ DataView* view_collection_get_view_for_source_filtered (ViewCollection* self, Da gpointer _tmp2_ = NULL; gboolean _tmp3_ = FALSE; DataView* _tmp4_ = NULL; -#line 1112 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); -#line 1112 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), NULL); #line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), NULL); +#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->source_map; -#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = source; -#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_); -#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view = (DataView*) _tmp2_; -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view; -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp4_ != NULL) { #line 6711 "ViewCollection.c" DataView* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = view; -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = view_collection_is_in_filter (self, _tmp5_); -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = !_tmp6_; #line 6720 "ViewCollection.c" } else { -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = FALSE; #line 6724 "ViewCollection.c" } -#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp3_) { #line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp3_) { +#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = NULL; -#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6734 "ViewCollection.c" } -#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1118 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = view; -#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1118 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6740 "ViewCollection.c" } @@ -6750,27 +6750,27 @@ GeeCollection* view_collection_get_sources (ViewCollection* self) { GeeSet* _tmp4_ = NULL; GeeSet* _tmp5_ = NULL; GeeCollection* _tmp6_ = NULL; -#line 1121 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->source_map; -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_MAP, GeeMap)); -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp1_; -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_set_get_read_only_view (_tmp3_); -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection); -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp6_; -#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6775 "ViewCollection.c" } @@ -6780,13 +6780,13 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) { gboolean result = FALSE; GType _tmp0_ = 0UL; gboolean _tmp1_ = FALSE; -#line 1126 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); #line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); +#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = t; -#line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE); -#line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp1_, "t.is_a(typeof(DataSource))"); #line 6791 "ViewCollection.c" { @@ -6797,23 +6797,23 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) { GeeSet* _tmp5_ = NULL; GeeIterator* _tmp6_ = NULL; GeeIterator* _tmp7_ = NULL; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = self->priv->source_map; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_MAP, GeeMap)); -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = _tmp3_; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = _tmp6_; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp5_); -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _source_it = _tmp7_; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 6818 "ViewCollection.c" GeeIterator* _tmp8_ = NULL; @@ -6825,53 +6825,53 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) { GType _tmp13_ = 0UL; GType _tmp14_ = 0UL; gboolean _tmp15_ = FALSE; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = _source_it; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = gee_iterator_next (_tmp8_); -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp9_) { -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 6836 "ViewCollection.c" } -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = _source_it; -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = gee_iterator_get (_tmp10_); -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - source = (DataSource*) _tmp11_; #line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + source = (DataSource*) _tmp11_; +#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = source; -#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject)); -#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = t; -#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = g_type_is_a (_tmp13_, _tmp14_); -#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - if (_tmp15_) { #line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + if (_tmp15_) { +#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (source); -#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_source_it); -#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6862 "ViewCollection.c" } -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (source); #line 6866 "ViewCollection.c" } -#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_source_it); #line 6870 "ViewCollection.c" } -#line 1134 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1135 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = FALSE; -#line 1134 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1135 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6876 "ViewCollection.c" } @@ -6882,15 +6882,15 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) { GType _tmp0_ = 0UL; gboolean _tmp1_ = FALSE; gint count = 0; -#line 1137 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); #line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); +#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = t; -#line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE); -#line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp1_, "t.is_a(typeof(DataSource))"); -#line 1140 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" count = 0; #line 6895 "ViewCollection.c" { @@ -6899,19 +6899,19 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) { GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; GeeIterator* _tmp5_ = NULL; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _object_it = _tmp5_; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 6916 "ViewCollection.c" GeeIterator* _tmp6_ = NULL; @@ -6926,59 +6926,59 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) { GType _tmp14_ = 0UL; gboolean _tmp15_ = FALSE; gboolean _tmp16_ = FALSE; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = _object_it; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp7_) { -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 6937 "ViewCollection.c" } -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = _object_it; -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - object = (DataObject*) _tmp9_; #line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + object = (DataObject*) _tmp9_; +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = object; -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView)); -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = _tmp11_; -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject)); -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = t; -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = g_type_is_a (_tmp13_, _tmp14_); -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = _tmp15_; -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp12_); -#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp16_) { #line 6963 "ViewCollection.c" gint _tmp17_ = 0; -#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1144 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = count; -#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1144 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" count = _tmp17_ + 1; #line 6969 "ViewCollection.c" } -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (object); #line 6973 "ViewCollection.c" } -#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_object_it); #line 6977 "ViewCollection.c" } -#line 1146 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1147 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = count; -#line 1146 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1147 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 6983 "ViewCollection.c" } @@ -6989,15 +6989,15 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) { GType _tmp0_ = 0UL; gboolean _tmp1_ = FALSE; GeeList* sources = NULL; -#line 1149 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = t; -#line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE); -#line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _vala_assert (_tmp1_, "t.is_a(typeof(DataSource))"); -#line 1152 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" sources = NULL; #line 7002 "ViewCollection.c" { @@ -7006,19 +7006,19 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) { GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; GeeIterator* _tmp5_ = NULL; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _tmp4_; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _object_it = _tmp5_; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 7023 "ViewCollection.c" GeeIterator* _tmp6_ = NULL; @@ -7033,77 +7033,77 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) { GType _tmp13_ = 0UL; GType _tmp14_ = 0UL; gboolean _tmp15_ = FALSE; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = _object_it; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp7_) { -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 7044 "ViewCollection.c" } -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = _object_it; -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - object = (DataObject*) _tmp9_; #line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + object = (DataObject*) _tmp9_; +#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = object; -#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView)); -#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - source = _tmp11_; #line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + source = _tmp11_; +#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = source; -#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject)); -#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = t; -#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = g_type_is_a (_tmp13_, _tmp14_); -#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp15_) { #line 7068 "ViewCollection.c" GeeList* _tmp16_ = NULL; GeeList* _tmp18_ = NULL; DataSource* _tmp19_ = NULL; -#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = sources; -#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp16_ == NULL) { #line 7076 "ViewCollection.c" GeeArrayList* _tmp17_ = NULL; -#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (sources); -#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_LIST, GeeList); #line 7084 "ViewCollection.c" } -#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = sources; -#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = source; -#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp19_); #line 7092 "ViewCollection.c" } -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (source); -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (object); #line 7098 "ViewCollection.c" } -#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_object_it); #line 7102 "ViewCollection.c" } -#line 1163 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1164 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = sources; -#line 1163 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1164 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7108 "ViewCollection.c" } @@ -7116,29 +7116,29 @@ GeeList* view_collection_get_selected_sources (ViewCollection* self) { gint count = 0; DataSet* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1166 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1167 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1168 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 1167 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1168 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_LIST, GeeList); -#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->selected; -#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_set_get_count (_tmp1_); -#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" count = _tmp2_; #line 7131 "ViewCollection.c" { gint ctr = 0; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = 0; #line 7136 "ViewCollection.c" { gboolean _tmp3_ = FALSE; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = TRUE; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 7143 "ViewCollection.c" gint _tmp5_ = 0; @@ -7150,55 +7150,55 @@ GeeList* view_collection_get_selected_sources (ViewCollection* self) { DataView* _tmp11_ = NULL; DataSource* _tmp12_ = NULL; DataSource* _tmp13_ = NULL; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp3_) { #line 7155 "ViewCollection.c" gint _tmp4_ = 0; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = ctr; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ctr = _tmp4_ + 1; #line 7161 "ViewCollection.c" } -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = FALSE; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = ctr; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = count; -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp5_ < _tmp6_)) { -#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 7173 "ViewCollection.c" } -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = sources; -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = self->priv->selected; -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = ctr; -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = data_set_get_at (_tmp8_, _tmp9_); -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView); -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = data_view_get_source (_tmp11_); -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = _tmp12_; -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), _tmp13_); -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp13_); -#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp11_); #line 7195 "ViewCollection.c" } } } -#line 1173 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1174 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = sources; -#line 1173 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1174 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7203 "ViewCollection.c" } @@ -7212,44 +7212,44 @@ DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint i DataObject* _tmp2_ = NULL; DataSource* _tmp3_ = NULL; DataObject* _tmp4_ = NULL; -#line 1176 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->selected; -#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = index; -#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = data_set_get_at (_tmp0_, _tmp1_); -#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" object = _tmp2_; -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = object; -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp4_ != NULL) { #line 7229 "ViewCollection.c" DataObject* _tmp5_ = NULL; DataSource* _tmp6_ = NULL; -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = object; -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_VIEW, DataView)); -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp6_; #line 7240 "ViewCollection.c" } else { -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp3_); -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = NULL; #line 7246 "ViewCollection.c" } -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp3_; -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (object); -#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7254 "ViewCollection.c" } @@ -7258,9 +7258,9 @@ DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint i GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GType t) { GeeList* result = NULL; GeeList* sources = NULL; -#line 1182 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); #line 1183 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL); +#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" sources = NULL; #line 7265 "ViewCollection.c" { @@ -7271,21 +7271,21 @@ GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GTy gint _tmp2_ = 0; gint _tmp3_ = 0; gint _view_index = 0; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = view_collection_get_selected (self); -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_list = _tmp0_; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = _view_list; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _tmp2_; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_size = _tmp3_; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_index = -1; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 7290 "ViewCollection.c" gint _tmp4_ = 0; @@ -7302,83 +7302,83 @@ GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GTy GType _tmp13_ = 0UL; GType _tmp14_ = 0UL; gboolean _tmp15_ = FALSE; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = _view_index; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_index = _tmp4_ + 1; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _view_index; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = _view_size; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!(_tmp5_ < _tmp6_)) { -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 7317 "ViewCollection.c" } -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = _view_list; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = _view_index; -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = gee_list_get (_tmp7_, _tmp8_); -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp9_; #line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp9_; +#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = view; -#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = data_view_get_source (_tmp10_); -#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - source = _tmp11_; #line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + source = _tmp11_; +#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = source; -#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject)); -#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = t; -#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = g_type_is_a (_tmp13_, _tmp14_); -#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp15_) { #line 7343 "ViewCollection.c" GeeList* _tmp16_ = NULL; GeeList* _tmp18_ = NULL; DataSource* _tmp19_ = NULL; -#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = sources; -#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp16_ == NULL) { #line 7351 "ViewCollection.c" GeeArrayList* _tmp17_ = NULL; -#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (sources); -#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_LIST, GeeList); #line 7359 "ViewCollection.c" } -#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp18_ = sources; -#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp19_ = source; -#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp19_); #line 7367 "ViewCollection.c" } -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (source); -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 7373 "ViewCollection.c" } -#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_view_list); #line 7377 "ViewCollection.c" } -#line 1194 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1195 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = sources; -#line 1194 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1195 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7383 "ViewCollection.c" } @@ -7391,40 +7391,40 @@ gint view_collection_index_of_source (ViewCollection* self, DataSource* source) DataView* _tmp1_ = NULL; gint _tmp2_ = 0; DataView* _tmp3_ = NULL; -#line 1198 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0); -#line 1198 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), 0); #line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), 0); +#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = source; -#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view_collection_get_view_for_source (self, _tmp0_); -#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view = _tmp1_; -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = view; -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp3_ != NULL) { #line 7408 "ViewCollection.c" DataView* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = view; -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject)); -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = _tmp5_; #line 7417 "ViewCollection.c" } else { -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = -1; #line 7421 "ViewCollection.c" } -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp2_; -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); -#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7429 "ViewCollection.c" } @@ -7432,57 +7432,57 @@ gint view_collection_index_of_source (ViewCollection* self, DataSource* source) void view_collection_internal_notify_view_altered (ViewCollection* self, DataView* view) { gboolean _tmp0_ = FALSE; -#line 1205 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 1205 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_DATA_VIEW (view)); #line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_DATA_VIEW (view)); +#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_are_notifications_frozen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp0_) { #line 7443 "ViewCollection.c" DataView* _tmp1_ = NULL; DataView* _tmp2_ = NULL; GeeCollection* _tmp3_ = NULL; GeeCollection* _tmp4_ = NULL; -#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view; -#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_item_view_altered (self, _tmp1_); #line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_item_view_altered (self, _tmp1_); +#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = view; -#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_collection_get_singleton (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject)); -#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_views_altered (self, _tmp4_); -#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp4_); #line 7462 "ViewCollection.c" } else { GeeHashSet* _tmp5_ = NULL; GeeHashSet* _tmp7_ = NULL; DataView* _tmp8_ = NULL; -#line 1210 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = self->priv->frozen_views_altered; -#line 1210 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_ == NULL) { #line 7471 "ViewCollection.c" GeeHashSet* _tmp6_ = NULL; -#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_hash_set_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (self->priv->frozen_views_altered); -#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->frozen_views_altered = _tmp6_; #line 7479 "ViewCollection.c" } -#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = self->priv->frozen_views_altered; -#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = view; -#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_); #line 7487 "ViewCollection.c" } @@ -7491,57 +7491,57 @@ void view_collection_internal_notify_view_altered (ViewCollection* self, DataVie void view_collection_internal_notify_geometry_altered (ViewCollection* self, DataView* view) { gboolean _tmp0_ = FALSE; -#line 1217 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (IS_VIEW_COLLECTION (self)); -#line 1217 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_if_fail (IS_DATA_VIEW (view)); #line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_if_fail (IS_DATA_VIEW (view)); +#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = data_collection_are_notifications_frozen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp0_) { #line 7502 "ViewCollection.c" DataView* _tmp1_ = NULL; DataView* _tmp2_ = NULL; GeeCollection* _tmp3_ = NULL; GeeCollection* _tmp4_ = NULL; -#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = view; -#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_item_geometry_altered (self, _tmp1_); #line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_item_geometry_altered (self, _tmp1_); +#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = view; -#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = data_collection_get_singleton (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject)); -#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_geometries_altered (self, _tmp4_); -#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_tmp4_); #line 7521 "ViewCollection.c" } else { GeeHashSet* _tmp5_ = NULL; GeeHashSet* _tmp7_ = NULL; DataView* _tmp8_ = NULL; -#line 1222 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = self->priv->frozen_geometries_altered; -#line 1222 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp5_ == NULL) { #line 7530 "ViewCollection.c" GeeHashSet* _tmp6_ = NULL; -#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_hash_set_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (self->priv->frozen_geometries_altered); -#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->frozen_geometries_altered = _tmp6_; #line 7538 "ViewCollection.c" } -#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = self->priv->frozen_geometries_altered; -#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = view; -#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_); #line 7546 "ViewCollection.c" } @@ -7552,11 +7552,11 @@ static void view_collection_real_notify_thawed (DataCollection* base) { ViewCollection * self; GeeHashSet* _tmp0_ = NULL; GeeHashSet* _tmp9_ = NULL; -#line 1228 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); #line 1229 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection); +#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = self->priv->frozen_views_altered; -#line 1229 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp0_ != NULL) { #line 7561 "ViewCollection.c" GeeHashSet* _tmp8_ = NULL; @@ -7564,13 +7564,13 @@ static void view_collection_real_notify_thawed (DataCollection* base) { GeeIterator* _view_it = NULL; GeeHashSet* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = self->priv->frozen_views_altered; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp2_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_it = _tmp2_; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 7575 "ViewCollection.c" GeeIterator* _tmp3_ = NULL; @@ -7579,47 +7579,47 @@ static void view_collection_real_notify_thawed (DataCollection* base) { GeeIterator* _tmp5_ = NULL; gpointer _tmp6_ = NULL; DataView* _tmp7_ = NULL; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp3_ = _view_it; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp4_) { -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 7590 "ViewCollection.c" } -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp5_ = _view_it; -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp6_; #line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp6_; +#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp7_ = view; -#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_item_view_altered (self, _tmp7_); -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 7604 "ViewCollection.c" } -#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_view_it); #line 7608 "ViewCollection.c" } -#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp8_ = self->priv->frozen_views_altered; -#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_views_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); #line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_views_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1234 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (self->priv->frozen_views_altered); -#line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1234 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->frozen_views_altered = NULL; #line 7618 "ViewCollection.c" } -#line 1236 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp9_ = self->priv->frozen_geometries_altered; -#line 1236 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (_tmp9_ != NULL) { #line 7624 "ViewCollection.c" GeeHashSet* _tmp17_ = NULL; @@ -7627,13 +7627,13 @@ static void view_collection_real_notify_thawed (DataCollection* base) { GeeIterator* _view_it = NULL; GeeHashSet* _tmp10_ = NULL; GeeIterator* _tmp11_ = NULL; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp10_ = self->priv->frozen_geometries_altered; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp11_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _view_it = _tmp11_; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" while (TRUE) { #line 7638 "ViewCollection.c" GeeIterator* _tmp12_ = NULL; @@ -7642,45 +7642,45 @@ static void view_collection_real_notify_thawed (DataCollection* base) { GeeIterator* _tmp14_ = NULL; gpointer _tmp15_ = NULL; DataView* _tmp16_ = NULL; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp12_ = _view_it; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp13_ = gee_iterator_next (_tmp12_); -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!_tmp13_) { -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" break; #line 7653 "ViewCollection.c" } -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp14_ = _view_it; -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp15_ = gee_iterator_get (_tmp14_); -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view = (DataView*) _tmp15_; #line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view = (DataView*) _tmp15_; +#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp16_ = view; -#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_collection_notify_item_geometry_altered (self, _tmp16_); -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (view); #line 7667 "ViewCollection.c" } -#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (_view_it); #line 7671 "ViewCollection.c" } -#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp17_ = self->priv->frozen_geometries_altered; -#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - view_collection_notify_geometries_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection)); #line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + view_collection_notify_geometries_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1241 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _g_object_unref0 (self->priv->frozen_geometries_altered); -#line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1241 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->priv->frozen_geometries_altered = NULL; #line 7681 "ViewCollection.c" } -#line 1243 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1244 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" DATA_COLLECTION_CLASS (view_collection_parent_class)->notify_thawed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); #line 7685 "ViewCollection.c" } @@ -7690,15 +7690,15 @@ gboolean view_collection_are_items_filtered_out (ViewCollection* self) { gboolean result = FALSE; gint _tmp0_ = 0; gint _tmp1_ = 0; -#line 1246 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); #line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE); +#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = _tmp0_ != _tmp1_; -#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 7703 "ViewCollection.c" } @@ -8558,38 +8558,38 @@ GType view_collection_get_type (void) { static gboolean view_manager_real_include_in_view (ViewManager* self, DataSource* source) { gboolean result = FALSE; -#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" - g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); #line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" + g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); +#line 1259 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" result = TRUE; -#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1259 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return result; #line 8567 "ViewCollection.c" } gboolean view_manager_include_in_view (ViewManager* self, DataSource* source) { -#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_MANAGER (self), FALSE); -#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_MANAGER_GET_CLASS (self)->include_in_view (self, source); #line 8576 "ViewCollection.c" } static DataView* view_manager_real_create_view (ViewManager* self, DataSource* source) { -#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_critical ("Type `%s' does not implement abstract method `view_manager_create_view'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return NULL; #line 8585 "ViewCollection.c" } DataView* view_manager_create_view (ViewManager* self, DataSource* source) { -#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_MANAGER (self), NULL); -#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_MANAGER_GET_CLASS (self)->create_view (self, source); #line 8594 "ViewCollection.c" } @@ -8597,25 +8597,25 @@ DataView* view_manager_create_view (ViewManager* self, DataSource* source) { ViewManager* view_manager_construct (GType object_type) { ViewManager* self = NULL; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = (ViewManager*) g_type_create_instance (object_type); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return self; #line 8604 "ViewCollection.c" } static void value_view_manager_init (GValue* value) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8611 "ViewCollection.c" } static void value_view_manager_free_value (GValue* value) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (value->data[0].v_pointer) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_manager_unref (value->data[0].v_pointer); #line 8620 "ViewCollection.c" } @@ -8623,13 +8623,13 @@ static void value_view_manager_free_value (GValue* value) { static void value_view_manager_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (src_value->data[0].v_pointer) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" dest_value->data[0].v_pointer = view_manager_ref (src_value->data[0].v_pointer); #line 8630 "ViewCollection.c" } else { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" dest_value->data[0].v_pointer = NULL; #line 8634 "ViewCollection.c" } @@ -8637,37 +8637,37 @@ static void value_view_manager_copy_value (const GValue* src_value, GValue* dest static gpointer value_view_manager_peek_pointer (const GValue* value) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return value->data[0].v_pointer; #line 8642 "ViewCollection.c" } static gchar* value_view_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (collect_values[0].v_pointer) { #line 8649 "ViewCollection.c" ViewManager* object; object = collect_values[0].v_pointer; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (object->parent_instance.g_class == NULL) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); #line 8656 "ViewCollection.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.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 8660 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = view_manager_ref (object); #line 8664 "ViewCollection.c" } else { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8668 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return NULL; #line 8672 "ViewCollection.c" } @@ -8676,27 +8676,27 @@ static gchar* value_view_manager_collect_value (GValue* value, guint n_collect_v static gchar* value_view_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { ViewManager** object_p; object_p = collect_values[0].v_pointer; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!object_p) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); #line 8683 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!value->data[0].v_pointer) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = NULL; #line 8689 "ViewCollection.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = value->data[0].v_pointer; #line 8693 "ViewCollection.c" } else { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = view_manager_ref (value->data[0].v_pointer); #line 8697 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return NULL; #line 8701 "ViewCollection.c" } @@ -8704,22 +8704,22 @@ static gchar* value_view_manager_lcopy_value (const GValue* value, guint n_colle GParamSpec* param_spec_view_manager (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecViewManager* spec; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_VIEW_MANAGER), NULL); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return G_PARAM_SPEC (spec); #line 8715 "ViewCollection.c" } gpointer value_get_view_manager (const GValue* value) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER), NULL); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return value->data[0].v_pointer; #line 8724 "ViewCollection.c" } @@ -8727,29 +8727,29 @@ gpointer value_get_view_manager (const GValue* value) { void value_set_view_manager (GValue* value, gpointer v_object) { ViewManager* old; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER)); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" old = value->data[0].v_pointer; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (v_object) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_MANAGER)); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = v_object; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_manager_ref (value->data[0].v_pointer); #line 8744 "ViewCollection.c" } else { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8748 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (old) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_manager_unref (old); #line 8754 "ViewCollection.c" } @@ -8758,27 +8758,27 @@ void value_set_view_manager (GValue* value, gpointer v_object) { void value_take_view_manager (GValue* value, gpointer v_object) { ViewManager* old; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER)); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" old = value->data[0].v_pointer; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (v_object) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_MANAGER)); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = v_object; #line 8773 "ViewCollection.c" } else { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8777 "ViewCollection.c" } -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (old) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_manager_unref (old); #line 8783 "ViewCollection.c" } @@ -8786,20 +8786,20 @@ void value_take_view_manager (GValue* value, gpointer v_object) { static void view_manager_class_init (ViewManagerClass * klass) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_manager_parent_class = g_type_class_peek_parent (klass); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewManagerClass *) klass)->finalize = view_manager_finalize; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewManagerClass *) klass)->include_in_view = view_manager_real_include_in_view; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewManagerClass *) klass)->create_view = view_manager_real_create_view; #line 8797 "ViewCollection.c" } static void view_manager_instance_init (ViewManager * self) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->ref_count = 1; #line 8804 "ViewCollection.c" } @@ -8807,9 +8807,9 @@ static void view_manager_instance_init (ViewManager * self) { static void view_manager_finalize (ViewManager* obj) { ViewManager * self; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_VIEW_MANAGER, ViewManager); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_signal_handlers_destroy (self); #line 8814 "ViewCollection.c" } @@ -8832,9 +8832,9 @@ GType view_manager_get_type (void) { gpointer view_manager_ref (gpointer instance) { ViewManager* self; self = instance; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_atomic_int_inc (&self->ref_count); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return instance; #line 8839 "ViewCollection.c" } @@ -8843,11 +8843,11 @@ gpointer view_manager_ref (gpointer instance) { void view_manager_unref (gpointer instance) { ViewManager* self; self = instance; -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" VIEW_MANAGER_GET_CLASS (self)->finalize (self); -#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_type_free_instance ((GTypeInstance *) self); #line 8852 "ViewCollection.c" } @@ -8855,18 +8855,18 @@ void view_manager_unref (gpointer instance) { static gboolean view_filter_real_predicate (ViewFilter* self, DataView* view) { -#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_critical ("Type `%s' does not implement abstract method `view_filter_predicate'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return FALSE; #line 8862 "ViewCollection.c" } gboolean view_filter_predicate (ViewFilter* self, DataView* view) { -#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (IS_VIEW_FILTER (self), FALSE); -#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return VIEW_FILTER_GET_CLASS (self)->predicate (self, view); #line 8871 "ViewCollection.c" } @@ -8874,9 +8874,9 @@ gboolean view_filter_predicate (ViewFilter* self, DataView* view) { ViewFilter* view_filter_construct (GType object_type) { ViewFilter* self = NULL; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = (ViewFilter*) g_type_create_instance (object_type); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return self; #line 8881 "ViewCollection.c" } @@ -8887,16 +8887,16 @@ static void view_filter_real_refresh (ViewFilter* self) { static void value_view_filter_init (GValue* value) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8892 "ViewCollection.c" } static void value_view_filter_free_value (GValue* value) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (value->data[0].v_pointer) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_filter_unref (value->data[0].v_pointer); #line 8901 "ViewCollection.c" } @@ -8904,13 +8904,13 @@ static void value_view_filter_free_value (GValue* value) { static void value_view_filter_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (src_value->data[0].v_pointer) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" dest_value->data[0].v_pointer = view_filter_ref (src_value->data[0].v_pointer); #line 8911 "ViewCollection.c" } else { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" dest_value->data[0].v_pointer = NULL; #line 8915 "ViewCollection.c" } @@ -8918,37 +8918,37 @@ static void value_view_filter_copy_value (const GValue* src_value, GValue* dest_ static gpointer value_view_filter_peek_pointer (const GValue* value) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return value->data[0].v_pointer; #line 8923 "ViewCollection.c" } static gchar* value_view_filter_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (collect_values[0].v_pointer) { #line 8930 "ViewCollection.c" ViewFilter* object; object = collect_values[0].v_pointer; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (object->parent_instance.g_class == NULL) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); #line 8937 "ViewCollection.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.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 8941 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = view_filter_ref (object); #line 8945 "ViewCollection.c" } else { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 8949 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return NULL; #line 8953 "ViewCollection.c" } @@ -8957,27 +8957,27 @@ static gchar* value_view_filter_collect_value (GValue* value, guint n_collect_va static gchar* value_view_filter_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { ViewFilter** object_p; object_p = collect_values[0].v_pointer; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!object_p) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); #line 8964 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (!value->data[0].v_pointer) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = NULL; #line 8970 "ViewCollection.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = value->data[0].v_pointer; #line 8974 "ViewCollection.c" } else { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" *object_p = view_filter_ref (value->data[0].v_pointer); #line 8978 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return NULL; #line 8982 "ViewCollection.c" } @@ -8985,22 +8985,22 @@ static gchar* value_view_filter_lcopy_value (const GValue* value, guint n_collec GParamSpec* param_spec_view_filter (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecViewFilter* spec; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_VIEW_FILTER), NULL); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return G_PARAM_SPEC (spec); #line 8996 "ViewCollection.c" } gpointer value_get_view_filter (const GValue* value) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER), NULL); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return value->data[0].v_pointer; #line 9005 "ViewCollection.c" } @@ -9008,29 +9008,29 @@ gpointer value_get_view_filter (const GValue* value) { void value_set_view_filter (GValue* value, gpointer v_object) { ViewFilter* old; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER)); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" old = value->data[0].v_pointer; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (v_object) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_FILTER)); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = v_object; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_filter_ref (value->data[0].v_pointer); #line 9025 "ViewCollection.c" } else { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 9029 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (old) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_filter_unref (old); #line 9035 "ViewCollection.c" } @@ -9039,27 +9039,27 @@ void value_set_view_filter (GValue* value, gpointer v_object) { void value_take_view_filter (GValue* value, gpointer v_object) { ViewFilter* old; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER)); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" old = value->data[0].v_pointer; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (v_object) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_FILTER)); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = v_object; #line 9054 "ViewCollection.c" } else { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" value->data[0].v_pointer = NULL; #line 9058 "ViewCollection.c" } -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (old) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_filter_unref (old); #line 9064 "ViewCollection.c" } @@ -9067,22 +9067,22 @@ void value_take_view_filter (GValue* value, gpointer v_object) { static void view_filter_class_init (ViewFilterClass * klass) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" view_filter_parent_class = g_type_class_peek_parent (klass); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewFilterClass *) klass)->finalize = view_filter_finalize; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewFilterClass *) klass)->predicate = view_filter_real_predicate; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" ((ViewFilterClass *) klass)->refresh = view_filter_real_refresh; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_signal_new ("refresh", TYPE_VIEW_FILTER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViewFilterClass, refresh), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 9080 "ViewCollection.c" } static void view_filter_instance_init (ViewFilter * self) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self->ref_count = 1; #line 9087 "ViewCollection.c" } @@ -9090,9 +9090,9 @@ static void view_filter_instance_init (ViewFilter * self) { static void view_filter_finalize (ViewFilter* obj) { ViewFilter * self; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_VIEW_FILTER, ViewFilter); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_signal_handlers_destroy (self); #line 9097 "ViewCollection.c" } @@ -9115,9 +9115,9 @@ GType view_filter_get_type (void) { gpointer view_filter_ref (gpointer instance) { ViewFilter* self; self = instance; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_atomic_int_inc (&self->ref_count); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" return instance; #line 9122 "ViewCollection.c" } @@ -9126,11 +9126,11 @@ gpointer view_filter_ref (gpointer instance) { void view_filter_unref (gpointer instance) { ViewFilter* self; self = instance; -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" VIEW_FILTER_GET_CLASS (self)->finalize (self); -#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" +#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala" g_type_free_instance ((GTypeInstance *) self); #line 9135 "ViewCollection.c" } diff --git a/src/core/ViewCollection.vala b/src/core/ViewCollection.vala index ce6fcaf..7e13fb0 100644 --- a/src/core/ViewCollection.vala +++ b/src/core/ViewCollection.vala @@ -646,7 +646,8 @@ public class ViewCollection : DataCollection { } public override void items_altered(Gee.Map<DataObject, Alteration> map) { - filter_altered_items(map.keys); + // Cast - our DataObjects are DataViews. + filter_altered_items((Gee.Collection<DataView>)map.keys); base.items_altered(map); } diff --git a/src/core/util.c b/src/core/util.c index 0088011..927d070 100644 --- a/src/core/util.c +++ b/src/core/util.c @@ -1,4 +1,4 @@ -/* util.c generated by valac 0.32.1, the Vala compiler +/* util.c generated by valac 0.34.1, the Vala compiler * generated from util.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/data_imports/DataImportJob.c b/src/data_imports/DataImportJob.c index 1cef36b..53ee367 100644 --- a/src/data_imports/DataImportJob.c +++ b/src/data_imports/DataImportJob.c @@ -1,4 +1,4 @@ -/* DataImportJob.c generated by valac 0.32.1, the Vala compiler +/* DataImportJob.c generated by valac 0.34.1, the Vala compiler * generated from DataImportJob.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/data_imports/DataImportSource.c b/src/data_imports/DataImportSource.c index 4c6b25d..b85a8d2 100644 --- a/src/data_imports/DataImportSource.c +++ b/src/data_imports/DataImportSource.c @@ -1,4 +1,4 @@ -/* DataImportSource.c generated by valac 0.32.1, the Vala compiler +/* DataImportSource.c generated by valac 0.34.1, the Vala compiler * generated from DataImportSource.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/data_imports/DataImports.c b/src/data_imports/DataImports.c index 2b9e8e9..6c4ab60 100644 --- a/src/data_imports/DataImports.c +++ b/src/data_imports/DataImports.c @@ -1,4 +1,4 @@ -/* DataImports.c generated by valac 0.32.1, the Vala compiler +/* DataImports.c generated by valac 0.34.1, the Vala compiler * generated from DataImports.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/data_imports/DataImportsPluginHost.c b/src/data_imports/DataImportsPluginHost.c index 308cd17..be5e38c 100644 --- a/src/data_imports/DataImportsPluginHost.c +++ b/src/data_imports/DataImportsPluginHost.c @@ -1,4 +1,4 @@ -/* DataImportsPluginHost.c generated by valac 0.32.1, the Vala compiler +/* DataImportsPluginHost.c generated by valac 0.34.1, the Vala compiler * generated from DataImportsPluginHost.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/data_imports/DataImportsUI.c b/src/data_imports/DataImportsUI.c index ac73508..cb9749b 100644 --- a/src/data_imports/DataImportsUI.c +++ b/src/data_imports/DataImportsUI.c @@ -1,4 +1,4 @@ -/* DataImportsUI.c generated by valac 0.32.1, the Vala compiler +/* DataImportsUI.c generated by valac 0.34.1, the Vala compiler * generated from DataImportsUI.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/DatabaseTable.c b/src/db/DatabaseTable.c index 4e0ada2..7b533de 100644 --- a/src/db/DatabaseTable.c +++ b/src/db/DatabaseTable.c @@ -1,4 +1,4 @@ -/* DatabaseTable.c generated by valac 0.32.1, the Vala compiler +/* DatabaseTable.c generated by valac 0.34.1, the Vala compiler * generated from DatabaseTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -86,6 +86,7 @@ static void database_table_prepare_db (const gchar* filename); void app_window_panic (const gchar* msg); #define DB_IN_MEMORY_NAME ":memory:" void database_table_on_trace (const gchar* message); +static void _database_table_on_trace_sqlite_trace_callback (gpointer self, const gchar* message); void database_table_init (const gchar* filename); void database_table_warning (const gchar* op, gint res); void database_table_terminate (void); @@ -119,6 +120,13 @@ GQuark database_error_quark (void) { } +static void _database_table_on_trace_sqlite_trace_callback (gpointer self, const gchar* message) { +#line 57 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + database_table_on_trace (message); +#line 127 "DatabaseTable.c" +} + + static void database_table_prepare_db (const gchar* filename) { gint res = 0; const gchar* _tmp0_ = NULL; @@ -126,6 +134,9 @@ static void database_table_prepare_db (const gchar* filename) { gint _tmp2_ = 0; gint _tmp3_ = 0; const gchar* _tmp9_ = NULL; + const gchar* sql_debug = NULL; + const gchar* _tmp26_ = NULL; + const gchar* _tmp27_ = NULL; GError * _inner_error_ = NULL; #line 32 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (filename != NULL); @@ -143,7 +154,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 147 "DatabaseTable.c" +#line 158 "DatabaseTable.c" const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; gint _tmp6_ = 0; @@ -163,13 +174,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 167 "DatabaseTable.c" +#line 178 "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 173 "DatabaseTable.c" +#line 184 "DatabaseTable.c" { GFile* file_db = NULL; const gchar* _tmp10_ = NULL; @@ -195,7 +206,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 199 "DatabaseTable.c" +#line 210 "DatabaseTable.c" goto __catch13_g_error; } #line 45 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -204,7 +215,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 208 "DatabaseTable.c" +#line 219 "DatabaseTable.c" const gchar* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; @@ -221,13 +232,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 225 "DatabaseTable.c" +#line 236 "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 231 "DatabaseTable.c" +#line 242 "DatabaseTable.c" } goto __finally13; __catch13_g_error: @@ -261,7 +272,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 265 "DatabaseTable.c" +#line 276 "DatabaseTable.c" } __finally13: #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -272,21 +283,37 @@ 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 276 "DatabaseTable.c" +#line 287 "DatabaseTable.c" } } +#line 53 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + _tmp26_ = g_getenv ("SHOTWELL_SQL_DEBUG"); +#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; +#line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + if (g_strcmp0 (_tmp27_, "") != 0) { +#line 298 "DatabaseTable.c" + sqlite3* _tmp28_ = NULL; +#line 57 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + _tmp28_ = 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" + } } void database_table_on_trace (const gchar* message) { const gchar* _tmp0_ = NULL; -#line 57 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 61 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (message != NULL); -#line 58 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 62 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = message; -#line 58 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_debug ("DatabaseTable.vala:58: SQLITE: %s", _tmp0_); -#line 290 "DatabaseTable.c" +#line 62 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + g_debug ("DatabaseTable.vala:62: SQLITE: %s", _tmp0_); +#line 317 "DatabaseTable.c" } @@ -301,56 +328,56 @@ static gint _sqlite3_exec (sqlite3* self, const gchar* sql, sqlite3_callback cal const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; const gchar* _tmp6_ = NULL; -#line 34 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 34 "/usr/share/vala-0.34/vapi/sqlite3.vapi" g_return_val_if_fail (self != NULL, 0); -#line 34 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 34 "/usr/share/vala-0.34/vapi/sqlite3.vapi" g_return_val_if_fail (sql != NULL, 0); -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp0_ = sql; -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp1_ = callback; -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp1__target = callback_target; -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp3_ = sqlite3_exec (self, _tmp0_, _tmp1_, _tmp1__target, (char**) (&_tmp2_)); -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" sqlite_errmsg = _tmp2_; -#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi" ec = _tmp3_; -#line 37 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 37 "/usr/share/vala-0.34/vapi/sqlite3.vapi" if ((&_vala_errmsg) != NULL) { -#line 323 "DatabaseTable.c" +#line 350 "DatabaseTable.c" const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp4_ = sqlite_errmsg; -#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp5_ = g_strdup (_tmp4_); -#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _g_free0 (_vala_errmsg); -#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _vala_errmsg = _tmp5_; -#line 334 "DatabaseTable.c" +#line 361 "DatabaseTable.c" } -#line 40 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 40 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp6_ = sqlite_errmsg; -#line 40 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 40 "/usr/share/vala-0.34/vapi/sqlite3.vapi" sqlite3_free ((void*) _tmp6_); -#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" result = ec; -#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" if (errmsg) { -#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" *errmsg = _vala_errmsg; -#line 346 "DatabaseTable.c" +#line 373 "DatabaseTable.c" } else { -#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _g_free0 (_vala_errmsg); -#line 350 "DatabaseTable.c" +#line 377 "DatabaseTable.c" } -#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi" +#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" return result; -#line 354 "DatabaseTable.c" +#line 381 "DatabaseTable.c" } @@ -366,41 +393,41 @@ void database_table_init (const gchar* filename) { gint _tmp20_ = 0; gint _tmp21_ = 0; GError * _inner_error_ = NULL; -#line 61 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 65 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (filename != NULL); -#line 63 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = filename; -#line 63 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - database_table_prepare_db (_tmp0_); #line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + database_table_prepare_db (_tmp0_); +#line 71 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = database_table_db; -#line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 71 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = sqlite3_prepare_v2 (_tmp1_, "CREATE TABLE IF NOT EXISTS VersionTable (" "id INTEGER PRIMARY KEY, " "schema_version INTEGER, " "app_version TEXT, " "user_data TEXT NULL" ")", -1, &_tmp2_, NULL); -#line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 71 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 71 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 67 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 71 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp3_; -#line 75 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 79 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = res; -#line 75 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 79 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp4_ != SQLITE_OK) { -#line 390 "DatabaseTable.c" +#line 417 "DatabaseTable.c" gchar* backup_path = NULL; const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 76 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_close0 (database_table_db); -#line 76 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_db = NULL; -#line 78 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = filename; -#line 78 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = g_strconcat (_tmp5_, ".bak", NULL); -#line 78 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" backup_path = _tmp6_; -#line 404 "DatabaseTable.c" +#line 431 "DatabaseTable.c" { GFile* src = NULL; const gchar* _tmp7_ = NULL; @@ -411,42 +438,42 @@ void database_table_init (const gchar* filename) { GFile* _tmp11_ = NULL; GFile* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; -#line 81 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 85 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = backup_path; -#line 81 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 85 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = g_file_new_for_commandline_arg (_tmp7_); -#line 81 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 85 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" src = _tmp8_; -#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 86 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = filename; -#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 86 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = g_file_new_for_commandline_arg (_tmp9_); -#line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 86 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" dest = _tmp10_; -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = src; -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = dest; -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_file_copy (_tmp11_, _tmp12_, G_FILE_COPY_OVERWRITE | G_FILE_COPY_ALL_METADATA, NULL, NULL, NULL, &_inner_error_); -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (dest); -#line 83 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (src); -#line 439 "DatabaseTable.c" +#line 466 "DatabaseTable.c" goto __catch14_g_error; } -#line 86 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 90 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = filename; -#line 86 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 90 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_db (_tmp13_); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (dest); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (src); -#line 450 "DatabaseTable.c" +#line 477 "DatabaseTable.c" } goto __finally14; __catch14_g_error: @@ -457,77 +484,77 @@ void database_table_init (const gchar* filename) { const gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _error_ = _inner_error_; -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = NULL; -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = _ ("Unable to restore photo database %s"); -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = _error_; -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = _tmp15_->message; -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = g_strdup_printf (_tmp14_, _tmp16_); -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = _tmp17_; -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" app_window_panic (_tmp18_); -#line 88 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 92 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp18_); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_error_free0 (_error_); -#line 481 "DatabaseTable.c" +#line 508 "DatabaseTable.c" } __finally14: -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (backup_path); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/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); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 80 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 496 "DatabaseTable.c" +#line 523 "DatabaseTable.c" } -#line 75 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 79 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (backup_path); -#line 500 "DatabaseTable.c" +#line 527 "DatabaseTable.c" } -#line 94 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 98 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp19_ = database_table_db; -#line 94 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 98 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = _sqlite3_exec (_tmp19_, "PRAGMA synchronous=OFF", NULL, NULL, NULL); -#line 94 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 98 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp20_; -#line 95 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 99 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp21_ = res; -#line 95 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 99 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp21_ != SQLITE_OK) { -#line 512 "DatabaseTable.c" +#line 539 "DatabaseTable.c" gint _tmp22_ = 0; -#line 96 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 100 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp22_ = res; -#line 96 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 100 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_warning ("Unable to disable synchronous mode", _tmp22_); -#line 518 "DatabaseTable.c" +#line 545 "DatabaseTable.c" } -#line 61 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 65 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 522 "DatabaseTable.c" +#line 549 "DatabaseTable.c" } void database_table_terminate (void) { -#line 101 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 105 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_close0 (database_table_db); -#line 101 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 105 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_db = NULL; -#line 531 "DatabaseTable.c" +#line 558 "DatabaseTable.c" } @@ -536,19 +563,19 @@ void database_table_fatal (const gchar* op, gint res) { gint _tmp1_ = 0; sqlite3* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 105 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 109 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (op != NULL); -#line 106 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = op; -#line 106 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = res; -#line 106 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = database_table_db; -#line 106 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = sqlite3_errmsg (_tmp2_); -#line 106 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_error ("DatabaseTable.vala:106: %s: [%d] %s", _tmp0_, _tmp1_, _tmp3_); -#line 552 "DatabaseTable.c" +#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" } @@ -557,38 +584,38 @@ void database_table_warning (const gchar* op, gint res) { gint _tmp1_ = 0; sqlite3* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 114 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (op != NULL); -#line 111 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = op; -#line 111 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = res; -#line 111 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = database_table_db; -#line 111 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = sqlite3_errmsg (_tmp2_); -#line 111 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_warning ("DatabaseTable.vala:111: %s: [%d] %s", _tmp0_, _tmp1_, _tmp3_); -#line 573 "DatabaseTable.c" +#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" } void database_table_set_table_name (DatabaseTable* self, const gchar* table_name) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 114 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 118 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 114 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 118 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (table_name != NULL); -#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 119 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = table_name; -#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 119 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = g_strdup (_tmp0_); -#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 119 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (self->table_name); -#line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 119 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" self->table_name = _tmp1_; -#line 592 "DatabaseTable.c" +#line 619 "DatabaseTable.c" } @@ -601,277 +628,277 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) gchar* _tmp4_ = NULL; gint _tmp5_ = 0; GError * _inner_error_ = NULL; -#line 120 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 124 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (method != NULL); -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = method; -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = res; -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = database_table_db; -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = sqlite3_errmsg (_tmp2_); -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = g_strdup_printf ("(%s) [%d] - %s", _tmp0_, _tmp1_, _tmp3_); -#line 121 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 125 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" msg = _tmp4_; -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = res; -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" switch (_tmp5_) { -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_OK: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_DONE: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_ROW: -#line 629 "DatabaseTable.c" +#line 656 "DatabaseTable.c" { -#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 131 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 131 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 635 "DatabaseTable.c" +#line 662 "DatabaseTable.c" } -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_PERM: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_BUSY: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_READONLY: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_IOERR: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_CORRUPT: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_CANTOPEN: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_NOLFS: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_AUTH: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_FORMAT: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_NOTADB: -#line 657 "DatabaseTable.c" +#line 684 "DatabaseTable.c" { const gchar* _tmp6_ = NULL; GError* _tmp7_ = NULL; -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = msg; -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_BACKING, _tmp6_); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp7_; -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 675 "DatabaseTable.c" +#line 702 "DatabaseTable.c" } else { -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/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); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 139 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 685 "DatabaseTable.c" +#line 712 "DatabaseTable.c" } } -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_NOMEM: -#line 690 "DatabaseTable.c" +#line 717 "DatabaseTable.c" { const gchar* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = msg; -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_MEMORY, _tmp8_); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp9_; -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 708 "DatabaseTable.c" +#line 735 "DatabaseTable.c" } else { -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/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); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 142 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 718 "DatabaseTable.c" +#line 745 "DatabaseTable.c" } } -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_ABORT: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_LOCKED: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_INTERRUPT: -#line 727 "DatabaseTable.c" +#line 754 "DatabaseTable.c" { const gchar* _tmp10_ = NULL; GError* _tmp11_ = NULL; -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = msg; -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_ABORT, _tmp10_); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp11_; -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 745 "DatabaseTable.c" +#line 772 "DatabaseTable.c" } else { -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/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); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 147 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 755 "DatabaseTable.c" +#line 782 "DatabaseTable.c" } } -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_FULL: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_EMPTY: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_TOOBIG: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_CONSTRAINT: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_RANGE: -#line 768 "DatabaseTable.c" +#line 795 "DatabaseTable.c" { const gchar* _tmp12_ = NULL; GError* _tmp13_ = NULL; -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = msg; -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_LIMITS, _tmp12_); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp13_; -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 786 "DatabaseTable.c" +#line 813 "DatabaseTable.c" } else { -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/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); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 154 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 796 "DatabaseTable.c" +#line 823 "DatabaseTable.c" } } -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_SCHEMA: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_MISMATCH: -#line 803 "DatabaseTable.c" +#line 830 "DatabaseTable.c" { const gchar* _tmp14_ = NULL; GError* _tmp15_ = NULL; -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = msg; -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_TYPESPEC, _tmp14_); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp15_; -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 821 "DatabaseTable.c" +#line 848 "DatabaseTable.c" } else { -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/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); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 831 "DatabaseTable.c" +#line 858 "DatabaseTable.c" } } default: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_ERROR: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_INTERNAL: -#line 123 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_MISUSE: -#line 841 "DatabaseTable.c" +#line 868 "DatabaseTable.c" { const gchar* _tmp16_ = NULL; GError* _tmp17_ = NULL; -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = msg; -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = g_error_new_literal (DATABASE_ERROR, DATABASE_ERROR_ERROR, _tmp16_); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _inner_error_ = _tmp17_; -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 859 "DatabaseTable.c" +#line 886 "DatabaseTable.c" } else { -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/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); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 164 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 869 "DatabaseTable.c" +#line 896 "DatabaseTable.c" } } } -#line 120 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 124 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 875 "DatabaseTable.c" +#line 902 "DatabaseTable.c" } @@ -896,69 +923,69 @@ gboolean database_table_exists_by_id (DatabaseTable* self, gint64 id) { gboolean _tmp14_ = FALSE; gint _tmp15_ = 0; gint _tmp24_ = 0; -#line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 172 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = self->table_name; -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("SELECT id FROM %s WHERE id=?", _tmp1_); -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = _tmp2_; -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp0_, _tmp3_, -1, &_tmp4_, NULL); -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp4_; -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = _tmp5_; -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp3_); -#line 170 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 171 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 175 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 171 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 175 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 173 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = stmt; -#line 173 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = id; -#line 173 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = sqlite3_bind_int64 (_tmp8_, 1, _tmp9_); -#line 173 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp10_; -#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = res; -#line 174 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp11_ == SQLITE_OK, "res == Sqlite.OK"); -#line 176 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = stmt; -#line 176 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = sqlite3_step (_tmp12_); -#line 176 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp13_; -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = res; -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp15_ != SQLITE_ROW) { -#line 948 "DatabaseTable.c" +#line 975 "DatabaseTable.c" gint _tmp16_ = 0; -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = _tmp16_ != SQLITE_DONE; -#line 954 "DatabaseTable.c" +#line 981 "DatabaseTable.c" } else { -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = FALSE; -#line 958 "DatabaseTable.c" +#line 985 "DatabaseTable.c" } -#line 177 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_) { -#line 962 "DatabaseTable.c" +#line 989 "DatabaseTable.c" gint64 _tmp17_ = 0LL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; @@ -966,37 +993,37 @@ gboolean database_table_exists_by_id (DatabaseTable* self, gint64 id) { gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; gint _tmp23_ = 0; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = id; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp17_); -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp19_ = _tmp18_; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = self->table_name; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp21_ = g_strdup_printf ("exists_by_id [%s] %s", _tmp19_, _tmp20_); -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp22_ = _tmp21_; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp23_ = res; -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_fatal (_tmp22_, _tmp23_); -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp22_); -#line 178 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp19_); -#line 990 "DatabaseTable.c" +#line 1017 "DatabaseTable.c" } -#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp24_ = res; -#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp24_ == SQLITE_ROW; -#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 180 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1000 "DatabaseTable.c" +#line 1027 "DatabaseTable.c" } @@ -1022,71 +1049,71 @@ gboolean database_table_select_by_id (DatabaseTable* self, gint64 id, const gcha gboolean _tmp14_ = FALSE; gint _tmp15_ = 0; gint _tmp25_ = 0; -#line 183 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 187 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 183 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 187 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (columns != NULL, FALSE); -#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 188 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = columns; -#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 188 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = self->table_name; -#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 188 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("SELECT %s FROM %s WHERE id=?", _tmp0_, _tmp1_); -#line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 188 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" sql = _tmp2_; -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = database_table_db; -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = sql; -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = sqlite3_prepare_v2 (_tmp3_, _tmp4_, -1, &_tmp5_, NULL); -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_stmt = _tmp5_; -#line 186 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 187 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 191 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 187 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 191 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 189 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = _vala_stmt; -#line 189 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = id; -#line 189 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = sqlite3_bind_int64 (_tmp8_, 1, _tmp9_); -#line 189 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp10_; -#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = res; -#line 190 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp11_ == SQLITE_OK, "res == Sqlite.OK"); -#line 192 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = _vala_stmt; -#line 192 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = sqlite3_step (_tmp12_); -#line 192 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp13_; -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = res; -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp15_ != SQLITE_ROW) { -#line 1076 "DatabaseTable.c" +#line 1103 "DatabaseTable.c" gint _tmp16_ = 0; -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = _tmp16_ != SQLITE_DONE; -#line 1082 "DatabaseTable.c" +#line 1109 "DatabaseTable.c" } else { -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = FALSE; -#line 1086 "DatabaseTable.c" +#line 1113 "DatabaseTable.c" } -#line 193 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_) { -#line 1090 "DatabaseTable.c" +#line 1117 "DatabaseTable.c" gint64 _tmp17_ = 0LL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; @@ -1095,49 +1122,49 @@ gboolean database_table_select_by_id (DatabaseTable* self, gint64 id, const gcha gchar* _tmp22_ = NULL; gchar* _tmp23_ = NULL; gint _tmp24_ = 0; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = id; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp17_); -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp19_ = _tmp18_; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = self->table_name; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp21_ = columns; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp22_ = g_strdup_printf ("select_by_id [%s] %s %s", _tmp19_, _tmp20_, _tmp21_); -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp23_ = _tmp22_; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp24_ = res; -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_fatal (_tmp23_, _tmp24_); -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp23_); -#line 194 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp19_); -#line 1121 "DatabaseTable.c" +#line 1148 "DatabaseTable.c" } -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp25_ = res; -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp25_ == SQLITE_ROW; -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (sql); -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (stmt) { -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *stmt = _vala_stmt; -#line 1133 "DatabaseTable.c" +#line 1160 "DatabaseTable.c" } else { -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 1137 "DatabaseTable.c" +#line 1164 "DatabaseTable.c" } -#line 196 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1141 "DatabaseTable.c" +#line 1168 "DatabaseTable.c" } @@ -1155,53 +1182,53 @@ static void database_table_prepare_update_by_id (DatabaseTable* self, gint64 id, gint64 _tmp7_ = 0LL; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (column != NULL); -#line 201 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 205 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = self->table_name; -#line 201 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 205 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 201 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 205 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("UPDATE %s SET %s=? WHERE id=?", _tmp0_, _tmp1_); -#line 201 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 205 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" sql = _tmp2_; -#line 203 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = database_table_db; -#line 203 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp3_, sql, -1, &_tmp4_, NULL); -#line 203 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 203 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_stmt = _tmp4_; -#line 203 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp5_; -#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 208 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = res; -#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 208 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp6_ == SQLITE_OK, "res == Sqlite.OK"); -#line 206 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 210 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = id; -#line 206 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 210 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = sqlite3_bind_int64 (_vala_stmt, 2, _tmp7_); -#line 206 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 210 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp8_; -#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 211 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = res; -#line 207 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 211 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp9_ == SQLITE_OK, "res == Sqlite.OK"); -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (sql); -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (stmt) { -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *stmt = _vala_stmt; -#line 1201 "DatabaseTable.c" +#line 1228 "DatabaseTable.c" } else { -#line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 1205 "DatabaseTable.c" +#line 1232 "DatabaseTable.c" } } @@ -1212,37 +1239,37 @@ static gboolean database_table_execute_update_by_id (DatabaseTable* self, sqlite sqlite3_stmt* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 210 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 214 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 210 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 214 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (stmt != NULL, FALSE); -#line 211 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 215 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = stmt; -#line 211 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 215 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = sqlite3_step (_tmp0_); -#line 211 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 215 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp1_; -#line 212 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 216 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = res; -#line 212 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 216 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp2_ != SQLITE_DONE) { -#line 1230 "DatabaseTable.c" +#line 1257 "DatabaseTable.c" gint _tmp3_ = 0; -#line 213 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 217 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = res; -#line 213 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 217 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_fatal ("execute_update_by_id", _tmp3_); -#line 215 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 219 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = FALSE; -#line 215 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 219 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1240 "DatabaseTable.c" +#line 1267 "DatabaseTable.c" } -#line 218 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 222 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; -#line 218 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 222 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1246 "DatabaseTable.c" +#line 1273 "DatabaseTable.c" } @@ -1258,43 +1285,43 @@ gboolean database_table_update_text_by_id (DatabaseTable* self, gint64 id, const GDestroyNotify _tmp5_ = NULL; gint _tmp6_ = 0; gboolean _tmp7_ = FALSE; -#line 221 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 221 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column != NULL, FALSE); -#line 221 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 223 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 227 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 223 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 227 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 223 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 227 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 223 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 227 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 223 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 227 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 229 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = text; -#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 229 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = g_strdup (_tmp3_); -#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 229 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = g_free; -#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 229 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = sqlite3_bind_text (stmt, 1, _tmp4_, -1, _tmp5_); -#line 225 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 229 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 226 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 230 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (res == SQLITE_OK, "res == Sqlite.OK"); -#line 228 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 232 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = database_table_execute_update_by_id (self, stmt); -#line 228 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 232 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp7_; -#line 228 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 232 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 228 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 232 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1298 "DatabaseTable.c" +#line 1325 "DatabaseTable.c" } @@ -1314,95 +1341,95 @@ void database_table_update_text_by_id_2 (DatabaseTable* self, gint64 id, const g gint _tmp10_ = 0; gint _tmp11_ = 0; GError * _inner_error_ = NULL; -#line 231 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 231 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (column != NULL); -#line 231 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (text != NULL); -#line 233 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 237 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 233 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 237 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 233 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 237 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 233 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 237 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 233 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 237 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = stmt; -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = text; -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = g_strdup (_tmp4_); -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = g_free; -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = sqlite3_bind_text (_tmp3_, 1, _tmp5_, -1, _tmp6_); -#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp7_; -#line 236 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = res; -#line 236 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp8_ == SQLITE_OK, "res == Sqlite.OK"); -#line 238 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 242 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = stmt; -#line 238 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 242 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = sqlite3_step (_tmp9_); -#line 238 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 242 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp10_; -#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 243 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = res; -#line 239 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 243 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp11_ != SQLITE_DONE) { -#line 1360 "DatabaseTable.c" +#line 1387 "DatabaseTable.c" const gchar* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gint _tmp16_ = 0; -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = self->table_name; -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = column; -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = g_strdup_printf ("DatabaseTable.update_text_by_id_2 %s.%s", _tmp12_, _tmp13_); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = _tmp14_; -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_throw_error (_tmp15_, _tmp16_, &_inner_error_); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp15_); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1390 "DatabaseTable.c" +#line 1417 "DatabaseTable.c" } else { -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/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); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 240 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1400 "DatabaseTable.c" +#line 1427 "DatabaseTable.c" } } } -#line 231 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1406 "DatabaseTable.c" +#line 1433 "DatabaseTable.c" } @@ -1416,37 +1443,37 @@ gboolean database_table_update_int_by_id (DatabaseTable* self, gint64 id, const gint _tmp3_ = 0; gint _tmp4_ = 0; gboolean _tmp5_ = FALSE; -#line 243 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 247 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 243 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 247 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column != NULL, FALSE); -#line 245 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 249 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 245 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 249 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 245 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 249 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 245 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 249 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 245 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 249 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 247 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 251 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = value; -#line 247 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 251 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = sqlite3_bind_int (stmt, 1, _tmp3_); -#line 247 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 251 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp4_; -#line 248 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 252 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (res == SQLITE_OK, "res == Sqlite.OK"); -#line 250 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 254 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = database_table_execute_update_by_id (self, stmt); -#line 250 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 254 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp5_; -#line 250 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 254 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 250 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 254 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1450 "DatabaseTable.c" +#line 1477 "DatabaseTable.c" } @@ -1464,89 +1491,89 @@ void database_table_update_int_by_id_2 (DatabaseTable* self, gint64 id, const gc gint _tmp8_ = 0; gint _tmp9_ = 0; GError * _inner_error_ = NULL; -#line 253 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 253 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (column != NULL); -#line 255 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 259 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 255 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 259 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 255 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 259 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 255 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 259 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 255 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 259 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = stmt; -#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = value; -#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_bind_int (_tmp3_, 1, _tmp4_); -#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp5_; -#line 258 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = res; -#line 258 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp6_ == SQLITE_OK, "res == Sqlite.OK"); -#line 260 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 264 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = stmt; -#line 260 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 264 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = sqlite3_step (_tmp7_); -#line 260 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 264 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp8_; -#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 265 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = res; -#line 261 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 265 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp9_ != SQLITE_DONE) { -#line 1504 "DatabaseTable.c" +#line 1531 "DatabaseTable.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gint _tmp14_ = 0; -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = self->table_name; -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = column; -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = g_strdup_printf ("DatabaseTable.update_int_by_id_2 %s.%s", _tmp10_, _tmp11_); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = _tmp12_; -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = res; -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_throw_error (_tmp13_, _tmp14_, &_inner_error_); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp13_); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1534 "DatabaseTable.c" +#line 1561 "DatabaseTable.c" } else { -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/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); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 262 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1544 "DatabaseTable.c" +#line 1571 "DatabaseTable.c" } } } -#line 253 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1550 "DatabaseTable.c" +#line 1577 "DatabaseTable.c" } @@ -1560,37 +1587,37 @@ gboolean database_table_update_int64_by_id (DatabaseTable* self, gint64 id, cons gint64 _tmp3_ = 0LL; gint _tmp4_ = 0; gboolean _tmp5_ = FALSE; -#line 265 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 269 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), FALSE); -#line 265 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 269 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column != NULL, FALSE); -#line 267 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 271 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 267 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 271 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 267 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 271 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 267 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 271 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 267 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 271 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 269 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 273 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = value; -#line 269 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 273 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = sqlite3_bind_int64 (stmt, 1, _tmp3_); -#line 269 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 273 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp4_; -#line 270 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 274 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (res == SQLITE_OK, "res == Sqlite.OK"); -#line 272 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 276 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = database_table_execute_update_by_id (self, stmt); -#line 272 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 276 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp5_; -#line 272 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 276 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 272 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 276 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1594 "DatabaseTable.c" +#line 1621 "DatabaseTable.c" } @@ -1608,89 +1635,89 @@ void database_table_update_int64_by_id_2 (DatabaseTable* self, gint64 id, const gint _tmp8_ = 0; gint _tmp9_ = 0; GError * _inner_error_ = NULL; -#line 275 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 275 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (column != NULL); -#line 277 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 281 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = id; -#line 277 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 281 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = column; -#line 277 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 281 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_prepare_update_by_id (self, _tmp0_, _tmp1_, &_tmp2_); -#line 277 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 281 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 277 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 281 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp2_; -#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = stmt; -#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = value; -#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_bind_int64 (_tmp3_, 1, _tmp4_); -#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp5_; -#line 280 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = res; -#line 280 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp6_ == SQLITE_OK, "res == Sqlite.OK"); -#line 282 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 286 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = stmt; -#line 282 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 286 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = sqlite3_step (_tmp7_); -#line 282 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 286 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp8_; -#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 287 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = res; -#line 283 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 287 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp9_ != SQLITE_DONE) { -#line 1648 "DatabaseTable.c" +#line 1675 "DatabaseTable.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gint _tmp14_ = 0; -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = self->table_name; -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = column; -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = g_strdup_printf ("DatabaseTable.update_int64_by_id_2 %s.%s", _tmp10_, _tmp11_); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = _tmp12_; -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = res; -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_throw_error (_tmp13_, _tmp14_, &_inner_error_); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp13_); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1678 "DatabaseTable.c" +#line 1705 "DatabaseTable.c" } else { -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/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); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 284 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1688 "DatabaseTable.c" +#line 1715 "DatabaseTable.c" } } } -#line 275 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1694 "DatabaseTable.c" +#line 1721 "DatabaseTable.c" } @@ -1713,98 +1740,98 @@ void database_table_delete_by_id (DatabaseTable* self, gint64 id, GError** error gint _tmp13_ = 0; gint _tmp14_ = 0; GError * _inner_error_ = NULL; -#line 287 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 291 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (IS_DATABASE_TABLE (self)); -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = self->table_name; -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("DELETE FROM %s WHERE id=?", _tmp1_); -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = _tmp2_; -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp0_, _tmp3_, -1, &_tmp4_, NULL); -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp4_; -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = _tmp5_; -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp3_); -#line 289 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 290 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 294 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 290 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 294 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 292 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = stmt; -#line 292 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = id; -#line 292 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = sqlite3_bind_int64 (_tmp8_, 1, _tmp9_); -#line 292 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp10_; -#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = res; -#line 293 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp11_ == SQLITE_OK, "res == Sqlite.OK"); -#line 295 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 299 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = stmt; -#line 295 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 299 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = sqlite3_step (_tmp12_); -#line 295 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 299 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp13_; -#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 300 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = res; -#line 296 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 300 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_ != SQLITE_DONE) { -#line 1765 "DatabaseTable.c" +#line 1792 "DatabaseTable.c" const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; gint _tmp18_ = 0; -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = self->table_name; -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = g_strdup_printf ("%s.remove", _tmp15_); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = _tmp16_; -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = res; -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_throw_error (_tmp17_, _tmp18_, &_inner_error_); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp17_); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1792 "DatabaseTable.c" +#line 1819 "DatabaseTable.c" } else { -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/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); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 297 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1802 "DatabaseTable.c" +#line 1829 "DatabaseTable.c" } } } -#line 287 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 291 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1808 "DatabaseTable.c" +#line 1835 "DatabaseTable.c" } @@ -1820,90 +1847,90 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 300 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 304 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (table_name != NULL, FALSE); -#line 300 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 304 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column_name != NULL, FALSE); -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = table_name; -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("PRAGMA table_info(%s)", _tmp1_); -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = _tmp2_; -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp0_, _tmp3_, -1, &_tmp4_, NULL); -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp4_; -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = _tmp5_; -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp3_); -#line 302 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 303 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 307 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 303 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 307 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 1852 "DatabaseTable.c" +#line 1879 "DatabaseTable.c" { gboolean _tmp8_ = FALSE; -#line 305 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = TRUE; -#line 305 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" while (TRUE) { -#line 1859 "DatabaseTable.c" +#line 1886 "DatabaseTable.c" sqlite3_stmt* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 305 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (!_tmp8_) { -#line 1865 "DatabaseTable.c" +#line 1892 "DatabaseTable.c" } -#line 305 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = FALSE; -#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = stmt; -#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = sqlite3_step (_tmp9_); -#line 306 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp10_; -#line 307 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 311 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = res; -#line 307 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 311 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp11_ == SQLITE_DONE) { -#line 308 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 312 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" break; -#line 1881 "DatabaseTable.c" +#line 1908 "DatabaseTable.c" } else { gint _tmp12_ = 0; -#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = res; -#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp12_ != SQLITE_ROW) { -#line 1888 "DatabaseTable.c" +#line 1915 "DatabaseTable.c" const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gint _tmp16_ = 0; -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = table_name; -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = g_strdup_printf ("has_column %s", _tmp13_); -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = _tmp14_; -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_fatal (_tmp15_, _tmp16_); -#line 310 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp15_); -#line 312 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" break; -#line 1907 "DatabaseTable.c" +#line 1934 "DatabaseTable.c" } else { gchar* column = NULL; sqlite3_stmt* _tmp17_ = NULL; @@ -1911,59 +1938,59 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column gchar* _tmp19_ = NULL; gboolean _tmp20_ = FALSE; const gchar* _tmp21_ = NULL; -#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 318 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = stmt; -#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 318 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = sqlite3_column_text (_tmp17_, 1); -#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 318 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp19_ = g_strdup (_tmp18_); -#line 314 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 318 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" column = _tmp19_; -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp21_ = column; -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp21_ != NULL) { -#line 1927 "DatabaseTable.c" +#line 1954 "DatabaseTable.c" const gchar* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp22_ = column; -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp23_ = column_name; -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = g_strcmp0 (_tmp22_, _tmp23_) == 0; -#line 1936 "DatabaseTable.c" +#line 1963 "DatabaseTable.c" } else { -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = FALSE; -#line 1940 "DatabaseTable.c" +#line 1967 "DatabaseTable.c" } -#line 315 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp20_) { -#line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; -#line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (column); -#line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1952 "DatabaseTable.c" +#line 1979 "DatabaseTable.c" } -#line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (column); -#line 1956 "DatabaseTable.c" +#line 1983 "DatabaseTable.c" } } } } -#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 324 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = FALSE; -#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 324 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 324 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1967 "DatabaseTable.c" +#line 1994 "DatabaseTable.c" } @@ -1981,45 +2008,45 @@ gboolean database_table_has_table (const gchar* table_name) { gint _tmp7_ = 0; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 323 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 327 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (table_name != NULL, FALSE); -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = table_name; -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("PRAGMA table_info(%s)", _tmp1_); -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = _tmp2_; -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp0_, _tmp3_, -1, &_tmp4_, NULL); -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp4_; -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = _tmp5_; -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp3_); -#line 325 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 329 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 326 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 326 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 328 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 332 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = sqlite3_step (stmt); -#line 328 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 332 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp8_; -#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 334 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = res; -#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 334 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp9_ != SQLITE_DONE; -#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 334 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 330 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 334 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2023 "DatabaseTable.c" +#line 2050 "DatabaseTable.c" } @@ -2040,86 +2067,86 @@ gboolean database_table_add_column (const gchar* table_name, const gchar* column sqlite3_stmt* _tmp10_ = NULL; gint _tmp11_ = 0; gint _tmp12_ = 0; -#line 333 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 337 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (table_name != NULL, FALSE); -#line 333 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 337 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column_name != NULL, FALSE); -#line 333 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 337 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column_constraints != NULL, FALSE); -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = table_name; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = column_name; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = column_constraints; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = g_strdup_printf ("ALTER TABLE %s ADD COLUMN %s %s", _tmp1_, _tmp2_, _tmp3_); -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = _tmp4_; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = sqlite3_prepare_v2 (_tmp0_, _tmp5_, -1, &_tmp6_, NULL); -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp6_; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = _tmp7_; -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp5_); -#line 335 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp8_; -#line 337 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = res; -#line 337 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp9_ == SQLITE_OK, "res == Sqlite.OK"); -#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 343 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = stmt; -#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 343 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = sqlite3_step (_tmp10_); -#line 339 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 343 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp11_; -#line 340 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = res; -#line 340 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp12_ != SQLITE_DONE) { -#line 2088 "DatabaseTable.c" +#line 2115 "DatabaseTable.c" const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gint _tmp16_ = 0; sqlite3* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = table_name; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = column_name; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = column_constraints; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp17_ = database_table_db; -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp18_ = sqlite3_errmsg (_tmp17_); -#line 341 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_critical ("DatabaseTable.vala:341: Unable to add column %s %s %s: (%d) %s", _tmp13_, _tmp14_, _tmp15_, _tmp16_, _tmp18_); -#line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 345 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + g_critical ("DatabaseTable.vala:345: Unable to add column %s %s %s: (%d) %s", _tmp13_, _tmp14_, _tmp15_, _tmp16_, _tmp18_); +#line 348 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = FALSE; -#line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 348 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 348 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2115 "DatabaseTable.c" +#line 2142 "DatabaseTable.c" } -#line 347 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 351 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; -#line 347 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 351 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 347 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 351 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2123 "DatabaseTable.c" +#line 2150 "DatabaseTable.c" } @@ -2133,62 +2160,62 @@ gboolean database_table_ensure_column (const gchar* table_name, const gchar* col const gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 353 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 357 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (table_name != NULL, FALSE); -#line 353 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 357 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column_name != NULL, FALSE); -#line 353 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 357 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (column_constraints != NULL, FALSE); -#line 353 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 357 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (upgrade_msg != NULL, FALSE); -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = table_name; -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = database_table_has_table (_tmp1_); -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (!_tmp2_) { -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = TRUE; -#line 2153 "DatabaseTable.c" +#line 2180 "DatabaseTable.c" } else { const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = table_name; -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = column_name; -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = database_table_has_column (_tmp3_, _tmp4_); -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = _tmp5_; -#line 2166 "DatabaseTable.c" +#line 2193 "DatabaseTable.c" } -#line 355 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp0_) { -#line 356 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; -#line 356 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2174 "DatabaseTable.c" +#line 2201 "DatabaseTable.c" } -#line 358 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 362 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = upgrade_msg; -#line 358 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_message ("DatabaseTable.vala:358: %s", _tmp6_); -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 362 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + g_message ("DatabaseTable.vala:362: %s", _tmp6_); +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = table_name; -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = column_name; -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = column_constraints; -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = database_table_add_column (_tmp7_, _tmp8_, _tmp9_); -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp10_; -#line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2192 "DatabaseTable.c" +#line 2219 "DatabaseTable.c" } @@ -2209,76 +2236,76 @@ gint database_table_get_row_count (DatabaseTable* self) { gint _tmp10_ = 0; sqlite3_stmt* _tmp15_ = NULL; gint _tmp16_ = 0; -#line 363 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 367 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_val_if_fail (IS_DATABASE_TABLE (self), 0); -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_db; -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = self->table_name; -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = g_strdup_printf ("SELECT COUNT(id) AS RowCount FROM %s", _tmp1_); -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = _tmp2_; -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = sqlite3_prepare_v2 (_tmp0_, _tmp3_, -1, &_tmp4_, NULL); -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" stmt = _tmp4_; -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = _tmp5_; -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp3_); -#line 365 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp6_; -#line 366 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp7_ = res; -#line 366 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 368 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = stmt; -#line 368 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = sqlite3_step (_tmp8_); -#line 368 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp9_; -#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 373 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp10_ = res; -#line 369 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 373 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp10_ != SQLITE_ROW) { -#line 2249 "DatabaseTable.c" +#line 2276 "DatabaseTable.c" const gchar* _tmp11_ = NULL; gint _tmp12_ = 0; sqlite3* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; -#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 374 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp11_ = self->table_name; -#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 374 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = res; -#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 374 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp13_ = database_table_db; -#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 374 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = sqlite3_errmsg (_tmp13_); -#line 370 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - g_critical ("DatabaseTable.vala:370: Unable to retrieve row count on %s: (%d) %s", _tmp11_, _tmp12_, _tmp14_); -#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 374 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + g_critical ("DatabaseTable.vala:374: Unable to retrieve row count on %s: (%d) %s", _tmp11_, _tmp12_, _tmp14_); +#line 376 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = 0; -#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 376 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 372 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 376 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2270 "DatabaseTable.c" +#line 2297 "DatabaseTable.c" } -#line 375 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = stmt; -#line 375 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = sqlite3_column_int (_tmp15_, 0); -#line 375 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = _tmp16_; -#line 375 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 375 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2282 "DatabaseTable.c" +#line 2309 "DatabaseTable.c" } @@ -2288,27 +2315,27 @@ void database_table_begin_transaction (void) { sqlite3* _tmp1_ = NULL; gint _tmp2_ = 0; gint _tmp3_ = 0; -#line 380 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 384 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_in_transaction; -#line 380 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 384 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_in_transaction = _tmp0_ + 1; -#line 380 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 384 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp0_ != 0) { -#line 381 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 385 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2300 "DatabaseTable.c" +#line 2327 "DatabaseTable.c" } -#line 383 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 387 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = database_table_db; -#line 383 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 387 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = _sqlite3_exec (_tmp1_, "BEGIN TRANSACTION", NULL, NULL, NULL); -#line 383 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 387 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp2_; -#line 384 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 388 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = res; -#line 384 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 388 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp3_ == SQLITE_OK, "res == Sqlite.OK"); -#line 2312 "DatabaseTable.c" +#line 2339 "DatabaseTable.c" } @@ -2321,55 +2348,55 @@ void database_table_commit_transaction (GError** error) { gint _tmp4_ = 0; gint _tmp5_ = 0; GError * _inner_error_ = NULL; -#line 389 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 393 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = database_table_in_transaction; -#line 389 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 393 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp0_ > 0, "in_transaction > 0"); -#line 390 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = database_table_in_transaction; -#line 390 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_in_transaction = _tmp1_ - 1; -#line 390 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp2_ = database_table_in_transaction; -#line 390 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp2_ != 0) { -#line 391 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2339 "DatabaseTable.c" +#line 2366 "DatabaseTable.c" } -#line 393 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 397 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = database_table_db; -#line 393 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 397 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp4_ = _sqlite3_exec (_tmp3_, "COMMIT TRANSACTION", NULL, NULL, NULL); -#line 393 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 397 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" res = _tmp4_; -#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 398 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp5_ = res; -#line 394 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 398 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp5_ != SQLITE_DONE) { -#line 2351 "DatabaseTable.c" +#line 2378 "DatabaseTable.c" gint _tmp6_ = 0; -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = res; -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_throw_error ("commit_transaction", _tmp6_, &_inner_error_); -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_propagate_error (error, _inner_error_); -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2365 "DatabaseTable.c" +#line 2392 "DatabaseTable.c" } else { -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#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); -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_clear_error (&_inner_error_); -#line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" +#line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2373 "DatabaseTable.c" +#line 2400 "DatabaseTable.c" } } } @@ -2382,14 +2409,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 2386 "DatabaseTable.c" +#line 2413 "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 2393 "DatabaseTable.c" +#line 2420 "DatabaseTable.c" } @@ -2398,7 +2425,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 2402 "DatabaseTable.c" +#line 2429 "DatabaseTable.c" } } @@ -2408,11 +2435,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 2412 "DatabaseTable.c" +#line 2439 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" dest_value->data[0].v_pointer = NULL; -#line 2416 "DatabaseTable.c" +#line 2443 "DatabaseTable.c" } } @@ -2420,37 +2447,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 2424 "DatabaseTable.c" +#line 2451 "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 2431 "DatabaseTable.c" +#line 2458 "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 2438 "DatabaseTable.c" +#line 2465 "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 2442 "DatabaseTable.c" +#line 2469 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = database_table_ref (object); -#line 2446 "DatabaseTable.c" +#line 2473 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2450 "DatabaseTable.c" +#line 2477 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return NULL; -#line 2454 "DatabaseTable.c" +#line 2481 "DatabaseTable.c" } @@ -2461,25 +2488,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 2465 "DatabaseTable.c" +#line 2492 "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 2471 "DatabaseTable.c" +#line 2498 "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 2475 "DatabaseTable.c" +#line 2502 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *object_p = database_table_ref (value->data[0].v_pointer); -#line 2479 "DatabaseTable.c" +#line 2506 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return NULL; -#line 2483 "DatabaseTable.c" +#line 2510 "DatabaseTable.c" } @@ -2493,7 +2520,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 2497 "DatabaseTable.c" +#line 2524 "DatabaseTable.c" } @@ -2502,7 +2529,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 2506 "DatabaseTable.c" +#line 2533 "DatabaseTable.c" } @@ -2522,17 +2549,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 2526 "DatabaseTable.c" +#line 2553 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2530 "DatabaseTable.c" +#line 2557 "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 2536 "DatabaseTable.c" +#line 2563 "DatabaseTable.c" } } @@ -2551,17 +2578,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 2555 "DatabaseTable.c" +#line 2582 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2559 "DatabaseTable.c" +#line 2586 "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 2565 "DatabaseTable.c" +#line 2592 "DatabaseTable.c" } } @@ -2571,7 +2598,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 2575 "DatabaseTable.c" +#line 2602 "DatabaseTable.c" } @@ -2580,7 +2607,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 2584 "DatabaseTable.c" +#line 2611 "DatabaseTable.c" } @@ -2592,7 +2619,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 2596 "DatabaseTable.c" +#line 2623 "DatabaseTable.c" } @@ -2617,7 +2644,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 2621 "DatabaseTable.c" +#line 2648 "DatabaseTable.c" } @@ -2630,7 +2657,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 2634 "DatabaseTable.c" +#line 2661 "DatabaseTable.c" } } diff --git a/src/db/DatabaseTable.vala b/src/db/DatabaseTable.vala index 09c026f..4fc8853 100644 --- a/src/db/DatabaseTable.vala +++ b/src/db/DatabaseTable.vala @@ -49,9 +49,13 @@ public abstract class DatabaseTable { e.message)); } } -#if SQLITE_DEBUG - db.trace (on_trace); -#endif + + unowned string? sql_debug = Environment.get_variable + ("SHOTWELL_SQL_DEBUG"); + + if (sql_debug != "") { + db.trace (on_trace); + } } public static void on_trace (string message) { diff --git a/src/db/Db.c b/src/db/Db.c index 9c7e328..72c8f32 100644 --- a/src/db/Db.c +++ b/src/db/Db.c @@ -1,4 +1,4 @@ -/* Db.c generated by valac 0.32.1, the Vala compiler +/* Db.c generated by valac 0.34.1, the Vala compiler * generated from Db.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/EventTable.c b/src/db/EventTable.c index 0e763e9..08f6ba3 100644 --- a/src/db/EventTable.c +++ b/src/db/EventTable.c @@ -1,4 +1,4 @@ -/* EventTable.c generated by valac 0.32.1, the Vala compiler +/* EventTable.c generated by valac 0.34.1, the Vala compiler * generated from EventTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/PhotoTable.c b/src/db/PhotoTable.c index 42ed64a..e88ee47 100644 --- a/src/db/PhotoTable.c +++ b/src/db/PhotoTable.c @@ -1,4 +1,4 @@ -/* PhotoTable.c generated by valac 0.32.1, the Vala compiler +/* PhotoTable.c generated by valac 0.34.1, the Vala compiler * generated from PhotoTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/SavedSearchDBTable.c b/src/db/SavedSearchDBTable.c index 1747d47..1bce91d 100644 --- a/src/db/SavedSearchDBTable.c +++ b/src/db/SavedSearchDBTable.c @@ -1,4 +1,4 @@ -/* SavedSearchDBTable.c generated by valac 0.32.1, the Vala compiler +/* SavedSearchDBTable.c generated by valac 0.34.1, the Vala compiler * generated from SavedSearchDBTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/TagTable.c b/src/db/TagTable.c index 1c58788..ef78a70 100644 --- a/src/db/TagTable.c +++ b/src/db/TagTable.c @@ -1,4 +1,4 @@ -/* TagTable.c generated by valac 0.32.1, the Vala compiler +/* TagTable.c generated by valac 0.34.1, the Vala compiler * generated from TagTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -645,11 +645,11 @@ static gpointer _g_object_ref0 (gpointer self) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 655 "TagTable.c" { @@ -664,73 +664,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 686 "TagTable.c" goto __catch19_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 695 "TagTable.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 711 "TagTable.c" goto __catch19_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 722 "TagTable.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 736 "TagTable.c" } @@ -738,24 +738,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch19_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 750 "TagTable.c" } __finally19: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 761 "TagTable.c" } @@ -2013,15 +2013,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2025 "TagTable.c" } diff --git a/src/db/TombstoneTable.c b/src/db/TombstoneTable.c index 542e568..e92f9a5 100644 --- a/src/db/TombstoneTable.c +++ b/src/db/TombstoneTable.c @@ -1,4 +1,4 @@ -/* TombstoneTable.c generated by valac 0.32.1, the Vala compiler +/* TombstoneTable.c generated by valac 0.34.1, the Vala compiler * generated from TombstoneTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/VersionTable.c b/src/db/VersionTable.c index fa79d52..c65621b 100644 --- a/src/db/VersionTable.c +++ b/src/db/VersionTable.c @@ -1,4 +1,4 @@ -/* VersionTable.c generated by valac 0.32.1, the Vala compiler +/* VersionTable.c generated by valac 0.34.1, the Vala compiler * generated from VersionTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/db/VideoTable.c b/src/db/VideoTable.c index 8b8d78a..7d5c06e 100644 --- a/src/db/VideoTable.c +++ b/src/db/VideoTable.c @@ -1,4 +1,4 @@ -/* VideoTable.c generated by valac 0.32.1, the Vala compiler +/* VideoTable.c generated by valac 0.34.1, the Vala compiler * generated from VideoTable.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/direct/Direct.c b/src/direct/Direct.c index 2e1bfa4..91704cf 100644 --- a/src/direct/Direct.c +++ b/src/direct/Direct.c @@ -1,4 +1,4 @@ -/* Direct.c generated by valac 0.32.1, the Vala compiler +/* Direct.c generated by valac 0.34.1, the Vala compiler * generated from Direct.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/direct/DirectPhoto.c b/src/direct/DirectPhoto.c index 97ebcd5..5fe58c0 100644 --- a/src/direct/DirectPhoto.c +++ b/src/direct/DirectPhoto.c @@ -1,4 +1,4 @@ -/* DirectPhoto.c generated by valac 0.32.1, the Vala compiler +/* DirectPhoto.c generated by valac 0.34.1, the Vala compiler * generated from DirectPhoto.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/direct/DirectPhotoPage.c b/src/direct/DirectPhotoPage.c index c9094a2..d837f7d 100644 --- a/src/direct/DirectPhotoPage.c +++ b/src/direct/DirectPhotoPage.c @@ -1,4 +1,4 @@ -/* DirectPhotoPage.c generated by valac 0.32.1, the Vala compiler +/* DirectPhotoPage.c generated by valac 0.34.1, the Vala compiler * generated from DirectPhotoPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/direct/DirectView.c b/src/direct/DirectView.c index e3cebb7..d829231 100644 --- a/src/direct/DirectView.c +++ b/src/direct/DirectView.c @@ -1,4 +1,4 @@ -/* DirectView.c generated by valac 0.32.1, the Vala compiler +/* DirectView.c generated by valac 0.34.1, the Vala compiler * generated from DirectView.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/direct/DirectWindow.c b/src/direct/DirectWindow.c index dcba026..cafd55d 100644 --- a/src/direct/DirectWindow.c +++ b/src/direct/DirectWindow.c @@ -1,4 +1,4 @@ -/* DirectWindow.c generated by valac 0.32.1, the Vala compiler +/* DirectWindow.c generated by valac 0.34.1, the Vala compiler * generated from DirectWindow.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/editing_tools/EditingTools.c b/src/editing_tools/EditingTools.c index ffb8d35..7c01aaa 100644 --- a/src/editing_tools/EditingTools.c +++ b/src/editing_tools/EditingTools.c @@ -1,4 +1,4 @@ -/* EditingTools.c generated by valac 0.32.1, the Vala compiler +/* EditingTools.c generated by valac 0.34.1, the Vala compiler * generated from EditingTools.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -6742,15 +6742,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 6756 "EditingTools.c" } diff --git a/src/editing_tools/StraightenTool.c b/src/editing_tools/StraightenTool.c index 14b6c61..b36afaf 100644 --- a/src/editing_tools/StraightenTool.c +++ b/src/editing_tools/StraightenTool.c @@ -1,4 +1,4 @@ -/* StraightenTool.c generated by valac 0.32.1, the Vala compiler +/* StraightenTool.c generated by valac 0.34.1, the Vala compiler * generated from StraightenTool.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/events/Branch.c b/src/events/Branch.c index 193a8ee..af0e202 100644 --- a/src/events/Branch.c +++ b/src/events/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2140,13 +2140,13 @@ static void events_branch_on_no_event_collection_altered (EventsBranch* self) { static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 2152 "Branch.c" } @@ -2173,35 +2173,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2207 "Branch.c" } diff --git a/src/events/EventDirectoryItem.c b/src/events/EventDirectoryItem.c index f63d633..5f70718 100644 --- a/src/events/EventDirectoryItem.c +++ b/src/events/EventDirectoryItem.c @@ -1,4 +1,4 @@ -/* EventDirectoryItem.c generated by valac 0.32.1, the Vala compiler +/* EventDirectoryItem.c generated by valac 0.34.1, the Vala compiler * generated from EventDirectoryItem.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/events/EventPage.c b/src/events/EventPage.c index afe2a26..492b7a6 100644 --- a/src/events/EventPage.c +++ b/src/events/EventPage.c @@ -1,4 +1,4 @@ -/* EventPage.c generated by valac 0.32.1, the Vala compiler +/* EventPage.c generated by valac 0.34.1, the Vala compiler * generated from EventPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/events/Events.c b/src/events/Events.c index d99ab32..5a36d5c 100644 --- a/src/events/Events.c +++ b/src/events/Events.c @@ -1,4 +1,4 @@ -/* Events.c generated by valac 0.32.1, the Vala compiler +/* Events.c generated by valac 0.34.1, the Vala compiler * generated from Events.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/events/EventsDirectoryPage.c b/src/events/EventsDirectoryPage.c index 6e24584..f4f08e0 100644 --- a/src/events/EventsDirectoryPage.c +++ b/src/events/EventsDirectoryPage.c @@ -1,4 +1,4 @@ -/* EventsDirectoryPage.c generated by valac 0.32.1, the Vala compiler +/* EventsDirectoryPage.c generated by valac 0.34.1, the Vala compiler * generated from EventsDirectoryPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2446,17 +2446,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2462 "EventsDirectoryPage.c" } @@ -2808,35 +2808,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2842 "EventsDirectoryPage.c" } @@ -3024,13 +3024,13 @@ static SubEventsDirectoryPageSubEventDirectoryManager* sub_events_directory_page static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 3036 "EventsDirectoryPage.c" } diff --git a/src/folders/Branch.c b/src/folders/Branch.c index 7736860..469846b 100644 --- a/src/folders/Branch.c +++ b/src/folders/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/folders/Folders.c b/src/folders/Folders.c index d9af95a..c285978 100644 --- a/src/folders/Folders.c +++ b/src/folders/Folders.c @@ -1,4 +1,4 @@ -/* Folders.c generated by valac 0.32.1, the Vala compiler +/* Folders.c generated by valac 0.34.1, the Vala compiler * generated from Folders.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/folders/Page.c b/src/folders/Page.c index ea722a3..65d265b 100644 --- a/src/folders/Page.c +++ b/src/folders/Page.c @@ -1,4 +1,4 @@ -/* Page.c generated by valac 0.32.1, the Vala compiler +/* Page.c generated by valac 0.34.1, the Vala compiler * generated from Page.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/Branch.c b/src/library/Branch.c index 136c058..27f51f8 100644 --- a/src/library/Branch.c +++ b/src/library/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/FlaggedPage.c b/src/library/FlaggedPage.c index c1b3a48..2e3ddde 100644 --- a/src/library/FlaggedPage.c +++ b/src/library/FlaggedPage.c @@ -1,4 +1,4 @@ -/* FlaggedPage.c generated by valac 0.32.1, the Vala compiler +/* FlaggedPage.c generated by valac 0.34.1, the Vala compiler * generated from FlaggedPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/FlaggedSidebarEntry.c b/src/library/FlaggedSidebarEntry.c index 7eb90aa..8067bd7 100644 --- a/src/library/FlaggedSidebarEntry.c +++ b/src/library/FlaggedSidebarEntry.c @@ -1,4 +1,4 @@ -/* FlaggedSidebarEntry.c generated by valac 0.32.1, the Vala compiler +/* FlaggedSidebarEntry.c generated by valac 0.34.1, the Vala compiler * generated from FlaggedSidebarEntry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/ImportQueuePage.c b/src/library/ImportQueuePage.c index 2ba5e74..2fba690 100644 --- a/src/library/ImportQueuePage.c +++ b/src/library/ImportQueuePage.c @@ -1,4 +1,4 @@ -/* ImportQueuePage.c generated by valac 0.32.1, the Vala compiler +/* ImportQueuePage.c generated by valac 0.34.1, the Vala compiler * generated from ImportQueuePage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/ImportQueueSidebarEntry.c b/src/library/ImportQueueSidebarEntry.c index d7077e5..5ce68ec 100644 --- a/src/library/ImportQueueSidebarEntry.c +++ b/src/library/ImportQueueSidebarEntry.c @@ -1,4 +1,4 @@ -/* ImportQueueSidebarEntry.c generated by valac 0.32.1, the Vala compiler +/* ImportQueueSidebarEntry.c generated by valac 0.34.1, the Vala compiler * generated from ImportQueueSidebarEntry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/LastImportPage.c b/src/library/LastImportPage.c index d0f8f24..93f2225 100644 --- a/src/library/LastImportPage.c +++ b/src/library/LastImportPage.c @@ -1,4 +1,4 @@ -/* LastImportPage.c generated by valac 0.32.1, the Vala compiler +/* LastImportPage.c generated by valac 0.34.1, the Vala compiler * generated from LastImportPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/LastImportSidebarEntry.c b/src/library/LastImportSidebarEntry.c index bdf6b91..c1713c7 100644 --- a/src/library/LastImportSidebarEntry.c +++ b/src/library/LastImportSidebarEntry.c @@ -1,4 +1,4 @@ -/* LastImportSidebarEntry.c generated by valac 0.32.1, the Vala compiler +/* LastImportSidebarEntry.c generated by valac 0.34.1, the Vala compiler * generated from LastImportSidebarEntry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/Library.c b/src/library/Library.c index 4ce5d56..68166f0 100644 --- a/src/library/Library.c +++ b/src/library/Library.c @@ -1,4 +1,4 @@ -/* Library.c generated by valac 0.32.1, the Vala compiler +/* Library.c generated by valac 0.34.1, the Vala compiler * generated from Library.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/LibraryWindow.c b/src/library/LibraryWindow.c index 9c5d335..2ef18d9 100644 --- a/src/library/LibraryWindow.c +++ b/src/library/LibraryWindow.c @@ -1,4 +1,4 @@ -/* LibraryWindow.c generated by valac 0.32.1, the Vala compiler +/* LibraryWindow.c generated by valac 0.34.1, the Vala compiler * generated from LibraryWindow.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -9951,11 +9951,11 @@ static void library_window_on_update_properties_now (LibraryWindow* self) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 9960 "LibraryWindow.c" { @@ -9970,73 +9970,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 10000 "LibraryWindow.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 10027 "LibraryWindow.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 10041 "LibraryWindow.c" } @@ -10044,24 +10044,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch41_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 10055 "LibraryWindow.c" } __finally41: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 10066 "LibraryWindow.c" } diff --git a/src/library/OfflinePage.c b/src/library/OfflinePage.c index df2b7c6..dacbda6 100644 --- a/src/library/OfflinePage.c +++ b/src/library/OfflinePage.c @@ -1,4 +1,4 @@ -/* OfflinePage.c generated by valac 0.32.1, the Vala compiler +/* OfflinePage.c generated by valac 0.34.1, the Vala compiler * generated from OfflinePage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/OfflineSidebarEntry.c b/src/library/OfflineSidebarEntry.c index a2025d1..048774d 100644 --- a/src/library/OfflineSidebarEntry.c +++ b/src/library/OfflineSidebarEntry.c @@ -1,4 +1,4 @@ -/* OfflineSidebarEntry.c generated by valac 0.32.1, the Vala compiler +/* OfflineSidebarEntry.c generated by valac 0.34.1, the Vala compiler * generated from OfflineSidebarEntry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/TrashPage.c b/src/library/TrashPage.c index 000b8b5..1d51ff5 100644 --- a/src/library/TrashPage.c +++ b/src/library/TrashPage.c @@ -1,4 +1,4 @@ -/* TrashPage.c generated by valac 0.32.1, the Vala compiler +/* TrashPage.c generated by valac 0.34.1, the Vala compiler * generated from TrashPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/library/TrashSidebarEntry.c b/src/library/TrashSidebarEntry.c index 0346c07..ab8fd8f 100644 --- a/src/library/TrashSidebarEntry.c +++ b/src/library/TrashSidebarEntry.c @@ -1,4 +1,4 @@ -/* TrashSidebarEntry.c generated by valac 0.32.1, the Vala compiler +/* TrashSidebarEntry.c generated by valac 0.34.1, the Vala compiler * generated from TrashSidebarEntry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1,4 +1,4 @@ -/* main.c generated by valac 0.32.1, the Vala compiler +/* main.c generated by valac 0.34.1, the Vala compiler * generated from main.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -381,6 +381,7 @@ typedef struct _ImportUIQuestionParamsClass ImportUIQuestionParamsClass; typedef struct _DirectWindow DirectWindow; typedef struct _DirectWindowClass DirectWindowClass; +#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL))) #define _g_timer_destroy0(var) ((var == NULL) ? NULL : (var = (g_timer_destroy (var), NULL))) typedef enum { @@ -698,7 +699,7 @@ static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guin result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop); #line 114 "/home/jens/Source/shotwell/src/main.vala" return result; -#line 702 "main.c" +#line 703 "main.c" } @@ -707,14 +708,14 @@ static gboolean _aggregate_progress_monitor_monitor_progress_monitor (guint64 cu result = aggregate_progress_monitor_monitor ((AggregateProgressMonitor*) self, current, total); #line 115 "/home/jens/Source/shotwell/src/main.vala" return result; -#line 711 "main.c" +#line 712 "main.c" } static gpointer _g_object_ref0 (gpointer self) { #line 185 "/home/jens/Source/shotwell/src/main.vala" return self ? g_object_ref (self) : NULL; -#line 718 "main.c" +#line 719 "main.c" } @@ -798,7 +799,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp1_ = was_already_running; #line 18 "/home/jens/Source/shotwell/src/main.vala" if (_tmp1_) { -#line 802 "main.c" +#line 803 "main.c" gchar** _tmp2_ = NULL; gint _tmp2__length1 = 0; #line 25 "/home/jens/Source/shotwell/src/main.vala" @@ -811,7 +812,7 @@ void library_exec (gchar** mounts, int mounts_length1) { application_send_to_primary_instance (_tmp2_, _tmp2__length1); #line 27 "/home/jens/Source/shotwell/src/main.vala" return; -#line 815 "main.c" +#line 816 "main.c" } #line 31 "/home/jens/Source/shotwell/src/main.vala" _tmp3_ = app_dirs_get_data_subdir ("data", NULL); @@ -827,13 +828,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_object_unref0 (_tmp6_); #line 31 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (_tmp4_); -#line 831 "main.c" +#line 832 "main.c" { #line 35 "/home/jens/Source/shotwell/src/main.vala" library_app_init (&_inner_error_); #line 35 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 837 "main.c" +#line 838 "main.c" goto __catch206_g_error; } } @@ -857,7 +858,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_error_free0 (err); #line 39 "/home/jens/Source/shotwell/src/main.vala" return; -#line 861 "main.c" +#line 862 "main.c" } __finally206: #line 34 "/home/jens/Source/shotwell/src/main.vala" @@ -868,7 +869,7 @@ void library_exec (gchar** mounts, int mounts_length1) { g_clear_error (&_inner_error_); #line 34 "/home/jens/Source/shotwell/src/main.vala" return; -#line 872 "main.c" +#line 873 "main.c" } #line 43 "/home/jens/Source/shotwell/src/main.vala" g_message ("main.vala:43: Verifying database ..."); @@ -890,15 +891,15 @@ void library_exec (gchar** mounts, int mounts_length1) { switch (_tmp12_) { #line 48 "/home/jens/Source/shotwell/src/main.vala" case DB_VERIFY_RESULT_OK: -#line 894 "main.c" +#line 895 "main.c" { #line 51 "/home/jens/Source/shotwell/src/main.vala" break; -#line 898 "main.c" +#line 899 "main.c" } #line 48 "/home/jens/Source/shotwell/src/main.vala" case DB_VERIFY_RESULT_FUTURE_VERSION: -#line 902 "main.c" +#line 903 "main.c" { const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; @@ -920,11 +921,11 @@ void library_exec (gchar** mounts, int mounts_length1) { errormsg = _tmp16_; #line 56 "/home/jens/Source/shotwell/src/main.vala" break; -#line 922 "main.c" +#line 923 "main.c" } #line 48 "/home/jens/Source/shotwell/src/main.vala" case DB_VERIFY_RESULT_UPGRADE_ERROR: -#line 926 "main.c" +#line 927 "main.c" { const gchar* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; @@ -946,11 +947,11 @@ void library_exec (gchar** mounts, int mounts_length1) { errormsg = _tmp20_; #line 62 "/home/jens/Source/shotwell/src/main.vala" break; -#line 946 "main.c" +#line 947 "main.c" } #line 48 "/home/jens/Source/shotwell/src/main.vala" case DB_VERIFY_RESULT_NO_UPGRADE_AVAILABLE: -#line 950 "main.c" +#line 951 "main.c" { const gchar* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; @@ -989,7 +990,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_object_unref0 (_tmp25_); #line 68 "/home/jens/Source/shotwell/src/main.vala" break; -#line 986 "main.c" +#line 987 "main.c" } default: { @@ -1011,14 +1012,14 @@ void library_exec (gchar** mounts, int mounts_length1) { errormsg = _tmp32_; #line 73 "/home/jens/Source/shotwell/src/main.vala" break; -#line 1008 "main.c" +#line 1009 "main.c" } } #line 76 "/home/jens/Source/shotwell/src/main.vala" _tmp33_ = errormsg; #line 76 "/home/jens/Source/shotwell/src/main.vala" if (_tmp33_ != NULL) { -#line 1015 "main.c" +#line 1016 "main.c" GtkMessageDialog* dialog = NULL; const gchar* _tmp34_ = NULL; GtkMessageDialog* _tmp35_ = NULL; @@ -1055,7 +1056,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_free0 (errormsg); #line 85 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1052 "main.c" +#line 1053 "main.c" } #line 88 "/home/jens/Source/shotwell/src/main.vala" upgrades_init (); @@ -1073,7 +1074,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp39_ = commandline_options_no_startup_progress; #line 94 "/home/jens/Source/shotwell/src/main.vala" if (!_tmp39_) { -#line 1070 "main.c" +#line 1071 "main.c" guint64 grand_total = 0ULL; PhotoTable* _tmp40_ = NULL; PhotoTable* _tmp41_ = NULL; @@ -1140,7 +1141,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp56_ = grand_total; #line 103 "/home/jens/Source/shotwell/src/main.vala" if (_tmp56_ > ((guint64) 5000)) { -#line 1137 "main.c" +#line 1138 "main.c" const gchar* _tmp57_ = NULL; ProgressDialog* _tmp58_ = NULL; ProgressDialog* _tmp59_ = NULL; @@ -1167,7 +1168,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp60_ = progress_dialog; #line 106 "/home/jens/Source/shotwell/src/main.vala" progress_dialog_set_minimum_on_screen_time_msec (_tmp60_, 250); -#line 1164 "main.c" +#line 1165 "main.c" { gchar* icon_path = NULL; GFile* _tmp61_ = NULL; @@ -1216,7 +1217,7 @@ void library_exec (gchar** mounts, int mounts_length1) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 109 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (icon_path); -#line 1213 "main.c" +#line 1214 "main.c" goto __catch207_g_error; } #line 109 "/home/jens/Source/shotwell/src/main.vala" @@ -1227,7 +1228,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_object_unref0 (_tmp69_); #line 107 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (icon_path); -#line 1224 "main.c" +#line 1225 "main.c" } goto __finally207; __catch207_g_error: @@ -1248,7 +1249,7 @@ void library_exec (gchar** mounts, int mounts_length1) { "indow: %s", _tmp74_); #line 107 "/home/jens/Source/shotwell/src/main.vala" _g_error_free0 (err); -#line 1244 "main.c" +#line 1245 "main.c" } __finally207: #line 107 "/home/jens/Source/shotwell/src/main.vala" @@ -1275,7 +1276,7 @@ void library_exec (gchar** mounts, int mounts_length1) { g_clear_error (&_inner_error_); #line 107 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1271 "main.c" +#line 1272 "main.c" } #line 114 "/home/jens/Source/shotwell/src/main.vala" _tmp75_ = grand_total; @@ -1303,7 +1304,7 @@ void library_exec (gchar** mounts, int mounts_length1) { monitor_target = aggregate_progress_monitor_ref (_tmp78_); #line 115 "/home/jens/Source/shotwell/src/main.vala" monitor_target_destroy_notify = aggregate_progress_monitor_unref; -#line 1299 "main.c" +#line 1300 "main.c" } } #line 119 "/home/jens/Source/shotwell/src/main.vala" @@ -1314,13 +1315,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp79_ = aggregate_monitor; #line 122 "/home/jens/Source/shotwell/src/main.vala" if (_tmp79_ != NULL) { -#line 1310 "main.c" +#line 1311 "main.c" AggregateProgressMonitor* _tmp80_ = NULL; #line 123 "/home/jens/Source/shotwell/src/main.vala" _tmp80_ = aggregate_monitor; #line 123 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp80_, "LibraryPhoto.init"); -#line 1316 "main.c" +#line 1317 "main.c" } #line 124 "/home/jens/Source/shotwell/src/main.vala" _tmp81_ = monitor; @@ -1332,13 +1333,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp82_ = aggregate_monitor; #line 125 "/home/jens/Source/shotwell/src/main.vala" if (_tmp82_ != NULL) { -#line 1328 "main.c" +#line 1329 "main.c" AggregateProgressMonitor* _tmp83_ = NULL; #line 126 "/home/jens/Source/shotwell/src/main.vala" _tmp83_ = aggregate_monitor; #line 126 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp83_, "Video.init"); -#line 1334 "main.c" +#line 1335 "main.c" } #line 127 "/home/jens/Source/shotwell/src/main.vala" _tmp84_ = monitor; @@ -1350,13 +1351,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp85_ = aggregate_monitor; #line 128 "/home/jens/Source/shotwell/src/main.vala" if (_tmp85_ != NULL) { -#line 1346 "main.c" +#line 1347 "main.c" AggregateProgressMonitor* _tmp86_ = NULL; #line 129 "/home/jens/Source/shotwell/src/main.vala" _tmp86_ = aggregate_monitor; #line 129 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp86_, "Upgrades.execute"); -#line 1352 "main.c" +#line 1353 "main.c" } #line 130 "/home/jens/Source/shotwell/src/main.vala" _tmp87_ = upgrades_get_instance (); @@ -1390,13 +1391,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp94_ = aggregate_monitor; #line 138 "/home/jens/Source/shotwell/src/main.vala" if (_tmp94_ != NULL) { -#line 1386 "main.c" +#line 1387 "main.c" AggregateProgressMonitor* _tmp95_ = NULL; #line 139 "/home/jens/Source/shotwell/src/main.vala" _tmp95_ = aggregate_monitor; #line 139 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp95_, "Event.init"); -#line 1392 "main.c" +#line 1393 "main.c" } #line 140 "/home/jens/Source/shotwell/src/main.vala" _tmp96_ = monitor; @@ -1408,13 +1409,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp97_ = aggregate_monitor; #line 141 "/home/jens/Source/shotwell/src/main.vala" if (_tmp97_ != NULL) { -#line 1404 "main.c" +#line 1405 "main.c" AggregateProgressMonitor* _tmp98_ = NULL; #line 142 "/home/jens/Source/shotwell/src/main.vala" _tmp98_ = aggregate_monitor; #line 142 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp98_, "Tag.init"); -#line 1410 "main.c" +#line 1411 "main.c" } #line 143 "/home/jens/Source/shotwell/src/main.vala" _tmp99_ = monitor; @@ -1438,13 +1439,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp102_ = aggregate_monitor; #line 151 "/home/jens/Source/shotwell/src/main.vala" if (_tmp102_ != NULL) { -#line 1434 "main.c" +#line 1435 "main.c" AggregateProgressMonitor* _tmp103_ = NULL; #line 152 "/home/jens/Source/shotwell/src/main.vala" _tmp103_ = aggregate_monitor; #line 152 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp103_, "LibraryWindow"); -#line 1440 "main.c" +#line 1441 "main.c" } #line 153 "/home/jens/Source/shotwell/src/main.vala" _tmp104_ = monitor; @@ -1460,13 +1461,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp106_ = aggregate_monitor; #line 155 "/home/jens/Source/shotwell/src/main.vala" if (_tmp106_ != NULL) { -#line 1456 "main.c" +#line 1457 "main.c" AggregateProgressMonitor* _tmp107_ = NULL; #line 156 "/home/jens/Source/shotwell/src/main.vala" _tmp107_ = aggregate_monitor; #line 156 "/home/jens/Source/shotwell/src/main.vala" aggregate_progress_monitor_next_step (_tmp107_, "done"); -#line 1462 "main.c" +#line 1463 "main.c" } #line 161 "/home/jens/Source/shotwell/src/main.vala" (monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL); @@ -1490,13 +1491,13 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp108_ = progress_dialog; #line 163 "/home/jens/Source/shotwell/src/main.vala" if (_tmp108_ != NULL) { -#line 1486 "main.c" +#line 1487 "main.c" ProgressDialog* _tmp109_ = NULL; #line 164 "/home/jens/Source/shotwell/src/main.vala" _tmp109_ = progress_dialog; #line 164 "/home/jens/Source/shotwell/src/main.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp109_, gtk_widget_get_type (), GtkWidget)); -#line 1492 "main.c" +#line 1493 "main.c" } #line 165 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (progress_dialog); @@ -1506,7 +1507,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp110_ = mounts; #line 168 "/home/jens/Source/shotwell/src/main.vala" _tmp110__length1 = mounts_length1; -#line 1502 "main.c" +#line 1503 "main.c" { gchar** mount_collection = NULL; gint mount_collection_length1 = 0; @@ -1518,14 +1519,14 @@ void library_exec (gchar** mounts, int mounts_length1) { mount_collection_length1 = _tmp110__length1; #line 168 "/home/jens/Source/shotwell/src/main.vala" for (mount_it = 0; mount_it < _tmp110__length1; mount_it = mount_it + 1) { -#line 1514 "main.c" +#line 1515 "main.c" gchar* _tmp111_ = NULL; gchar* mount = NULL; #line 168 "/home/jens/Source/shotwell/src/main.vala" _tmp111_ = g_strdup (mount_collection[mount_it]); #line 168 "/home/jens/Source/shotwell/src/main.vala" mount = _tmp111_; -#line 1521 "main.c" +#line 1522 "main.c" { LibraryWindow* _tmp112_ = NULL; const gchar* _tmp113_ = NULL; @@ -1537,7 +1538,7 @@ void library_exec (gchar** mounts, int mounts_length1) { library_window_mounted_camera_shell_notification (_tmp112_, _tmp113_, TRUE); #line 168 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (mount); -#line 1533 "main.c" +#line 1534 "main.c" } } } @@ -1565,7 +1566,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_object_unref0 (_tmp118_); #line 174 "/home/jens/Source/shotwell/src/main.vala" if (_tmp120_) { -#line 1561 "main.c" +#line 1562 "main.c" LibraryPhotoSourceCollection* _tmp121_ = NULL; gint _tmp122_ = 0; #line 175 "/home/jens/Source/shotwell/src/main.vala" @@ -1574,15 +1575,15 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp122_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, TYPE_DATA_COLLECTION, DataCollection)); #line 175 "/home/jens/Source/shotwell/src/main.vala" _tmp116_ = _tmp122_ == 0; -#line 1570 "main.c" +#line 1571 "main.c" } else { #line 174 "/home/jens/Source/shotwell/src/main.vala" _tmp116_ = FALSE; -#line 1574 "main.c" +#line 1575 "main.c" } #line 174 "/home/jens/Source/shotwell/src/main.vala" if (_tmp116_) { -#line 1578 "main.c" +#line 1579 "main.c" WelcomeDialog* welcome = NULL; LibraryWindow* _tmp123_ = NULL; WelcomeDialog* _tmp124_ = NULL; @@ -1625,7 +1626,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_object_unref0 (_tmp126_); #line 174 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (welcome); -#line 1621 "main.c" +#line 1622 "main.c" } else { ConfigFacade* _tmp132_ = NULL; ConfigFacade* _tmp133_ = NULL; @@ -1637,7 +1638,7 @@ void library_exec (gchar** mounts, int mounts_length1) { configuration_facade_set_show_welcome_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), FALSE); #line 180 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (_tmp133_); -#line 1633 "main.c" +#line 1634 "main.c" } #line 183 "/home/jens/Source/shotwell/src/main.vala" _tmp134_ = selected_import_entries; @@ -1645,7 +1646,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp134__length1 = selected_import_entries_length1; #line 183 "/home/jens/Source/shotwell/src/main.vala" if (_tmp134__length1 > 0) { -#line 1641 "main.c" +#line 1642 "main.c" WelcomeServiceEntry** _tmp135_ = NULL; gint _tmp135__length1 = 0; #line 184 "/home/jens/Source/shotwell/src/main.vala" @@ -1654,7 +1655,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _tmp135_ = selected_import_entries; #line 185 "/home/jens/Source/shotwell/src/main.vala" _tmp135__length1 = selected_import_entries_length1; -#line 1650 "main.c" +#line 1651 "main.c" { WelcomeServiceEntry** entry_collection = NULL; gint entry_collection_length1 = 0; @@ -1666,14 +1667,14 @@ void library_exec (gchar** mounts, int mounts_length1) { entry_collection_length1 = _tmp135__length1; #line 185 "/home/jens/Source/shotwell/src/main.vala" for (entry_it = 0; entry_it < _tmp135__length1; entry_it = entry_it + 1) { -#line 1662 "main.c" +#line 1663 "main.c" WelcomeServiceEntry* _tmp136_ = NULL; WelcomeServiceEntry* entry = NULL; #line 185 "/home/jens/Source/shotwell/src/main.vala" _tmp136_ = _g_object_ref0 (entry_collection[entry_it]); #line 185 "/home/jens/Source/shotwell/src/main.vala" entry = _tmp136_; -#line 1669 "main.c" +#line 1670 "main.c" { WelcomeServiceEntry* _tmp137_ = NULL; #line 186 "/home/jens/Source/shotwell/src/main.vala" @@ -1682,7 +1683,7 @@ void library_exec (gchar** mounts, int mounts_length1) { welcome_service_entry_execute (_tmp137_); #line 185 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (entry); -#line 1678 "main.c" +#line 1679 "main.c" } } } @@ -1693,7 +1694,7 @@ void library_exec (gchar** mounts, int mounts_length1) { if (_tmp138_) { #line 192 "/home/jens/Source/shotwell/src/main.vala" run_system_pictures_import (NULL); -#line 1689 "main.c" +#line 1690 "main.c" } #line 195 "/home/jens/Source/shotwell/src/main.vala" _tmp139_ = startup_timer; @@ -1753,14 +1754,14 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_free0 (app_version); #line 15 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (errormsg); -#line 1749 "main.c" +#line 1750 "main.c" } static void _report_system_pictures_import_batch_import_import_reporter (ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) { #line 224 "/home/jens/Source/shotwell/src/main.vala" report_system_pictures_import (manifest, import_roll); -#line 1756 "main.c" +#line 1757 "main.c" } @@ -1790,7 +1791,7 @@ void run_system_pictures_import (ImportManifest* external_exclusion_manifest) { if (!_tmp0_) { #line 217 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1786 "main.c" +#line 1787 "main.c" } #line 219 "/home/jens/Source/shotwell/src/main.vala" _tmp1_ = gee_array_list_new (TYPE_FILE_IMPORT_JOB, (GBoxedCopyFunc) batch_import_job_ref, batch_import_job_unref, NULL, NULL, NULL); @@ -1840,7 +1841,7 @@ void run_system_pictures_import (ImportManifest* external_exclusion_manifest) { _g_object_unref0 (library_window); #line 215 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (jobs); -#line 1836 "main.c" +#line 1837 "main.c" } @@ -1856,7 +1857,7 @@ void report_system_pictures_import (ImportManifest* manifest, BatchImportRoll* i _tmp1_ = do_external_import; #line 238 "/home/jens/Source/shotwell/src/main.vala" if (_tmp1_) { -#line 1852 "main.c" +#line 1853 "main.c" ImportManifest* _tmp2_ = NULL; GeeList* _tmp3_ = NULL; gint _tmp4_ = 0; @@ -1871,23 +1872,23 @@ void report_system_pictures_import (ImportManifest* manifest, BatchImportRoll* i _tmp5_ = _tmp4_; #line 238 "/home/jens/Source/shotwell/src/main.vala" _tmp0_ = _tmp5_ == 0; -#line 1867 "main.c" +#line 1868 "main.c" } else { #line 238 "/home/jens/Source/shotwell/src/main.vala" _tmp0_ = FALSE; -#line 1871 "main.c" +#line 1872 "main.c" } #line 238 "/home/jens/Source/shotwell/src/main.vala" if (_tmp0_) { #line 239 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1877 "main.c" +#line 1878 "main.c" } #line 241 "/home/jens/Source/shotwell/src/main.vala" _tmp6_ = manifest; #line 241 "/home/jens/Source/shotwell/src/main.vala" import_ui_report_manifest (_tmp6_, TRUE, NULL); -#line 1883 "main.c" +#line 1884 "main.c" } @@ -1919,13 +1920,13 @@ void editing_exec (const gchar* filename) { direct_preconfigure (_tmp2_); #line 249 "/home/jens/Source/shotwell/src/main.vala" db_preconfigure (NULL); -#line 1915 "main.c" +#line 1916 "main.c" { #line 253 "/home/jens/Source/shotwell/src/main.vala" direct_app_init (&_inner_error_); #line 253 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1921 "main.c" +#line 1922 "main.c" goto __catch208_g_error; } } @@ -1951,7 +1952,7 @@ void editing_exec (const gchar* filename) { _g_object_unref0 (initial_file); #line 257 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1947 "main.c" +#line 1948 "main.c" } __finally208: #line 252 "/home/jens/Source/shotwell/src/main.vala" @@ -1964,7 +1965,7 @@ void editing_exec (const gchar* filename) { g_clear_error (&_inner_error_); #line 252 "/home/jens/Source/shotwell/src/main.vala" return; -#line 1960 "main.c" +#line 1961 "main.c" } #line 261 "/home/jens/Source/shotwell/src/main.vala" desktop_integration_init (); @@ -2002,14 +2003,14 @@ void editing_exec (const gchar* filename) { _g_object_unref0 (direct_window); #line 244 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (initial_file); -#line 1998 "main.c" +#line 1999 "main.c" } static GOptionEntry* _vala_array_dup26 (GOptionEntry* self, int length) { #line 291 "/home/jens/Source/shotwell/src/main.vala" return g_memdup (self, length * sizeof (GOptionEntry)); -#line 2005 "main.c" +#line 2006 "main.c" } @@ -2020,11 +2021,11 @@ static void _vala_array_add152 (GOptionEntry** array, int* length, int* size, co *size = (*size) ? (2 * (*size)) : 4; #line 295 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (GOptionEntry, *array, *size); -#line 2016 "main.c" +#line 2017 "main.c" } #line 295 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = *value; -#line 2020 "main.c" +#line 2021 "main.c" } @@ -2035,11 +2036,11 @@ static void _vala_array_add153 (GOptionEntry** array, int* length, int* size, co *size = (*size) ? (2 * (*size)) : 4; #line 299 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (GOptionEntry, *array, *size); -#line 2031 "main.c" +#line 2032 "main.c" } #line 299 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = *value; -#line 2035 "main.c" +#line 2036 "main.c" } @@ -2050,11 +2051,11 @@ static void _vala_array_add154 (GOptionEntry** array, int* length, int* size, co *size = (*size) ? (2 * (*size)) : 4; #line 303 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (GOptionEntry, *array, *size); -#line 2046 "main.c" +#line 2047 "main.c" } #line 303 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = *value; -#line 2050 "main.c" +#line 2051 "main.c" } @@ -2065,11 +2066,11 @@ static void _vala_array_add155 (GOptionEntry** array, int* length, int* size, co *size = (*size) ? (2 * (*size)) : 4; #line 307 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (GOptionEntry, *array, *size); -#line 2061 "main.c" +#line 2062 "main.c" } #line 307 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = *value; -#line 2065 "main.c" +#line 2066 "main.c" } @@ -2080,18 +2081,18 @@ static void _vala_array_add156 (GOptionEntry** array, int* length, int* size, co *size = (*size) ? (2 * (*size)) : 4; #line 310 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (GOptionEntry, *array, *size); -#line 2076 "main.c" +#line 2077 "main.c" } #line 310 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = *value; -#line 2080 "main.c" +#line 2081 "main.c" } static GOptionEntry* _vala_array_dup27 (GOptionEntry* self, int length) { #line 312 "/home/jens/Source/shotwell/src/main.vala" return g_memdup (self, length * sizeof (GOptionEntry)); -#line 2087 "main.c" +#line 2088 "main.c" } @@ -2141,7 +2142,7 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { _tmp0__length1 = commandline_options_entries_length1; #line 290 "/home/jens/Source/shotwell/src/main.vala" if (_tmp0_ != NULL) { -#line 2137 "main.c" +#line 2138 "main.c" GOptionEntry* _tmp1_ = NULL; gint _tmp1__length1 = 0; GOptionEntry* _tmp2_ = NULL; @@ -2164,13 +2165,13 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { if (result_length1) { #line 291 "/home/jens/Source/shotwell/src/main.vala" *result_length1 = _tmp3__length1; -#line 2160 "main.c" +#line 2161 "main.c" } #line 291 "/home/jens/Source/shotwell/src/main.vala" result = _tmp3_; #line 291 "/home/jens/Source/shotwell/src/main.vala" return result; -#line 2166 "main.c" +#line 2167 "main.c" } #line 293 "/home/jens/Source/shotwell/src/main.vala" _tmp4_ = _ ("Path to Shotwell's private data"); @@ -2318,13 +2319,13 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { if (result_length1) { #line 312 "/home/jens/Source/shotwell/src/main.vala" *result_length1 = _tmp26__length1; -#line 2314 "main.c" +#line 2315 "main.c" } #line 312 "/home/jens/Source/shotwell/src/main.vala" result = _tmp26_; #line 312 "/home/jens/Source/shotwell/src/main.vala" return result; -#line 2320 "main.c" +#line 2321 "main.c" } @@ -2335,13 +2336,13 @@ static void _vala_array_add157 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 372 "/home/jens/Source/shotwell/src/main.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 2331 "main.c" +#line 2332 "main.c" } #line 372 "/home/jens/Source/shotwell/src/main.vala" (*array)[(*length)++] = value; #line 372 "/home/jens/Source/shotwell/src/main.vala" (*array)[*length] = NULL; -#line 2337 "main.c" +#line 2338 "main.c" } @@ -2349,19 +2350,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 2357 "main.c" +#line 2358 "main.c" } @@ -2381,18 +2382,21 @@ void _vala_main (gchar** args, int args_length1) { const gchar* _tmp44_ = NULL; const gchar* _tmp45_ = NULL; gboolean _tmp46_ = FALSE; - const gchar* _tmp53_ = NULL; - gboolean _tmp54_ = FALSE; + GDateTime* _tmp53_ = NULL; + GDateTime* _tmp54_ = NULL; const gchar* _tmp55_ = NULL; - gchar** _tmp57_ = NULL; - gint _tmp57__length1 = 0; - GTimer* _tmp58_ = NULL; - GTimer* _tmp59_ = NULL; - const gchar* _tmp60_ = NULL; - gboolean _tmp61_ = FALSE; + const gchar* _tmp56_ = NULL; + gboolean _tmp57_ = FALSE; + const gchar* _tmp58_ = NULL; + gchar** _tmp60_ = NULL; + gint _tmp60__length1 = 0; + GTimer* _tmp61_ = NULL; + GTimer* _tmp62_ = NULL; + const gchar* _tmp63_ = NULL; gboolean _tmp64_ = FALSE; - const gchar* _tmp65_ = NULL; - gboolean _tmp66_ = FALSE; + gboolean _tmp67_ = FALSE; + const gchar* _tmp68_ = NULL; + gboolean _tmp69_ = FALSE; GError * _inner_error_ = NULL; #line 320 "/home/jens/Source/shotwell/src/main.vala" _tmp0_ = args; @@ -2414,7 +2418,7 @@ void _vala_main (gchar** args, int args_length1) { _g_object_unref0 (_tmp3_); #line 331 "/home/jens/Source/shotwell/src/main.vala" if (_tmp4_) { -#line 2410 "main.c" +#line 2414 "main.c" GFile* _tmp5_ = NULL; GFile* _tmp6_ = NULL; gchar* _tmp7_ = NULL; @@ -2441,7 +2445,7 @@ void _vala_main (gchar** args, int args_length1) { _g_free0 (_tmp8_); #line 332 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (_tmp6_); -#line 2437 "main.c" +#line 2441 "main.c" } { const gchar* _tmp11_ = NULL; @@ -2463,7 +2467,7 @@ void _vala_main (gchar** args, int args_length1) { _tmp14_ = (g_free (_tmp14_), NULL); #line 338 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2459 "main.c" +#line 2463 "main.c" goto __catch209_g_error; } } @@ -2511,7 +2515,7 @@ void _vala_main (gchar** args, int args_length1) { _g_error_free0 (e); #line 344 "/home/jens/Source/shotwell/src/main.vala" return; -#line 2507 "main.c" +#line 2511 "main.c" } __finally209: #line 337 "/home/jens/Source/shotwell/src/main.vala" @@ -2522,7 +2526,7 @@ void _vala_main (gchar** args, int args_length1) { g_clear_error (&_inner_error_); #line 337 "/home/jens/Source/shotwell/src/main.vala" return; -#line 2518 "main.c" +#line 2522 "main.c" } #line 347 "/home/jens/Source/shotwell/src/main.vala" _tmp22_ = commandline_options_show_version; @@ -2532,17 +2536,17 @@ void _vala_main (gchar** args, int args_length1) { if (RESOURCES_GIT_VERSION != NULL) { #line 349 "/home/jens/Source/shotwell/src/main.vala" g_print ("%s %s (%s)\n", RESOURCES_APP_TITLE, RESOURCES_APP_VERSION, RESOURCES_GIT_VERSION); -#line 2528 "main.c" +#line 2532 "main.c" } else { #line 351 "/home/jens/Source/shotwell/src/main.vala" g_print ("%s %s\n", RESOURCES_APP_TITLE, RESOURCES_APP_VERSION); -#line 2532 "main.c" +#line 2536 "main.c" } #line 353 "/home/jens/Source/shotwell/src/main.vala" app_dirs_terminate (); #line 355 "/home/jens/Source/shotwell/src/main.vala" return; -#line 2538 "main.c" +#line 2542 "main.c" } #line 365 "/home/jens/Source/shotwell/src/main.vala" _tmp23_ = g_new0 (gchar*, 0 + 1); @@ -2554,19 +2558,19 @@ void _vala_main (gchar** args, int args_length1) { _mounts_size_ = mounts_length1; #line 366 "/home/jens/Source/shotwell/src/main.vala" filename = NULL; -#line 2550 "main.c" +#line 2554 "main.c" { gint ctr = 0; #line 368 "/home/jens/Source/shotwell/src/main.vala" ctr = 1; -#line 2555 "main.c" +#line 2559 "main.c" { gboolean _tmp24_ = FALSE; #line 368 "/home/jens/Source/shotwell/src/main.vala" _tmp24_ = TRUE; #line 368 "/home/jens/Source/shotwell/src/main.vala" while (TRUE) { -#line 2562 "main.c" +#line 2566 "main.c" gint _tmp26_ = 0; gchar** _tmp27_ = NULL; gint _tmp27__length1 = 0; @@ -2580,13 +2584,13 @@ void _vala_main (gchar** args, int args_length1) { gboolean _tmp33_ = FALSE; #line 368 "/home/jens/Source/shotwell/src/main.vala" if (!_tmp24_) { -#line 2576 "main.c" +#line 2580 "main.c" gint _tmp25_ = 0; #line 368 "/home/jens/Source/shotwell/src/main.vala" _tmp25_ = ctr; #line 368 "/home/jens/Source/shotwell/src/main.vala" ctr = _tmp25_ + 1; -#line 2582 "main.c" +#line 2586 "main.c" } #line 368 "/home/jens/Source/shotwell/src/main.vala" _tmp24_ = FALSE; @@ -2600,7 +2604,7 @@ void _vala_main (gchar** args, int args_length1) { if (!(_tmp26_ < _tmp27__length1)) { #line 368 "/home/jens/Source/shotwell/src/main.vala" break; -#line 2596 "main.c" +#line 2600 "main.c" } #line 369 "/home/jens/Source/shotwell/src/main.vala" _tmp28_ = args; @@ -2620,7 +2624,7 @@ void _vala_main (gchar** args, int args_length1) { _tmp33_ = library_window_is_mount_uri_supported (_tmp32_); #line 371 "/home/jens/Source/shotwell/src/main.vala" if (_tmp33_) { -#line 2616 "main.c" +#line 2620 "main.c" gchar** _tmp34_ = NULL; gint _tmp34__length1 = 0; const gchar* _tmp35_ = NULL; @@ -2635,7 +2639,7 @@ void _vala_main (gchar** args, int args_length1) { _tmp36_ = g_strdup (_tmp35_); #line 372 "/home/jens/Source/shotwell/src/main.vala" _vala_array_add157 (&mounts, &mounts_length1, &_mounts_size_, _tmp36_); -#line 2631 "main.c" +#line 2635 "main.c" } else { gboolean _tmp37_ = FALSE; const gchar* _tmp38_ = NULL; @@ -2646,7 +2650,7 @@ void _vala_main (gchar** args, int args_length1) { _tmp39_ = is_string_empty (_tmp38_); #line 373 "/home/jens/Source/shotwell/src/main.vala" if (_tmp39_) { -#line 2642 "main.c" +#line 2646 "main.c" const gchar* _tmp40_ = NULL; gboolean _tmp41_ = FALSE; #line 373 "/home/jens/Source/shotwell/src/main.vala" @@ -2655,15 +2659,15 @@ void _vala_main (gchar** args, int args_length1) { _tmp41_ = string_contains (_tmp40_, "://"); #line 373 "/home/jens/Source/shotwell/src/main.vala" _tmp37_ = !_tmp41_; -#line 2651 "main.c" +#line 2655 "main.c" } else { #line 373 "/home/jens/Source/shotwell/src/main.vala" _tmp37_ = FALSE; -#line 2655 "main.c" +#line 2659 "main.c" } #line 373 "/home/jens/Source/shotwell/src/main.vala" if (_tmp37_) { -#line 2659 "main.c" +#line 2663 "main.c" const gchar* _tmp42_ = NULL; gchar* _tmp43_ = NULL; #line 374 "/home/jens/Source/shotwell/src/main.vala" @@ -2674,12 +2678,12 @@ void _vala_main (gchar** args, int args_length1) { _g_free0 (filename); #line 374 "/home/jens/Source/shotwell/src/main.vala" filename = _tmp43_; -#line 2670 "main.c" +#line 2674 "main.c" } } #line 368 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (arg); -#line 2675 "main.c" +#line 2679 "main.c" } } } @@ -2691,17 +2695,17 @@ void _vala_main (gchar** args, int args_length1) { if (_tmp46_) { #line 378 "/home/jens/Source/shotwell/src/main.vala" _tmp44_ = DEBUG_LIBRARY_PREFIX; -#line 2687 "main.c" +#line 2691 "main.c" } else { #line 378 "/home/jens/Source/shotwell/src/main.vala" _tmp44_ = DEBUG_VIEWER_PREFIX; -#line 2691 "main.c" +#line 2695 "main.c" } #line 378 "/home/jens/Source/shotwell/src/main.vala" debug_init (_tmp44_); #line 380 "/home/jens/Source/shotwell/src/main.vala" if (RESOURCES_GIT_VERSION != NULL) { -#line 2697 "main.c" +#line 2701 "main.c" const gchar* _tmp47_ = NULL; const gchar* _tmp48_ = NULL; gboolean _tmp49_ = FALSE; @@ -2713,15 +2717,15 @@ void _vala_main (gchar** args, int args_length1) { if (_tmp49_) { #line 382 "/home/jens/Source/shotwell/src/main.vala" _tmp47_ = RESOURCES_APP_LIBRARY_ROLE; -#line 2709 "main.c" +#line 2713 "main.c" } else { #line 382 "/home/jens/Source/shotwell/src/main.vala" _tmp47_ = RESOURCES_APP_DIRECT_ROLE; -#line 2713 "main.c" +#line 2717 "main.c" } #line 381 "/home/jens/Source/shotwell/src/main.vala" g_message ("main.vala:381: Shotwell %s %s (%s)", _tmp47_, RESOURCES_APP_VERSION, RESOURCES_GIT_VERSION); -#line 2717 "main.c" +#line 2721 "main.c" } else { const gchar* _tmp50_ = NULL; const gchar* _tmp51_ = NULL; @@ -2734,244 +2738,254 @@ void _vala_main (gchar** args, int args_length1) { if (_tmp52_) { #line 386 "/home/jens/Source/shotwell/src/main.vala" _tmp50_ = RESOURCES_APP_LIBRARY_ROLE; -#line 2730 "main.c" +#line 2734 "main.c" } else { #line 386 "/home/jens/Source/shotwell/src/main.vala" _tmp50_ = RESOURCES_APP_DIRECT_ROLE; -#line 2734 "main.c" +#line 2738 "main.c" } #line 385 "/home/jens/Source/shotwell/src/main.vala" g_message ("main.vala:385: Shotwell %s %s", _tmp50_, RESOURCES_APP_VERSION); -#line 2738 "main.c" +#line 2742 "main.c" } -#line 391 "/home/jens/Source/shotwell/src/main.vala" - _tmp53_ = filename; -#line 391 "/home/jens/Source/shotwell/src/main.vala" - _tmp54_ = is_string_empty (_tmp53_); -#line 391 "/home/jens/Source/shotwell/src/main.vala" - application_init (!_tmp54_); +#line 389 "/home/jens/Source/shotwell/src/main.vala" + _tmp53_ = g_date_time_new_now_local (); +#line 389 "/home/jens/Source/shotwell/src/main.vala" + _tmp54_ = _tmp53_; +#line 389 "/home/jens/Source/shotwell/src/main.vala" + _tmp55_ = g_date_time_get_timezone_abbreviation (_tmp54_); +#line 389 "/home/jens/Source/shotwell/src/main.vala" + g_debug ("main.vala:389: Shotwell is running in timezone %s", _tmp55_); +#line 389 "/home/jens/Source/shotwell/src/main.vala" + _g_date_time_unref0 (_tmp54_); #line 394 "/home/jens/Source/shotwell/src/main.vala" - _tmp55_ = commandline_options_data_dir; + _tmp56_ = filename; #line 394 "/home/jens/Source/shotwell/src/main.vala" - if (_tmp55_ != NULL) { -#line 2750 "main.c" - const gchar* _tmp56_ = NULL; -#line 395 "/home/jens/Source/shotwell/src/main.vala" - _tmp56_ = commandline_options_data_dir; -#line 395 "/home/jens/Source/shotwell/src/main.vala" - app_dirs_set_data_dir (_tmp56_); -#line 2756 "main.c" - } else { + _tmp57_ = is_string_empty (_tmp56_); +#line 394 "/home/jens/Source/shotwell/src/main.vala" + application_init (!_tmp57_); #line 397 "/home/jens/Source/shotwell/src/main.vala" + _tmp58_ = commandline_options_data_dir; +#line 397 "/home/jens/Source/shotwell/src/main.vala" + if (_tmp58_ != NULL) { +#line 2764 "main.c" + const gchar* _tmp59_ = NULL; +#line 398 "/home/jens/Source/shotwell/src/main.vala" + _tmp59_ = commandline_options_data_dir; +#line 398 "/home/jens/Source/shotwell/src/main.vala" + app_dirs_set_data_dir (_tmp59_); +#line 2770 "main.c" + } else { +#line 400 "/home/jens/Source/shotwell/src/main.vala" app_dirs_try_migrate_data (); -#line 2760 "main.c" +#line 2774 "main.c" } -#line 400 "/home/jens/Source/shotwell/src/main.vala" +#line 403 "/home/jens/Source/shotwell/src/main.vala" app_dirs_verify_data_dir (); -#line 401 "/home/jens/Source/shotwell/src/main.vala" - app_dirs_verify_cache_dir (); -#line 404 "/home/jens/Source/shotwell/src/main.vala" - _tmp57_ = args; #line 404 "/home/jens/Source/shotwell/src/main.vala" - _tmp57__length1 = args_length1; -#line 404 "/home/jens/Source/shotwell/src/main.vala" - international_support_init (RESOURCES_APP_GETTEXT_PACKAGE, _tmp57_, _tmp57__length1, INTERNATIONAL_SUPPORT_SYSTEM_LOCALE); -#line 406 "/home/jens/Source/shotwell/src/main.vala" - _tmp58_ = g_timer_new (); -#line 406 "/home/jens/Source/shotwell/src/main.vala" - _g_timer_destroy0 (startup_timer); -#line 406 "/home/jens/Source/shotwell/src/main.vala" - startup_timer = _tmp58_; + app_dirs_verify_cache_dir (); #line 407 "/home/jens/Source/shotwell/src/main.vala" - _tmp59_ = startup_timer; + _tmp60_ = args; #line 407 "/home/jens/Source/shotwell/src/main.vala" - g_timer_start (_tmp59_); + _tmp60__length1 = args_length1; +#line 407 "/home/jens/Source/shotwell/src/main.vala" + international_support_init (RESOURCES_APP_GETTEXT_PACKAGE, _tmp60_, _tmp60__length1, INTERNATIONAL_SUPPORT_SYSTEM_LOCALE); +#line 409 "/home/jens/Source/shotwell/src/main.vala" + _tmp61_ = g_timer_new (); +#line 409 "/home/jens/Source/shotwell/src/main.vala" + _g_timer_destroy0 (startup_timer); +#line 409 "/home/jens/Source/shotwell/src/main.vala" + startup_timer = _tmp61_; #line 410 "/home/jens/Source/shotwell/src/main.vala" + _tmp62_ = startup_timer; +#line 410 "/home/jens/Source/shotwell/src/main.vala" + g_timer_start (_tmp62_); +#line 413 "/home/jens/Source/shotwell/src/main.vala" g_set_application_name (RESOURCES_APP_TITLE); -#line 414 "/home/jens/Source/shotwell/src/main.vala" +#line 417 "/home/jens/Source/shotwell/src/main.vala" resources_init (); -#line 419 "/home/jens/Source/shotwell/src/main.vala" - _tmp60_ = filename; -#line 419 "/home/jens/Source/shotwell/src/main.vala" - _tmp61_ = is_string_empty (_tmp60_); -#line 419 "/home/jens/Source/shotwell/src/main.vala" - if (_tmp61_) { -#line 2792 "main.c" - gchar** _tmp62_ = NULL; - gint _tmp62__length1 = 0; -#line 420 "/home/jens/Source/shotwell/src/main.vala" - _tmp62_ = mounts; -#line 420 "/home/jens/Source/shotwell/src/main.vala" - _tmp62__length1 = mounts_length1; -#line 420 "/home/jens/Source/shotwell/src/main.vala" - library_exec (_tmp62_, _tmp62__length1); -#line 2801 "main.c" - } else { - const gchar* _tmp63_ = NULL; #line 422 "/home/jens/Source/shotwell/src/main.vala" - _tmp63_ = filename; + _tmp63_ = filename; #line 422 "/home/jens/Source/shotwell/src/main.vala" - editing_exec (_tmp63_); -#line 2808 "main.c" - } + _tmp64_ = is_string_empty (_tmp63_); +#line 422 "/home/jens/Source/shotwell/src/main.vala" + if (_tmp64_) { +#line 2806 "main.c" + gchar** _tmp65_ = NULL; + gint _tmp65__length1 = 0; +#line 423 "/home/jens/Source/shotwell/src/main.vala" + _tmp65_ = mounts; +#line 423 "/home/jens/Source/shotwell/src/main.vala" + _tmp65__length1 = mounts_length1; +#line 423 "/home/jens/Source/shotwell/src/main.vala" + library_exec (_tmp65_, _tmp65__length1); +#line 2815 "main.c" + } else { + const gchar* _tmp66_ = NULL; +#line 425 "/home/jens/Source/shotwell/src/main.vala" + _tmp66_ = filename; #line 425 "/home/jens/Source/shotwell/src/main.vala" + editing_exec (_tmp66_); +#line 2822 "main.c" + } +#line 428 "/home/jens/Source/shotwell/src/main.vala" resources_terminate (); -#line 426 "/home/jens/Source/shotwell/src/main.vala" +#line 429 "/home/jens/Source/shotwell/src/main.vala" application_terminate (); -#line 427 "/home/jens/Source/shotwell/src/main.vala" +#line 430 "/home/jens/Source/shotwell/src/main.vala" debug_terminate (); -#line 428 "/home/jens/Source/shotwell/src/main.vala" +#line 431 "/home/jens/Source/shotwell/src/main.vala" app_dirs_terminate (); -#line 433 "/home/jens/Source/shotwell/src/main.vala" - _tmp65_ = filename; -#line 433 "/home/jens/Source/shotwell/src/main.vala" - _tmp66_ = is_string_empty (_tmp65_); -#line 433 "/home/jens/Source/shotwell/src/main.vala" - if (_tmp66_) { -#line 2824 "main.c" - gboolean _tmp67_ = FALSE; -#line 433 "/home/jens/Source/shotwell/src/main.vala" - _tmp67_ = was_already_running; -#line 433 "/home/jens/Source/shotwell/src/main.vala" - _tmp64_ = !_tmp67_; -#line 2830 "main.c" +#line 436 "/home/jens/Source/shotwell/src/main.vala" + _tmp68_ = filename; +#line 436 "/home/jens/Source/shotwell/src/main.vala" + _tmp69_ = is_string_empty (_tmp68_); +#line 436 "/home/jens/Source/shotwell/src/main.vala" + if (_tmp69_) { +#line 2838 "main.c" + gboolean _tmp70_ = FALSE; +#line 436 "/home/jens/Source/shotwell/src/main.vala" + _tmp70_ = was_already_running; +#line 436 "/home/jens/Source/shotwell/src/main.vala" + _tmp67_ = !_tmp70_; +#line 2844 "main.c" } else { -#line 433 "/home/jens/Source/shotwell/src/main.vala" - _tmp64_ = FALSE; -#line 2834 "main.c" +#line 436 "/home/jens/Source/shotwell/src/main.vala" + _tmp67_ = FALSE; +#line 2848 "main.c" } -#line 433 "/home/jens/Source/shotwell/src/main.vala" - if (_tmp64_) { -#line 2838 "main.c" +#line 436 "/home/jens/Source/shotwell/src/main.vala" + if (_tmp67_) { +#line 2852 "main.c" gchar* orig_path = NULL; - GFile* _tmp68_ = NULL; - GFile* _tmp69_ = NULL; - GFile* _tmp70_ = NULL; GFile* _tmp71_ = NULL; - gchar* _tmp72_ = NULL; - gchar* _tmp73_ = NULL; - gchar* backup_path = NULL; - const gchar* _tmp74_ = NULL; + GFile* _tmp72_ = NULL; + GFile* _tmp73_ = NULL; + GFile* _tmp74_ = NULL; gchar* _tmp75_ = NULL; -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp68_ = app_dirs_get_data_subdir ("data", NULL); -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp69_ = _tmp68_; -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp70_ = g_file_get_child (_tmp69_, "photo.db"); -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp71_ = _tmp70_; -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp72_ = g_file_get_path (_tmp71_); -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _tmp73_ = _tmp72_; -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _g_object_unref0 (_tmp71_); -#line 434 "/home/jens/Source/shotwell/src/main.vala" - _g_object_unref0 (_tmp69_); -#line 434 "/home/jens/Source/shotwell/src/main.vala" - orig_path = _tmp73_; -#line 435 "/home/jens/Source/shotwell/src/main.vala" - _tmp74_ = orig_path; -#line 435 "/home/jens/Source/shotwell/src/main.vala" - _tmp75_ = g_strconcat (_tmp74_, ".bak", NULL); -#line 435 "/home/jens/Source/shotwell/src/main.vala" - backup_path = _tmp75_; -#line 2873 "main.c" - { - GFile* src = NULL; - const gchar* _tmp76_ = NULL; - GFile* _tmp77_ = NULL; - GFile* dest = NULL; - const gchar* _tmp78_ = NULL; - GFile* _tmp79_ = NULL; - GFile* _tmp80_ = NULL; - GFile* _tmp81_ = NULL; + gchar* _tmp76_ = NULL; + gchar* backup_path = NULL; + const gchar* _tmp77_ = NULL; + gchar* _tmp78_ = NULL; +#line 437 "/home/jens/Source/shotwell/src/main.vala" + _tmp71_ = app_dirs_get_data_subdir ("data", NULL); +#line 437 "/home/jens/Source/shotwell/src/main.vala" + _tmp72_ = _tmp71_; +#line 437 "/home/jens/Source/shotwell/src/main.vala" + _tmp73_ = g_file_get_child (_tmp72_, "photo.db"); +#line 437 "/home/jens/Source/shotwell/src/main.vala" + _tmp74_ = _tmp73_; +#line 437 "/home/jens/Source/shotwell/src/main.vala" + _tmp75_ = g_file_get_path (_tmp74_); #line 437 "/home/jens/Source/shotwell/src/main.vala" - _tmp76_ = orig_path; + _tmp76_ = _tmp75_; #line 437 "/home/jens/Source/shotwell/src/main.vala" - _tmp77_ = g_file_new_for_commandline_arg (_tmp76_); + _g_object_unref0 (_tmp74_); #line 437 "/home/jens/Source/shotwell/src/main.vala" - src = _tmp77_; + _g_object_unref0 (_tmp72_); +#line 437 "/home/jens/Source/shotwell/src/main.vala" + orig_path = _tmp76_; #line 438 "/home/jens/Source/shotwell/src/main.vala" - _tmp78_ = backup_path; + _tmp77_ = orig_path; #line 438 "/home/jens/Source/shotwell/src/main.vala" - _tmp79_ = g_file_new_for_commandline_arg (_tmp78_); + _tmp78_ = g_strconcat (_tmp77_, ".bak", NULL); #line 438 "/home/jens/Source/shotwell/src/main.vala" - dest = _tmp79_; -#line 439 "/home/jens/Source/shotwell/src/main.vala" - _tmp80_ = src; -#line 439 "/home/jens/Source/shotwell/src/main.vala" - _tmp81_ = dest; -#line 439 "/home/jens/Source/shotwell/src/main.vala" - g_file_copy (_tmp80_, _tmp81_, G_FILE_COPY_OVERWRITE | G_FILE_COPY_ALL_METADATA, NULL, NULL, NULL, &_inner_error_); -#line 439 "/home/jens/Source/shotwell/src/main.vala" + backup_path = _tmp78_; +#line 2887 "main.c" + { + GFile* src = NULL; + const gchar* _tmp79_ = NULL; + GFile* _tmp80_ = NULL; + GFile* dest = NULL; + const gchar* _tmp81_ = NULL; + GFile* _tmp82_ = NULL; + GFile* _tmp83_ = NULL; + GFile* _tmp84_ = NULL; +#line 440 "/home/jens/Source/shotwell/src/main.vala" + _tmp79_ = orig_path; +#line 440 "/home/jens/Source/shotwell/src/main.vala" + _tmp80_ = g_file_new_for_commandline_arg (_tmp79_); +#line 440 "/home/jens/Source/shotwell/src/main.vala" + src = _tmp80_; +#line 441 "/home/jens/Source/shotwell/src/main.vala" + _tmp81_ = backup_path; +#line 441 "/home/jens/Source/shotwell/src/main.vala" + _tmp82_ = g_file_new_for_commandline_arg (_tmp81_); +#line 441 "/home/jens/Source/shotwell/src/main.vala" + dest = _tmp82_; +#line 442 "/home/jens/Source/shotwell/src/main.vala" + _tmp83_ = src; +#line 442 "/home/jens/Source/shotwell/src/main.vala" + _tmp84_ = dest; +#line 442 "/home/jens/Source/shotwell/src/main.vala" + g_file_copy (_tmp83_, _tmp84_, G_FILE_COPY_OVERWRITE | G_FILE_COPY_ALL_METADATA, NULL, NULL, NULL, &_inner_error_); +#line 442 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 439 "/home/jens/Source/shotwell/src/main.vala" +#line 442 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (dest); -#line 439 "/home/jens/Source/shotwell/src/main.vala" +#line 442 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (src); -#line 2907 "main.c" +#line 2921 "main.c" goto __catch210_g_error; } -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (dest); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (src); -#line 2914 "main.c" +#line 2928 "main.c" } goto __finally210; __catch210_g_error: { GError* _error_ = NULL; - GError* _tmp82_ = NULL; - const gchar* _tmp83_ = NULL; -#line 436 "/home/jens/Source/shotwell/src/main.vala" + GError* _tmp85_ = NULL; + const gchar* _tmp86_ = NULL; +#line 439 "/home/jens/Source/shotwell/src/main.vala" _error_ = _inner_error_; -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _inner_error_ = NULL; -#line 443 "/home/jens/Source/shotwell/src/main.vala" - _tmp82_ = _error_; -#line 443 "/home/jens/Source/shotwell/src/main.vala" - _tmp83_ = _tmp82_->message; -#line 443 "/home/jens/Source/shotwell/src/main.vala" - g_warning ("main.vala:443: Failed to create backup file of database: %s", _tmp83_); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 446 "/home/jens/Source/shotwell/src/main.vala" + _tmp85_ = _error_; +#line 446 "/home/jens/Source/shotwell/src/main.vala" + _tmp86_ = _tmp85_->message; +#line 446 "/home/jens/Source/shotwell/src/main.vala" + g_warning ("main.vala:446: Failed to create backup file of database: %s", _tmp86_); +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_error_free0 (_error_); -#line 2934 "main.c" +#line 2948 "main.c" } __finally210: -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (backup_path); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (orig_path); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (filename); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" mounts = (_vala_array_free (mounts, mounts_length1, (GDestroyNotify) g_free), NULL); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" g_clear_error (&_inner_error_); -#line 436 "/home/jens/Source/shotwell/src/main.vala" +#line 439 "/home/jens/Source/shotwell/src/main.vala" return; -#line 2953 "main.c" +#line 2967 "main.c" } -#line 446 "/home/jens/Source/shotwell/src/main.vala" +#line 449 "/home/jens/Source/shotwell/src/main.vala" sync (); -#line 433 "/home/jens/Source/shotwell/src/main.vala" +#line 436 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (backup_path); -#line 433 "/home/jens/Source/shotwell/src/main.vala" +#line 436 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (orig_path); -#line 2961 "main.c" +#line 2975 "main.c" } #line 317 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (filename); #line 317 "/home/jens/Source/shotwell/src/main.vala" mounts = (_vala_array_free (mounts, mounts_length1, (GDestroyNotify) g_free), NULL); -#line 2967 "main.c" +#line 2981 "main.c" } @@ -2986,7 +3000,7 @@ int main (int argc, char ** argv) { _vala_main (argv, argc); #line 317 "/home/jens/Source/shotwell/src/main.vala" return 0; -#line 2982 "main.c" +#line 2996 "main.c" } diff --git a/src/main.vala b/src/main.vala index 2df29ed..bbd3317 100644 --- a/src/main.vala +++ b/src/main.vala @@ -385,6 +385,9 @@ void main(string[] args) { message("Shotwell %s %s", is_string_empty(filename) ? Resources.APP_LIBRARY_ROLE : Resources.APP_DIRECT_ROLE, Resources.APP_VERSION); + + debug ("Shotwell is running in timezone %s", new + DateTime.now_local().get_timezone_abbreviation ()); // Have a filename here? If so, configure ourselves for direct // mode, otherwise, default to library mode. diff --git a/src/photos/BmpSupport.c b/src/photos/BmpSupport.c index 11ad8c6..538669d 100644 --- a/src/photos/BmpSupport.c +++ b/src/photos/BmpSupport.c @@ -1,4 +1,4 @@ -/* BmpSupport.c generated by valac 0.32.1, the Vala compiler +/* BmpSupport.c generated by valac 0.34.1, the Vala compiler * generated from BmpSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1024,7 +1024,7 @@ static gboolean photos_bmp_sniffer_is_bmp_file (GFile* file, GError** error) { #line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala" _tmp4__length1 = file_lead_sequence_length1; #line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala" - g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_INPUT_STREAM, GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_); + g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_input_stream_get_type (), GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_); #line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala" diff --git a/src/photos/GRaw.c b/src/photos/GRaw.c index 56cfe34..1ee0beb 100644 --- a/src/photos/GRaw.c +++ b/src/photos/GRaw.c @@ -1,4 +1,4 @@ -/* GRaw.c generated by valac 0.32.1, the Vala compiler +/* GRaw.c generated by valac 0.34.1, the Vala compiler * generated from GRaw.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -498,7 +498,7 @@ GRawProcessedImage* graw_processed_image_construct_from_thumb (GType object_type #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" _tmp10_ = _tmp9_; #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" - _tmp11_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + _tmp11_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" _tmp12_ = _tmp11_; #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" diff --git a/src/photos/GdkSupport.c b/src/photos/GdkSupport.c index f016592..6c66a3d 100644 --- a/src/photos/GdkSupport.c +++ b/src/photos/GdkSupport.c @@ -1,4 +1,4 @@ -/* GdkSupport.c generated by valac 0.32.1, the Vala compiler +/* GdkSupport.c generated by valac 0.34.1, the Vala compiler * generated from GdkSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -930,7 +930,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, #line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" _tmp47__length1 = buffer_length1; #line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" - _tmp48_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, G_TYPE_INPUT_STREAM, GInputStream), _tmp47_, (gsize) _tmp47__length1, NULL, &_inner_error_); + _tmp48_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_input_stream_get_type (), GInputStream), _tmp47_, (gsize) _tmp47__length1, NULL, &_inner_error_); #line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" bytes_read = (gsize) _tmp48_; #line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" @@ -1127,7 +1127,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, #line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" _tmp69_ = fins; #line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" - g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" diff --git a/src/photos/JfifSupport.c b/src/photos/JfifSupport.c index 3c86a7a..cd5d127 100644 --- a/src/photos/JfifSupport.c +++ b/src/photos/JfifSupport.c @@ -1,4 +1,4 @@ -/* JfifSupport.c generated by valac 0.32.1, the Vala compiler +/* JfifSupport.c generated by valac 0.34.1, the Vala compiler * generated from JfifSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1870,7 +1870,7 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro #line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala" _tmp0_ = fins; #line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala" - _tmp1_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream)); + _tmp1_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream)); #line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala" dins = _tmp1_; #line 217 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala" diff --git a/src/photos/PhotoFileAdapter.c b/src/photos/PhotoFileAdapter.c index 2f05603..859ca74 100644 --- a/src/photos/PhotoFileAdapter.c +++ b/src/photos/PhotoFileAdapter.c @@ -1,4 +1,4 @@ -/* PhotoFileAdapter.c generated by valac 0.32.1, the Vala compiler +/* PhotoFileAdapter.c generated by valac 0.34.1, the Vala compiler * generated from PhotoFileAdapter.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/photos/PhotoFileFormat.c b/src/photos/PhotoFileFormat.c index 6e05342..f623c3f 100644 --- a/src/photos/PhotoFileFormat.c +++ b/src/photos/PhotoFileFormat.c @@ -1,4 +1,4 @@ -/* PhotoFileFormat.c generated by valac 0.32.1, the Vala compiler +/* PhotoFileFormat.c generated by valac 0.34.1, the Vala compiler * generated from PhotoFileFormat.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/photos/PhotoFileSniffer.c b/src/photos/PhotoFileSniffer.c index 8d44d6b..7351b3b 100644 --- a/src/photos/PhotoFileSniffer.c +++ b/src/photos/PhotoFileSniffer.c @@ -1,4 +1,4 @@ -/* PhotoFileSniffer.c generated by valac 0.32.1, the Vala compiler +/* PhotoFileSniffer.c generated by valac 0.34.1, the Vala compiler * generated from PhotoFileSniffer.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/photos/PhotoMetadata.c b/src/photos/PhotoMetadata.c index 1418eb3..e2a44b3 100644 --- a/src/photos/PhotoMetadata.c +++ b/src/photos/PhotoMetadata.c @@ -1,4 +1,4 @@ -/* PhotoMetadata.c generated by valac 0.32.1, the Vala compiler +/* PhotoMetadata.c generated by valac 0.34.1, the Vala compiler * generated from PhotoMetadata.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -103,7 +103,6 @@ typedef struct _PhotoMetadataClass PhotoMetadataClass; typedef struct _PhotoMetadataPrivate PhotoMetadataPrivate; #define PHOTO_METADATA_TYPE_SET_OPTION (photo_metadata_set_option_get_type ()) -#define _gexiv2_metadata_free0(var) ((var == NULL) ? NULL : (var = (gexiv2_metadata_free (var), NULL))) #define _exif_data_unref0(var) ((var == NULL) ? NULL : (var = (exif_data_unref (var), NULL))) #define TYPE_PREPARE_INPUT_TEXT_OPTIONS (prepare_input_text_options_get_type ()) @@ -146,7 +145,6 @@ typedef struct _HierarchicalTagIndexClass HierarchicalTagIndexClass; #define TYPE_RATING (rating_get_type ()) typedef struct _PhotoMetadataInternalPhotoPreviewPrivate PhotoMetadataInternalPhotoPreviewPrivate; -#define _gexiv2_preview_image_free0(var) ((var == NULL) ? NULL : (var = (gexiv2_preview_image_free (var), NULL))) #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } @@ -672,21 +670,21 @@ HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_typ self->is_writeable = _tmp5_; #line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 676 "PhotoMetadata.c" +#line 674 "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 683 "PhotoMetadata.c" +#line 681 "PhotoMetadata.c" } static void value_hierarchical_keyword_field_init (GValue* value) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 690 "PhotoMetadata.c" +#line 688 "PhotoMetadata.c" } @@ -695,7 +693,7 @@ static void value_hierarchical_keyword_field_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (value->data[0].v_pointer); -#line 699 "PhotoMetadata.c" +#line 697 "PhotoMetadata.c" } } @@ -705,11 +703,11 @@ static void value_hierarchical_keyword_field_copy_value (const GValue* src_value if (src_value->data[0].v_pointer) { #line 31 "/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 709 "PhotoMetadata.c" +#line 707 "PhotoMetadata.c" } else { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = NULL; -#line 713 "PhotoMetadata.c" +#line 711 "PhotoMetadata.c" } } @@ -717,37 +715,37 @@ static void value_hierarchical_keyword_field_copy_value (const GValue* src_value static gpointer value_hierarchical_keyword_field_peek_pointer (const GValue* value) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 721 "PhotoMetadata.c" +#line 719 "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" if (collect_values[0].v_pointer) { -#line 728 "PhotoMetadata.c" +#line 726 "PhotoMetadata.c" HierarchicalKeywordField* 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 735 "PhotoMetadata.c" +#line 733 "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 739 "PhotoMetadata.c" +#line 737 "PhotoMetadata.c" } #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = hierarchical_keyword_field_ref (object); -#line 743 "PhotoMetadata.c" +#line 741 "PhotoMetadata.c" } else { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 747 "PhotoMetadata.c" +#line 745 "PhotoMetadata.c" } #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 751 "PhotoMetadata.c" +#line 749 "PhotoMetadata.c" } @@ -758,25 +756,25 @@ static gchar* value_hierarchical_keyword_field_lcopy_value (const GValue* value, 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 762 "PhotoMetadata.c" +#line 760 "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 768 "PhotoMetadata.c" +#line 766 "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 772 "PhotoMetadata.c" +#line 770 "PhotoMetadata.c" } else { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = hierarchical_keyword_field_ref (value->data[0].v_pointer); -#line 776 "PhotoMetadata.c" +#line 774 "PhotoMetadata.c" } #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 780 "PhotoMetadata.c" +#line 778 "PhotoMetadata.c" } @@ -790,7 +788,7 @@ GParamSpec* param_spec_hierarchical_keyword_field (const gchar* name, const gcha G_PARAM_SPEC (spec)->value_type = object_type; #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return G_PARAM_SPEC (spec); -#line 794 "PhotoMetadata.c" +#line 792 "PhotoMetadata.c" } @@ -799,7 +797,7 @@ gpointer value_get_hierarchical_keyword_field (const GValue* value) { 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" return value->data[0].v_pointer; -#line 803 "PhotoMetadata.c" +#line 801 "PhotoMetadata.c" } @@ -819,17 +817,17 @@ void value_set_hierarchical_keyword_field (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_ref (value->data[0].v_pointer); -#line 823 "PhotoMetadata.c" +#line 821 "PhotoMetadata.c" } else { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 827 "PhotoMetadata.c" +#line 825 "PhotoMetadata.c" } #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (old); -#line 833 "PhotoMetadata.c" +#line 831 "PhotoMetadata.c" } } @@ -848,17 +846,17 @@ void value_take_hierarchical_keyword_field (GValue* value, gpointer v_object) { 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 852 "PhotoMetadata.c" +#line 850 "PhotoMetadata.c" } else { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 856 "PhotoMetadata.c" +#line 854 "PhotoMetadata.c" } #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (old); -#line 862 "PhotoMetadata.c" +#line 860 "PhotoMetadata.c" } } @@ -868,14 +866,14 @@ static void hierarchical_keyword_field_class_init (HierarchicalKeywordFieldClass hierarchical_keyword_field_parent_class = g_type_class_peek_parent (klass); #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((HierarchicalKeywordFieldClass *) klass)->finalize = hierarchical_keyword_field_finalize; -#line 872 "PhotoMetadata.c" +#line 870 "PhotoMetadata.c" } static void hierarchical_keyword_field_instance_init (HierarchicalKeywordField * self) { #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->ref_count = 1; -#line 879 "PhotoMetadata.c" +#line 877 "PhotoMetadata.c" } @@ -889,7 +887,7 @@ static void hierarchical_keyword_field_finalize (HierarchicalKeywordField* obj) _g_free0 (self->field_name); #line 33 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->path_separator); -#line 893 "PhotoMetadata.c" +#line 891 "PhotoMetadata.c" } @@ -914,7 +912,7 @@ gpointer hierarchical_keyword_field_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return instance; -#line 918 "PhotoMetadata.c" +#line 916 "PhotoMetadata.c" } @@ -927,7 +925,7 @@ void hierarchical_keyword_field_unref (gpointer instance) { HIERARCHICAL_KEYWORD_FIELD_GET_CLASS (self)->finalize (self); #line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_free_instance ((GTypeInstance *) self); -#line 931 "PhotoMetadata.c" +#line 929 "PhotoMetadata.c" } } @@ -986,7 +984,7 @@ PhotoPreview* photo_preview_construct (GType object_type, const gchar* name, Dim self->priv->extension = _tmp7_; #line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 990 "PhotoMetadata.c" +#line 988 "PhotoMetadata.c" } @@ -1004,7 +1002,7 @@ gchar* photo_preview_get_name (PhotoPreview* self) { result = _tmp1_; #line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1008 "PhotoMetadata.c" +#line 1006 "PhotoMetadata.c" } @@ -1018,7 +1016,7 @@ void photo_preview_get_pixel_dimensions (PhotoPreview* self, Dimensions* result) *result = _tmp0_; #line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1022 "PhotoMetadata.c" +#line 1020 "PhotoMetadata.c" } @@ -1033,7 +1031,7 @@ guint32 photo_preview_get_size (PhotoPreview* self) { result = _tmp0_; #line 70 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1037 "PhotoMetadata.c" +#line 1035 "PhotoMetadata.c" } @@ -1051,7 +1049,7 @@ gchar* photo_preview_get_mime_type (PhotoPreview* self) { result = _tmp1_; #line 74 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1055 "PhotoMetadata.c" +#line 1053 "PhotoMetadata.c" } @@ -1069,7 +1067,7 @@ gchar* photo_preview_get_extension (PhotoPreview* self) { result = _tmp1_; #line 78 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1073 "PhotoMetadata.c" +#line 1071 "PhotoMetadata.c" } @@ -1078,7 +1076,7 @@ static guint8* photo_preview_real_flatten (PhotoPreview* self, int* result_lengt 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" return NULL; -#line 1082 "PhotoMetadata.c" +#line 1080 "PhotoMetadata.c" } @@ -1087,14 +1085,14 @@ guint8* photo_preview_flatten (PhotoPreview* self, int* result_length1, GError** g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); #line 81 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return PHOTO_PREVIEW_GET_CLASS (self)->flatten (self, result_length1, error); -#line 1091 "PhotoMetadata.c" +#line 1089 "PhotoMetadata.c" } static guint8* _vala_array_dup4 (guint8* self, int length) { #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 1098 "PhotoMetadata.c" +#line 1096 "PhotoMetadata.c" } @@ -1120,7 +1118,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er g_propagate_error (error, _inner_error_); #line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1124 "PhotoMetadata.c" +#line 1122 "PhotoMetadata.c" } { GdkPixbuf* _tmp2_ = NULL; @@ -1140,7 +1138,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_; #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp6_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + _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" _tmp7_ = _tmp6_; #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1149,7 +1147,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er _tmp2_ = _tmp7_; #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1153 "PhotoMetadata.c" +#line 1151 "PhotoMetadata.c" goto __catch23_g_error; } #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1164,7 +1162,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er flattened = (g_free (flattened), NULL); #line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1168 "PhotoMetadata.c" +#line 1166 "PhotoMetadata.c" } goto __finally23; __catch23_g_error: @@ -1193,7 +1191,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er flattened = (g_free (flattened), NULL); #line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1197 "PhotoMetadata.c" +#line 1195 "PhotoMetadata.c" } __finally23: #line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1202,7 +1200,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er flattened = (g_free (flattened), NULL); #line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1206 "PhotoMetadata.c" +#line 1204 "PhotoMetadata.c" } @@ -1211,14 +1209,14 @@ GdkPixbuf* photo_preview_get_pixbuf (PhotoPreview* self, GError** error) { g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); #line 83 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return PHOTO_PREVIEW_GET_CLASS (self)->get_pixbuf (self, error); -#line 1215 "PhotoMetadata.c" +#line 1213 "PhotoMetadata.c" } static void value_photo_preview_init (GValue* value) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1222 "PhotoMetadata.c" +#line 1220 "PhotoMetadata.c" } @@ -1227,7 +1225,7 @@ static void value_photo_preview_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (value->data[0].v_pointer); -#line 1231 "PhotoMetadata.c" +#line 1229 "PhotoMetadata.c" } } @@ -1237,11 +1235,11 @@ static void value_photo_preview_copy_value (const GValue* src_value, GValue* des if (src_value->data[0].v_pointer) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = photo_preview_ref (src_value->data[0].v_pointer); -#line 1241 "PhotoMetadata.c" +#line 1239 "PhotoMetadata.c" } else { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = NULL; -#line 1245 "PhotoMetadata.c" +#line 1243 "PhotoMetadata.c" } } @@ -1249,37 +1247,37 @@ static void value_photo_preview_copy_value (const GValue* src_value, GValue* des static gpointer value_photo_preview_peek_pointer (const GValue* value) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 1253 "PhotoMetadata.c" +#line 1251 "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" if (collect_values[0].v_pointer) { -#line 1260 "PhotoMetadata.c" +#line 1258 "PhotoMetadata.c" PhotoPreview* object; object = collect_values[0].v_pointer; #line 46 "/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" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1267 "PhotoMetadata.c" +#line 1265 "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" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1271 "PhotoMetadata.c" +#line 1269 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = photo_preview_ref (object); -#line 1275 "PhotoMetadata.c" +#line 1273 "PhotoMetadata.c" } else { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1279 "PhotoMetadata.c" +#line 1277 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1283 "PhotoMetadata.c" +#line 1281 "PhotoMetadata.c" } @@ -1290,25 +1288,25 @@ static gchar* value_photo_preview_lcopy_value (const GValue* value, guint n_coll if (!object_p) { #line 46 "/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 1294 "PhotoMetadata.c" +#line 1292 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!value->data[0].v_pointer) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = NULL; -#line 1300 "PhotoMetadata.c" +#line 1298 "PhotoMetadata.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = value->data[0].v_pointer; -#line 1304 "PhotoMetadata.c" +#line 1302 "PhotoMetadata.c" } else { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = photo_preview_ref (value->data[0].v_pointer); -#line 1308 "PhotoMetadata.c" +#line 1306 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1312 "PhotoMetadata.c" +#line 1310 "PhotoMetadata.c" } @@ -1322,7 +1320,7 @@ GParamSpec* param_spec_photo_preview (const gchar* name, const gchar* nick, cons G_PARAM_SPEC (spec)->value_type = object_type; #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return G_PARAM_SPEC (spec); -#line 1326 "PhotoMetadata.c" +#line 1324 "PhotoMetadata.c" } @@ -1331,7 +1329,7 @@ gpointer value_get_photo_preview (const GValue* value) { 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" return value->data[0].v_pointer; -#line 1335 "PhotoMetadata.c" +#line 1333 "PhotoMetadata.c" } @@ -1351,17 +1349,17 @@ void value_set_photo_preview (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_ref (value->data[0].v_pointer); -#line 1355 "PhotoMetadata.c" +#line 1353 "PhotoMetadata.c" } else { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1359 "PhotoMetadata.c" +#line 1357 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (old); -#line 1365 "PhotoMetadata.c" +#line 1363 "PhotoMetadata.c" } } @@ -1380,17 +1378,17 @@ void value_take_photo_preview (GValue* value, gpointer v_object) { 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" value->data[0].v_pointer = v_object; -#line 1384 "PhotoMetadata.c" +#line 1382 "PhotoMetadata.c" } else { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1388 "PhotoMetadata.c" +#line 1386 "PhotoMetadata.c" } #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (old); -#line 1394 "PhotoMetadata.c" +#line 1392 "PhotoMetadata.c" } } @@ -1406,7 +1404,7 @@ static void photo_preview_class_init (PhotoPreviewClass * klass) { ((PhotoPreviewClass *) klass)->flatten = photo_preview_real_flatten; #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->get_pixbuf = photo_preview_real_get_pixbuf; -#line 1410 "PhotoMetadata.c" +#line 1408 "PhotoMetadata.c" } @@ -1415,7 +1413,7 @@ static void photo_preview_instance_init (PhotoPreview * self) { self->priv = PHOTO_PREVIEW_GET_PRIVATE (self); #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->ref_count = 1; -#line 1419 "PhotoMetadata.c" +#line 1417 "PhotoMetadata.c" } @@ -1431,7 +1429,7 @@ static void photo_preview_finalize (PhotoPreview* obj) { _g_free0 (self->priv->mime_type); #line 51 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->extension); -#line 1435 "PhotoMetadata.c" +#line 1433 "PhotoMetadata.c" } @@ -1456,7 +1454,7 @@ gpointer photo_preview_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return instance; -#line 1460 "PhotoMetadata.c" +#line 1458 "PhotoMetadata.c" } @@ -1469,7 +1467,7 @@ void photo_preview_unref (gpointer instance) { PHOTO_PREVIEW_GET_CLASS (self)->finalize (self); #line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1473 "PhotoMetadata.c" +#line 1471 "PhotoMetadata.c" } } @@ -1492,14 +1490,14 @@ PhotoMetadata* photo_metadata_construct (GType object_type) { self = (PhotoMetadata*) media_metadata_construct (object_type); #line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 1496 "PhotoMetadata.c" +#line 1494 "PhotoMetadata.c" } PhotoMetadata* photo_metadata_new (void) { #line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return photo_metadata_construct (TYPE_PHOTO_METADATA); -#line 1503 "PhotoMetadata.c" +#line 1501 "PhotoMetadata.c" } @@ -1524,7 +1522,7 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file #line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = gexiv2_metadata_new (); #line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _gexiv2_metadata_free0 (self->priv->exiv2); + _g_object_unref0 (self->priv->exiv2); #line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp0_; #line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1549,7 +1547,7 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file g_propagate_error (error, _inner_error_); #line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1553 "PhotoMetadata.c" +#line 1551 "PhotoMetadata.c" } #line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = file; @@ -1573,7 +1571,7 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file _g_free0 (self->priv->source_name); #line 148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp10_; -#line 1577 "PhotoMetadata.c" +#line 1575 "PhotoMetadata.c" } @@ -1605,7 +1603,7 @@ void photo_metadata_write_to_file (PhotoMetadata* self, GFile* file, GError** er g_propagate_error (error, _inner_error_); #line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1609 "PhotoMetadata.c" +#line 1607 "PhotoMetadata.c" } } @@ -1633,7 +1631,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b _tmp0_ = length; #line 156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ <= 0) { -#line 1637 "PhotoMetadata.c" +#line 1635 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; #line 157 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1642,7 +1640,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b _tmp1__length1 = buffer_length1; #line 157 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" length = _tmp1__length1; -#line 1646 "PhotoMetadata.c" +#line 1644 "PhotoMetadata.c" } #line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = buffer; @@ -1655,7 +1653,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b #line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_new (); #line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _gexiv2_metadata_free0 (self->priv->exiv2); + _g_object_unref0 (self->priv->exiv2); #line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp4_; #line 162 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1678,7 +1676,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b g_propagate_error (error, _inner_error_); #line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1682 "PhotoMetadata.c" +#line 1680 "PhotoMetadata.c" } #line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = buffer; @@ -1700,7 +1698,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b _g_free0 (self->priv->source_name); #line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp12_; -#line 1704 "PhotoMetadata.c" +#line 1702 "PhotoMetadata.c" } @@ -1727,7 +1725,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, _tmp0_ = length; #line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ <= 0) { -#line 1731 "PhotoMetadata.c" +#line 1729 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; #line 171 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1736,7 +1734,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, _tmp1__length1 = buffer_length1; #line 171 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" length = _tmp1__length1; -#line 1740 "PhotoMetadata.c" +#line 1738 "PhotoMetadata.c" } #line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = buffer; @@ -1749,7 +1747,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, #line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_new (); #line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _gexiv2_metadata_free0 (self->priv->exiv2); + _g_object_unref0 (self->priv->exiv2); #line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp4_; #line 176 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -1772,7 +1770,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, g_propagate_error (error, _inner_error_); #line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1776 "PhotoMetadata.c" +#line 1774 "PhotoMetadata.c" } #line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = buffer; @@ -1794,7 +1792,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, _g_free0 (self->priv->source_name); #line 180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp12_; -#line 1798 "PhotoMetadata.c" +#line 1796 "PhotoMetadata.c" } @@ -1818,7 +1816,7 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) { result = METADATA_DOMAIN_EXIF; #line 185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1822 "PhotoMetadata.c" +#line 1820 "PhotoMetadata.c" } #line 187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; @@ -1830,7 +1828,7 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) { result = METADATA_DOMAIN_XMP; #line 188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1834 "PhotoMetadata.c" +#line 1832 "PhotoMetadata.c" } #line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = tag; @@ -1842,13 +1840,13 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) { result = METADATA_DOMAIN_IPTC; #line 191 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1846 "PhotoMetadata.c" +#line 1844 "PhotoMetadata.c" } #line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = METADATA_DOMAIN_UNKNOWN; #line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1852 "PhotoMetadata.c" +#line 1850 "PhotoMetadata.c" } @@ -1863,7 +1861,7 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) switch (_tmp0_) { #line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 1867 "PhotoMetadata.c" +#line 1865 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; @@ -1875,11 +1873,11 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) result = _tmp2_; #line 199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1879 "PhotoMetadata.c" +#line 1877 "PhotoMetadata.c" } #line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 1883 "PhotoMetadata.c" +#line 1881 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; @@ -1891,11 +1889,11 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) result = _tmp4_; #line 202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1895 "PhotoMetadata.c" +#line 1893 "PhotoMetadata.c" } #line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 1899 "PhotoMetadata.c" +#line 1897 "PhotoMetadata.c" { GExiv2Metadata* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -1907,18 +1905,18 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) result = _tmp6_; #line 205 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1911 "PhotoMetadata.c" +#line 1909 "PhotoMetadata.c" } default: #line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_UNKNOWN: -#line 1916 "PhotoMetadata.c" +#line 1914 "PhotoMetadata.c" { #line 209 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; #line 209 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1922 "PhotoMetadata.c" +#line 1920 "PhotoMetadata.c" } } } @@ -1935,7 +1933,7 @@ gboolean photo_metadata_has_exif (PhotoMetadata* self) { result = _tmp0_; #line 214 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1939 "PhotoMetadata.c" +#line 1937 "PhotoMetadata.c" } @@ -1950,7 +1948,7 @@ gboolean photo_metadata_has_xmp (PhotoMetadata* self) { result = _tmp0_; #line 218 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1954 "PhotoMetadata.c" +#line 1952 "PhotoMetadata.c" } @@ -1965,7 +1963,7 @@ gboolean photo_metadata_has_iptc (PhotoMetadata* self) { result = _tmp0_; #line 222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1969 "PhotoMetadata.c" +#line 1967 "PhotoMetadata.c" } @@ -1980,7 +1978,7 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain switch (_tmp0_) { #line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 1984 "PhotoMetadata.c" +#line 1982 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; @@ -1992,11 +1990,11 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain result = _tmp2_; #line 228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1996 "PhotoMetadata.c" +#line 1994 "PhotoMetadata.c" } #line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 2000 "PhotoMetadata.c" +#line 1998 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; @@ -2008,11 +2006,11 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain result = _tmp4_; #line 231 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2012 "PhotoMetadata.c" +#line 2010 "PhotoMetadata.c" } #line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 2016 "PhotoMetadata.c" +#line 2014 "PhotoMetadata.c" { GExiv2Metadata* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -2024,18 +2022,18 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain result = _tmp6_; #line 234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2028 "PhotoMetadata.c" +#line 2026 "PhotoMetadata.c" } default: #line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_UNKNOWN: -#line 2033 "PhotoMetadata.c" +#line 2031 "PhotoMetadata.c" { #line 238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; #line 238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2039 "PhotoMetadata.c" +#line 2037 "PhotoMetadata.c" } } } @@ -2052,7 +2050,7 @@ gboolean photo_metadata_can_write_exif (PhotoMetadata* self) { result = _tmp0_; #line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2056 "PhotoMetadata.c" +#line 2054 "PhotoMetadata.c" } @@ -2067,7 +2065,7 @@ gboolean photo_metadata_can_write_xmp (PhotoMetadata* self) { result = _tmp0_; #line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2071 "PhotoMetadata.c" +#line 2069 "PhotoMetadata.c" } @@ -2082,7 +2080,7 @@ gboolean photo_metadata_can_write_iptc (PhotoMetadata* self) { result = _tmp0_; #line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2086 "PhotoMetadata.c" +#line 2084 "PhotoMetadata.c" } @@ -2105,7 +2103,7 @@ gboolean photo_metadata_has_tag (PhotoMetadata* self, const gchar* tag) { result = _tmp2_; #line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2109 "PhotoMetadata.c" +#line 2107 "PhotoMetadata.c" } @@ -2121,7 +2119,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa _tmp0__target = compare_func_target; #line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ == NULL) { -#line 2125 "PhotoMetadata.c" +#line 2123 "PhotoMetadata.c" GeeHashSet* _tmp1_ = NULL; #line 261 "/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); @@ -2137,7 +2135,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa compare_func_target_destroy_notify = NULL; #line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2141 "PhotoMetadata.c" +#line 2139 "PhotoMetadata.c" } else { GCompareDataFunc _tmp2_ = NULL; void* _tmp2__target = NULL; @@ -2165,7 +2163,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa compare_func_target_destroy_notify = NULL; #line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2169 "PhotoMetadata.c" +#line 2167 "PhotoMetadata.c" } #line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); @@ -2175,7 +2173,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa compare_func_target = NULL; #line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 2179 "PhotoMetadata.c" +#line 2177 "PhotoMetadata.c" } @@ -2209,7 +2207,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma switch (_tmp0_) { #line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 2213 "PhotoMetadata.c" +#line 2211 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gchar** _tmp2_ = NULL; @@ -2228,11 +2226,11 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma _tags_size_ = tags_length1; #line 272 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2232 "PhotoMetadata.c" +#line 2230 "PhotoMetadata.c" } #line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 2236 "PhotoMetadata.c" +#line 2234 "PhotoMetadata.c" { GExiv2Metadata* _tmp4_ = NULL; gchar** _tmp5_ = NULL; @@ -2251,11 +2249,11 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma _tags_size_ = tags_length1; #line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2255 "PhotoMetadata.c" +#line 2253 "PhotoMetadata.c" } #line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 2259 "PhotoMetadata.c" +#line 2257 "PhotoMetadata.c" { GExiv2Metadata* _tmp7_ = NULL; gchar** _tmp8_ = NULL; @@ -2274,12 +2272,12 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma _tags_size_ = tags_length1; #line 280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2278 "PhotoMetadata.c" +#line 2276 "PhotoMetadata.c" } default: #line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2283 "PhotoMetadata.c" +#line 2281 "PhotoMetadata.c" } #line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = tags; @@ -2289,7 +2287,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma if (_tmp11_ == NULL) { #line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = TRUE; -#line 2293 "PhotoMetadata.c" +#line 2291 "PhotoMetadata.c" } else { gchar** _tmp12_ = NULL; gint _tmp12__length1 = 0; @@ -2299,7 +2297,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma _tmp12__length1 = tags_length1; #line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = _tmp12__length1 == 0; -#line 2303 "PhotoMetadata.c" +#line 2301 "PhotoMetadata.c" } #line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { @@ -2317,7 +2315,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma compare_func_target_destroy_notify = NULL; #line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2321 "PhotoMetadata.c" +#line 2319 "PhotoMetadata.c" } #line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = compare_func; @@ -2335,7 +2333,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma _tmp15_ = tags; #line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15__length1 = tags_length1; -#line 2339 "PhotoMetadata.c" +#line 2337 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -2347,14 +2345,14 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma tag_collection_length1 = _tmp15__length1; #line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp15__length1; tag_it = tag_it + 1) { -#line 2351 "PhotoMetadata.c" +#line 2349 "PhotoMetadata.c" gchar* _tmp16_ = NULL; gchar* tag = NULL; #line 287 "/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" tag = _tmp16_; -#line 2358 "PhotoMetadata.c" +#line 2356 "PhotoMetadata.c" { GeeCollection* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; @@ -2366,7 +2364,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma gee_collection_add (_tmp17_, _tmp18_); #line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2370 "PhotoMetadata.c" +#line 2368 "PhotoMetadata.c" } } } @@ -2384,14 +2382,14 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma compare_func_target_destroy_notify = NULL; #line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2388 "PhotoMetadata.c" +#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 2395 "PhotoMetadata.c" +#line 2393 "PhotoMetadata.c" } @@ -2441,7 +2439,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp4_ = exif_tags; #line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 2445 "PhotoMetadata.c" +#line 2443 "PhotoMetadata.c" GeeCollection* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -2453,15 +2451,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp7_ = _tmp6_; #line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp7_ > 0; -#line 2457 "PhotoMetadata.c" +#line 2455 "PhotoMetadata.c" } else { #line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = FALSE; -#line 2461 "PhotoMetadata.c" +#line 2459 "PhotoMetadata.c" } #line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 2465 "PhotoMetadata.c" +#line 2463 "PhotoMetadata.c" GeeCollection* _tmp8_ = NULL; GeeCollection* _tmp9_ = NULL; #line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -2470,7 +2468,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp9_ = exif_tags; #line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp8_, _tmp9_); -#line 2474 "PhotoMetadata.c" +#line 2472 "PhotoMetadata.c" } #line 301 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = photo_metadata_get_tags (self, METADATA_DOMAIN_XMP, NULL, NULL, NULL); @@ -2480,7 +2478,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp12_ = xmp_tags; #line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp12_ != NULL) { -#line 2484 "PhotoMetadata.c" +#line 2482 "PhotoMetadata.c" GeeCollection* _tmp13_ = NULL; gint _tmp14_ = 0; gint _tmp15_ = 0; @@ -2492,15 +2490,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp15_ = _tmp14_; #line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp15_ > 0; -#line 2496 "PhotoMetadata.c" +#line 2494 "PhotoMetadata.c" } else { #line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = FALSE; -#line 2500 "PhotoMetadata.c" +#line 2498 "PhotoMetadata.c" } #line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_) { -#line 2504 "PhotoMetadata.c" +#line 2502 "PhotoMetadata.c" GeeCollection* _tmp16_ = NULL; GeeCollection* _tmp17_ = NULL; #line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -2509,7 +2507,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp17_ = xmp_tags; #line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp16_, _tmp17_); -#line 2513 "PhotoMetadata.c" +#line 2511 "PhotoMetadata.c" } #line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = photo_metadata_get_tags (self, METADATA_DOMAIN_IPTC, NULL, NULL, NULL); @@ -2519,7 +2517,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp20_ = iptc_tags; #line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp20_ != NULL) { -#line 2523 "PhotoMetadata.c" +#line 2521 "PhotoMetadata.c" GeeCollection* _tmp21_ = NULL; gint _tmp22_ = 0; gint _tmp23_ = 0; @@ -2531,15 +2529,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp23_ = _tmp22_; #line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp23_ > 0; -#line 2535 "PhotoMetadata.c" +#line 2533 "PhotoMetadata.c" } else { #line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = FALSE; -#line 2539 "PhotoMetadata.c" +#line 2537 "PhotoMetadata.c" } #line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp19_) { -#line 2543 "PhotoMetadata.c" +#line 2541 "PhotoMetadata.c" GeeCollection* _tmp24_ = NULL; GeeCollection* _tmp25_ = NULL; #line 307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -2548,7 +2546,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp25_ = iptc_tags; #line 307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp24_, _tmp25_); -#line 2552 "PhotoMetadata.c" +#line 2550 "PhotoMetadata.c" } #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = all_tags; @@ -2558,17 +2556,17 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun _tmp29_ = _tmp28_; #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp29_ > 0) { -#line 2562 "PhotoMetadata.c" +#line 2560 "PhotoMetadata.c" GeeCollection* _tmp30_ = NULL; #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30_ = all_tags; #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = _tmp30_; -#line 2568 "PhotoMetadata.c" +#line 2566 "PhotoMetadata.c" } else { #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = NULL; -#line 2572 "PhotoMetadata.c" +#line 2570 "PhotoMetadata.c" } #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp31_ = _g_object_ref0 (_tmp26_); @@ -2592,7 +2590,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun compare_func_target_destroy_notify = NULL; #line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2596 "PhotoMetadata.c" +#line 2594 "PhotoMetadata.c" } @@ -2615,7 +2613,7 @@ gchar* photo_metadata_get_tag_label (PhotoMetadata* self, const gchar* tag) { result = _tmp2_; #line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2619 "PhotoMetadata.c" +#line 2617 "PhotoMetadata.c" } @@ -2638,7 +2636,7 @@ gchar* photo_metadata_get_tag_description (PhotoMetadata* self, const gchar* tag result = _tmp2_; #line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2642 "PhotoMetadata.c" +#line 2640 "PhotoMetadata.c" } @@ -2675,7 +2673,7 @@ gchar* photo_metadata_get_string (PhotoMetadata* self, const gchar* tag, Prepare result = _tmp6_; #line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2679 "PhotoMetadata.c" +#line 2677 "PhotoMetadata.c" } @@ -2712,7 +2710,7 @@ gchar* photo_metadata_get_string_interpreted (PhotoMetadata* self, const gchar* result = _tmp6_; #line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2716 "PhotoMetadata.c" +#line 2714 "PhotoMetadata.c" } @@ -2726,7 +2724,7 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t _tmp0_ = tags; #line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 2730 "PhotoMetadata.c" +#line 2728 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -2738,14 +2736,14 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t tag_collection_length1 = _tmp0__length1; #line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 2742 "PhotoMetadata.c" +#line 2740 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 329 "/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" tag = _tmp1_; -#line 2749 "PhotoMetadata.c" +#line 2747 "PhotoMetadata.c" { gchar* value = NULL; const gchar* _tmp2_ = NULL; @@ -2767,13 +2765,13 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t _g_free0 (tag); #line 332 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2771 "PhotoMetadata.c" +#line 2769 "PhotoMetadata.c" } #line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); #line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2777 "PhotoMetadata.c" +#line 2775 "PhotoMetadata.c" } } } @@ -2781,7 +2779,7 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t result = NULL; #line 335 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2785 "PhotoMetadata.c" +#line 2783 "PhotoMetadata.c" } @@ -2795,7 +2793,7 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar** _tmp0_ = tags; #line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 2799 "PhotoMetadata.c" +#line 2797 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -2807,14 +2805,14 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar** tag_collection_length1 = _tmp0__length1; #line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 2811 "PhotoMetadata.c" +#line 2809 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 339 "/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" tag = _tmp1_; -#line 2818 "PhotoMetadata.c" +#line 2816 "PhotoMetadata.c" { gchar* value = NULL; const gchar* _tmp2_ = NULL; @@ -2836,13 +2834,13 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar** _g_free0 (tag); #line 342 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2840 "PhotoMetadata.c" +#line 2838 "PhotoMetadata.c" } #line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); #line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2846 "PhotoMetadata.c" +#line 2844 "PhotoMetadata.c" } } } @@ -2850,7 +2848,7 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar** result = NULL; #line 345 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2854 "PhotoMetadata.c" +#line 2852 "PhotoMetadata.c" } @@ -2901,7 +2899,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t if (_tmp5_ == NULL) { #line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = TRUE; -#line 2905 "PhotoMetadata.c" +#line 2903 "PhotoMetadata.c" } else { gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; @@ -2911,7 +2909,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _tmp6__length1 = values_length1; #line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp6__length1 == 0; -#line 2915 "PhotoMetadata.c" +#line 2913 "PhotoMetadata.c" } #line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { @@ -2921,7 +2919,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); #line 357 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2925 "PhotoMetadata.c" +#line 2923 "PhotoMetadata.c" } #line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); @@ -2935,7 +2933,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _tmp9_ = values; #line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9__length1 = values_length1; -#line 2939 "PhotoMetadata.c" +#line 2937 "PhotoMetadata.c" { gchar** value_collection = NULL; gint value_collection_length1 = 0; @@ -2947,14 +2945,14 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t value_collection_length1 = _tmp9__length1; #line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (value_it = 0; value_it < _tmp9__length1; value_it = value_it + 1) { -#line 2951 "PhotoMetadata.c" +#line 2949 "PhotoMetadata.c" gchar* _tmp10_ = NULL; gchar* value = NULL; #line 362 "/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" value = _tmp10_; -#line 2958 "PhotoMetadata.c" +#line 2956 "PhotoMetadata.c" { gchar* prepped = NULL; const gchar* _tmp11_ = NULL; @@ -2971,7 +2969,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _tmp14_ = prepped; #line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp14_ != NULL) { -#line 2975 "PhotoMetadata.c" +#line 2973 "PhotoMetadata.c" GeeHashSet* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; @@ -2983,15 +2981,15 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _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" _tmp13_ = !_tmp17_; -#line 2987 "PhotoMetadata.c" +#line 2985 "PhotoMetadata.c" } else { #line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = FALSE; -#line 2991 "PhotoMetadata.c" +#line 2989 "PhotoMetadata.c" } #line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp13_) { -#line 2995 "PhotoMetadata.c" +#line 2993 "PhotoMetadata.c" GeeList* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; GeeHashSet* _tmp20_ = NULL; @@ -3008,13 +3006,13 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _tmp21_ = prepped; #line 368 "/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 3012 "PhotoMetadata.c" +#line 3010 "PhotoMetadata.c" } #line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); #line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 3018 "PhotoMetadata.c" +#line 3016 "PhotoMetadata.c" } } } @@ -3026,17 +3024,17 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t _tmp25_ = _tmp24_; #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp25_ > 0) { -#line 3030 "PhotoMetadata.c" +#line 3028 "PhotoMetadata.c" GeeList* _tmp26_ = NULL; #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = list; #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = _tmp26_; -#line 3036 "PhotoMetadata.c" +#line 3034 "PhotoMetadata.c" } else { #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = NULL; -#line 3040 "PhotoMetadata.c" +#line 3038 "PhotoMetadata.c" } #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = _g_object_ref0 (_tmp22_); @@ -3050,7 +3048,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); #line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3054 "PhotoMetadata.c" +#line 3052 "PhotoMetadata.c" } @@ -3064,7 +3062,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** _tmp0_ = tags; #line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3068 "PhotoMetadata.c" +#line 3066 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -3076,14 +3074,14 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** tag_collection_length1 = _tmp0__length1; #line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3080 "PhotoMetadata.c" +#line 3078 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 382 "/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" tag = _tmp1_; -#line 3087 "PhotoMetadata.c" +#line 3085 "PhotoMetadata.c" { GeeList* values = NULL; const gchar* _tmp2_ = NULL; @@ -3100,7 +3098,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** _tmp5_ = values; #line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 3104 "PhotoMetadata.c" +#line 3102 "PhotoMetadata.c" GeeList* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; @@ -3112,11 +3110,11 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** _tmp8_ = _tmp7_; #line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp8_ > 0; -#line 3116 "PhotoMetadata.c" +#line 3114 "PhotoMetadata.c" } else { #line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 3120 "PhotoMetadata.c" +#line 3118 "PhotoMetadata.c" } #line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { @@ -3126,13 +3124,13 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** _g_free0 (tag); #line 385 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3130 "PhotoMetadata.c" +#line 3128 "PhotoMetadata.c" } #line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); #line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3136 "PhotoMetadata.c" +#line 3134 "PhotoMetadata.c" } } } @@ -3140,7 +3138,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** result = NULL; #line 388 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3144 "PhotoMetadata.c" +#line 3142 "PhotoMetadata.c" } @@ -3172,7 +3170,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch _tmp3_ = prepped; #line 393 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_ == NULL) { -#line 3176 "PhotoMetadata.c" +#line 3174 "PhotoMetadata.c" const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; #line 394 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -3185,7 +3183,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch _g_free0 (prepped); #line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 3189 "PhotoMetadata.c" +#line 3187 "PhotoMetadata.c" } #line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = self->priv->exiv2; @@ -3197,7 +3195,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch _tmp9_ = gexiv2_metadata_set_tag_string (_tmp6_, _tmp7_, _tmp8_); #line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp9_) { -#line 3201 "PhotoMetadata.c" +#line 3199 "PhotoMetadata.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; @@ -3210,11 +3208,11 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch #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 " \ "%s", _tmp10_, _tmp11_, _tmp12_); -#line 3213 "PhotoMetadata.c" +#line 3211 "PhotoMetadata.c" } #line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); -#line 3217 "PhotoMetadata.c" +#line 3215 "PhotoMetadata.c" } @@ -3233,7 +3231,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp0_ = tags; #line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3236 "PhotoMetadata.c" +#line 3234 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -3245,14 +3243,14 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i tag_collection_length1 = _tmp0__length1; #line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3248 "PhotoMetadata.c" +#line 3246 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 407 "/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" tag = _tmp1_; -#line 3255 "PhotoMetadata.c" +#line 3253 "PhotoMetadata.c" { gboolean _tmp2_ = FALSE; PhotoMetadataSetOption _tmp3_ = 0; @@ -3262,7 +3260,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i if (_tmp3_ == PHOTO_METADATA_SET_OPTION_ALL_DOMAINS) { #line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; -#line 3265 "PhotoMetadata.c" +#line 3263 "PhotoMetadata.c" } else { const gchar* _tmp4_ = NULL; MetadataDomain _tmp5_ = 0; @@ -3275,11 +3273,11 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp6_ = photo_metadata_has_domain (self, _tmp5_); #line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp6_; -#line 3278 "PhotoMetadata.c" +#line 3276 "PhotoMetadata.c" } #line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_) { -#line 3282 "PhotoMetadata.c" +#line 3280 "PhotoMetadata.c" PhotoMetadataSetGenericValue _tmp7_ = NULL; void* _tmp7__target = NULL; const gchar* _tmp8_ = NULL; @@ -3293,11 +3291,11 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp7_ (_tmp8_, _tmp7__target); #line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" written = TRUE; -#line 3296 "PhotoMetadata.c" +#line 3294 "PhotoMetadata.c" } #line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3300 "PhotoMetadata.c" +#line 3298 "PhotoMetadata.c" } } } @@ -3305,21 +3303,21 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp11_ = option; #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_ == PHOTO_METADATA_SET_OPTION_AT_LEAST_DEFAULT_DOMAIN) { -#line 3308 "PhotoMetadata.c" +#line 3306 "PhotoMetadata.c" gboolean _tmp12_ = FALSE; #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = written; #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = !_tmp12_; -#line 3314 "PhotoMetadata.c" +#line 3312 "PhotoMetadata.c" } else { #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; -#line 3318 "PhotoMetadata.c" +#line 3316 "PhotoMetadata.c" } #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 3322 "PhotoMetadata.c" +#line 3320 "PhotoMetadata.c" gchar** _tmp13_ = NULL; gint _tmp13__length1 = 0; #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -3328,15 +3326,15 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp13__length1 = tags_length1; #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp13__length1 > 0; -#line 3331 "PhotoMetadata.c" +#line 3329 "PhotoMetadata.c" } else { #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = FALSE; -#line 3335 "PhotoMetadata.c" +#line 3333 "PhotoMetadata.c" } #line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_) { -#line 3339 "PhotoMetadata.c" +#line 3337 "PhotoMetadata.c" MetadataDomain default_domain = 0; gchar** _tmp14_ = NULL; gint _tmp14__length1 = 0; @@ -3369,19 +3367,19 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp19_ = _tmp18_[0]; #line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ (_tmp19_, _tmp17__target); -#line 3372 "PhotoMetadata.c" +#line 3370 "PhotoMetadata.c" { gint ctr = 0; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = 1; -#line 3377 "PhotoMetadata.c" +#line 3375 "PhotoMetadata.c" { gboolean _tmp20_ = FALSE; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = TRUE; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 3384 "PhotoMetadata.c" +#line 3382 "PhotoMetadata.c" gint _tmp22_ = 0; gchar** _tmp23_ = NULL; gint _tmp23__length1 = 0; @@ -3393,13 +3391,13 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i MetadataDomain _tmp28_ = 0; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp20_) { -#line 3396 "PhotoMetadata.c" +#line 3394 "PhotoMetadata.c" gint _tmp21_ = 0; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = ctr; #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = _tmp21_ + 1; -#line 3402 "PhotoMetadata.c" +#line 3400 "PhotoMetadata.c" } #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = FALSE; @@ -3413,7 +3411,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i if (!(_tmp22_ < _tmp23__length1)) { #line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 3416 "PhotoMetadata.c" +#line 3414 "PhotoMetadata.c" } #line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = tags; @@ -3429,7 +3427,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp28_ = default_domain; #line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp27_ == _tmp28_) { -#line 3432 "PhotoMetadata.c" +#line 3430 "PhotoMetadata.c" PhotoMetadataSetGenericValue _tmp29_ = NULL; void* _tmp29__target = NULL; gchar** _tmp30_ = NULL; @@ -3450,7 +3448,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i _tmp32_ = _tmp30_[_tmp31_]; #line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ (_tmp32_, _tmp29__target); -#line 3453 "PhotoMetadata.c" +#line 3451 "PhotoMetadata.c" } } } @@ -3464,7 +3462,7 @@ static Block1Data* block1_data_ref (Block1Data* _data1_) { g_atomic_int_inc (&_data1_->_ref_count_); #line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data1_; -#line 3467 "PhotoMetadata.c" +#line 3465 "PhotoMetadata.c" } @@ -3473,7 +3471,7 @@ static void block1_data_unref (void * _userdata_) { _data1_ = (Block1Data*) _userdata_; #line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { -#line 3476 "PhotoMetadata.c" +#line 3474 "PhotoMetadata.c" PhotoMetadata* self; #line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data1_->self; @@ -3483,7 +3481,7 @@ static void block1_data_unref (void * _userdata_) { _media_metadata_unref0 (self); #line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block1Data, _data1_); -#line 3486 "PhotoMetadata.c" +#line 3484 "PhotoMetadata.c" } } @@ -3502,14 +3500,14 @@ static void __lambda5_ (Block1Data* _data1_, const gchar* tag) { _tmp1_ = _data1_->value; #line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, _tmp0_, _tmp1_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 3505 "PhotoMetadata.c" +#line 3503 "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" __lambda5_ (self, tag); -#line 3512 "PhotoMetadata.c" +#line 3510 "PhotoMetadata.c" } @@ -3550,7 +3548,7 @@ void photo_metadata_set_all_string (PhotoMetadata* self, gchar** tags, int tags_ block1_data_unref (_data1_); #line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_ = NULL; -#line 3553 "PhotoMetadata.c" +#line 3551 "PhotoMetadata.c" } @@ -3561,13 +3559,13 @@ static void _vala_array_add45 (gchar*** array, int* length, int* size, gchar* va *size = (*size) ? (2 * (*size)) : 4; #line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 3564 "PhotoMetadata.c" +#line 3562 "PhotoMetadata.c" } #line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[(*length)++] = value; #line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[*length] = NULL; -#line 3570 "PhotoMetadata.c" +#line 3568 "PhotoMetadata.c" } @@ -3578,13 +3576,13 @@ static void _vala_array_add46 (gchar*** array, int* length, int* size, gchar* va *size = (*size) ? (2 * (*size)) : 4; #line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 3581 "PhotoMetadata.c" +#line 3579 "PhotoMetadata.c" } #line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[(*length)++] = value; #line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[*length] = NULL; -#line 3587 "PhotoMetadata.c" +#line 3585 "PhotoMetadata.c" } @@ -3616,7 +3614,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, values_length1 = 0; #line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _values_size_ = values_length1; -#line 3619 "PhotoMetadata.c" +#line 3617 "PhotoMetadata.c" { GeeIterator* _value_it = NULL; GeeCollection* _tmp1_ = NULL; @@ -3629,7 +3627,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, _value_it = _tmp2_; #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 3632 "PhotoMetadata.c" +#line 3630 "PhotoMetadata.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; gchar* value = NULL; @@ -3647,7 +3645,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, if (!_tmp4_) { #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 3650 "PhotoMetadata.c" +#line 3648 "PhotoMetadata.c" } #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _value_it; @@ -3665,7 +3663,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, _tmp9_ = prepped; #line 436 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_ != NULL) { -#line 3668 "PhotoMetadata.c" +#line 3666 "PhotoMetadata.c" gchar** _tmp10_ = NULL; gint _tmp10__length1 = 0; const gchar* _tmp11_ = NULL; @@ -3680,7 +3678,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, _tmp12_ = g_strdup (_tmp11_); #line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_array_add45 (&values, &values_length1, &_values_size_, _tmp12_); -#line 3683 "PhotoMetadata.c" +#line 3681 "PhotoMetadata.c" } else { const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; @@ -3690,17 +3688,17 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, _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 3693 "PhotoMetadata.c" +#line 3691 "PhotoMetadata.c" } #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 3699 "PhotoMetadata.c" +#line 3697 "PhotoMetadata.c" } #line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_value_it); -#line 3703 "PhotoMetadata.c" +#line 3701 "PhotoMetadata.c" } #line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = values; @@ -3712,7 +3710,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); #line 443 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 3715 "PhotoMetadata.c" +#line 3713 "PhotoMetadata.c" } #line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = values; @@ -3732,7 +3730,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, _tmp20_ = gexiv2_metadata_set_tag_multiple (_tmp17_, _tmp18_, _tmp19_); #line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp20_) { -#line 3735 "PhotoMetadata.c" +#line 3733 "PhotoMetadata.c" gchar** _tmp21_ = NULL; gint _tmp21__length1 = 0; const gchar* _tmp22_ = NULL; @@ -3748,11 +3746,11 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, #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" \ " %s", _tmp21__length1, _tmp22_, _tmp23_); -#line 3750 "PhotoMetadata.c" +#line 3748 "PhotoMetadata.c" } #line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); -#line 3754 "PhotoMetadata.c" +#line 3752 "PhotoMetadata.c" } @@ -3761,7 +3759,7 @@ static Block2Data* block2_data_ref (Block2Data* _data2_) { g_atomic_int_inc (&_data2_->_ref_count_); #line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data2_; -#line 3763 "PhotoMetadata.c" +#line 3761 "PhotoMetadata.c" } @@ -3770,7 +3768,7 @@ static void block2_data_unref (void * _userdata_) { _data2_ = (Block2Data*) _userdata_; #line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) { -#line 3772 "PhotoMetadata.c" +#line 3770 "PhotoMetadata.c" PhotoMetadata* self; #line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data2_->self; @@ -3780,7 +3778,7 @@ static void block2_data_unref (void * _userdata_) { _media_metadata_unref0 (self); #line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block2Data, _data2_); -#line 3782 "PhotoMetadata.c" +#line 3780 "PhotoMetadata.c" } } @@ -3799,14 +3797,14 @@ static void __lambda6_ (Block2Data* _data2_, const gchar* tag) { _tmp1_ = _data2_->values; #line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string_multiple (self, _tmp0_, _tmp1_); -#line 3801 "PhotoMetadata.c" +#line 3799 "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" __lambda6_ (self, tag); -#line 3808 "PhotoMetadata.c" +#line 3806 "PhotoMetadata.c" } @@ -3847,7 +3845,7 @@ void photo_metadata_set_all_string_multiple (PhotoMetadata* self, gchar** tags, block2_data_unref (_data2_); #line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_ = NULL; -#line 3849 "PhotoMetadata.c" +#line 3847 "PhotoMetadata.c" } @@ -3877,11 +3875,11 @@ gboolean photo_metadata_get_long (PhotoMetadata* self, const gchar* tag, glong* if (value) { #line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3879 "PhotoMetadata.c" +#line 3877 "PhotoMetadata.c" } #line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3883 "PhotoMetadata.c" +#line 3881 "PhotoMetadata.c" } #line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = self->priv->exiv2; @@ -3897,11 +3895,11 @@ gboolean photo_metadata_get_long (PhotoMetadata* self, const gchar* tag, glong* if (value) { #line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3899 "PhotoMetadata.c" +#line 3897 "PhotoMetadata.c" } #line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3903 "PhotoMetadata.c" +#line 3901 "PhotoMetadata.c" } @@ -3916,7 +3914,7 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t _tmp0_ = tags; #line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3918 "PhotoMetadata.c" +#line 3916 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -3928,14 +3926,14 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t tag_collection_length1 = _tmp0__length1; #line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3930 "PhotoMetadata.c" +#line 3928 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 472 "/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" tag = _tmp1_; -#line 3937 "PhotoMetadata.c" +#line 3935 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; glong _tmp3_ = 0L; @@ -3956,15 +3954,15 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t if (value) { #line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3958 "PhotoMetadata.c" +#line 3956 "PhotoMetadata.c" } #line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3962 "PhotoMetadata.c" +#line 3960 "PhotoMetadata.c" } #line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3966 "PhotoMetadata.c" +#line 3964 "PhotoMetadata.c" } } } @@ -3976,11 +3974,11 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t if (value) { #line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3978 "PhotoMetadata.c" +#line 3976 "PhotoMetadata.c" } #line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3982 "PhotoMetadata.c" +#line 3980 "PhotoMetadata.c" } @@ -4003,7 +4001,7 @@ void photo_metadata_set_long (PhotoMetadata* self, const gchar* tag, glong value _tmp3_ = gexiv2_metadata_set_tag_long (_tmp0_, _tmp1_, _tmp2_); #line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp3_) { -#line 4005 "PhotoMetadata.c" +#line 4003 "PhotoMetadata.c" const gchar* _tmp4_ = NULL; glong _tmp5_ = 0L; const gchar* _tmp6_ = NULL; @@ -4016,7 +4014,7 @@ void photo_metadata_set_long (PhotoMetadata* self, const gchar* tag, glong value #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 %" \ "s", _tmp4_, _tmp5_, _tmp6_); -#line 4017 "PhotoMetadata.c" +#line 4015 "PhotoMetadata.c" } } @@ -4026,7 +4024,7 @@ static Block3Data* block3_data_ref (Block3Data* _data3_) { g_atomic_int_inc (&_data3_->_ref_count_); #line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data3_; -#line 4027 "PhotoMetadata.c" +#line 4025 "PhotoMetadata.c" } @@ -4035,7 +4033,7 @@ static void block3_data_unref (void * _userdata_) { _data3_ = (Block3Data*) _userdata_; #line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) { -#line 4036 "PhotoMetadata.c" +#line 4034 "PhotoMetadata.c" PhotoMetadata* self; #line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data3_->self; @@ -4043,7 +4041,7 @@ static void block3_data_unref (void * _userdata_) { _media_metadata_unref0 (self); #line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block3Data, _data3_); -#line 4044 "PhotoMetadata.c" +#line 4042 "PhotoMetadata.c" } } @@ -4062,14 +4060,14 @@ static void __lambda7_ (Block3Data* _data3_, const gchar* tag) { _tmp1_ = _data3_->value; #line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_long (self, _tmp0_, _tmp1_); -#line 4063 "PhotoMetadata.c" +#line 4061 "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" __lambda7_ (self, tag); -#line 4070 "PhotoMetadata.c" +#line 4068 "PhotoMetadata.c" } @@ -4103,7 +4101,7 @@ void photo_metadata_set_all_long (PhotoMetadata* self, gchar** tags, int tags_le block3_data_unref (_data3_); #line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_ = NULL; -#line 4104 "PhotoMetadata.c" +#line 4102 "PhotoMetadata.c" } @@ -4142,11 +4140,11 @@ gboolean photo_metadata_get_rational (PhotoMetadata* self, const gchar* tag, Met if (rational) { #line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4143 "PhotoMetadata.c" +#line 4141 "PhotoMetadata.c" } #line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4147 "PhotoMetadata.c" +#line 4145 "PhotoMetadata.c" } @@ -4161,7 +4159,7 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i _tmp0_ = tags; #line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 4162 "PhotoMetadata.c" +#line 4160 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -4173,14 +4171,14 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i tag_collection_length1 = _tmp0__length1; #line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 4174 "PhotoMetadata.c" +#line 4172 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 501 "/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" tag = _tmp1_; -#line 4181 "PhotoMetadata.c" +#line 4179 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; MetadataRational _tmp3_ = {0}; @@ -4201,15 +4199,15 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i if (rational) { #line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4202 "PhotoMetadata.c" +#line 4200 "PhotoMetadata.c" } #line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4206 "PhotoMetadata.c" +#line 4204 "PhotoMetadata.c" } #line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 4210 "PhotoMetadata.c" +#line 4208 "PhotoMetadata.c" } } } @@ -4221,11 +4219,11 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i if (rational) { #line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4222 "PhotoMetadata.c" +#line 4220 "PhotoMetadata.c" } #line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4226 "PhotoMetadata.c" +#line 4224 "PhotoMetadata.c" } @@ -4259,7 +4257,7 @@ void photo_metadata_set_rational (PhotoMetadata* self, const gchar* tag, Metadat _tmp6_ = gexiv2_metadata_set_exif_tag_rational (_tmp0_, _tmp1_, _tmp3_, _tmp5_); #line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp6_) { -#line 4260 "PhotoMetadata.c" +#line 4258 "PhotoMetadata.c" const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; @@ -4277,7 +4275,7 @@ void photo_metadata_set_rational (PhotoMetadata* self, const gchar* tag, Metadat "e %s", _tmp7_, _tmp9_, _tmp10_); #line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp9_); -#line 4277 "PhotoMetadata.c" +#line 4275 "PhotoMetadata.c" } } @@ -4287,7 +4285,7 @@ static Block4Data* block4_data_ref (Block4Data* _data4_) { g_atomic_int_inc (&_data4_->_ref_count_); #line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data4_; -#line 4287 "PhotoMetadata.c" +#line 4285 "PhotoMetadata.c" } @@ -4296,7 +4294,7 @@ static void block4_data_unref (void * _userdata_) { _data4_ = (Block4Data*) _userdata_; #line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) { -#line 4296 "PhotoMetadata.c" +#line 4294 "PhotoMetadata.c" PhotoMetadata* self; #line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data4_->self; @@ -4304,7 +4302,7 @@ static void block4_data_unref (void * _userdata_) { _media_metadata_unref0 (self); #line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block4Data, _data4_); -#line 4304 "PhotoMetadata.c" +#line 4302 "PhotoMetadata.c" } } @@ -4323,14 +4321,14 @@ static void __lambda8_ (Block4Data* _data4_, const gchar* tag) { _tmp1_ = _data4_->rational; #line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_rational (self, _tmp0_, &_tmp1_); -#line 4323 "PhotoMetadata.c" +#line 4321 "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" __lambda8_ (self, tag); -#line 4330 "PhotoMetadata.c" +#line 4328 "PhotoMetadata.c" } @@ -4366,7 +4364,7 @@ void photo_metadata_set_all_rational (PhotoMetadata* self, gchar** tags, int tag block4_data_unref (_data4_); #line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_ = NULL; -#line 4366 "PhotoMetadata.c" +#line 4364 "PhotoMetadata.c" } @@ -4397,7 +4395,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _g_free0 (value); #line 525 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4397 "PhotoMetadata.c" +#line 4395 "PhotoMetadata.c" } { const gchar* _tmp3_ = NULL; @@ -4410,7 +4408,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar switch (_tmp4_) { #line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 4410 "PhotoMetadata.c" +#line 4408 "PhotoMetadata.c" { MetadataDateTime* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; @@ -4424,7 +4422,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _tmp5_ = _tmp7_; #line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4424 "PhotoMetadata.c" +#line 4422 "PhotoMetadata.c" goto __catch24_g_error; } #line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -4439,11 +4437,11 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _g_free0 (value); #line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4439 "PhotoMetadata.c" +#line 4437 "PhotoMetadata.c" } #line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 4443 "PhotoMetadata.c" +#line 4441 "PhotoMetadata.c" { #line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; @@ -4451,12 +4449,12 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _g_free0 (value); #line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4451 "PhotoMetadata.c" +#line 4449 "PhotoMetadata.c" } default: #line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 4456 "PhotoMetadata.c" +#line 4454 "PhotoMetadata.c" { MetadataDateTime* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; @@ -4470,7 +4468,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _tmp9_ = _tmp11_; #line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4470 "PhotoMetadata.c" +#line 4468 "PhotoMetadata.c" goto __catch24_g_error; } #line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -4485,7 +4483,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _g_free0 (value); #line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4485 "PhotoMetadata.c" +#line 4483 "PhotoMetadata.c" } } } @@ -4519,7 +4517,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar _g_free0 (value); #line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4519 "PhotoMetadata.c" +#line 4517 "PhotoMetadata.c" } __finally24: #line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -4530,7 +4528,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar g_clear_error (&_inner_error_); #line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 4530 "PhotoMetadata.c" +#line 4528 "PhotoMetadata.c" } @@ -4544,7 +4542,7 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar _tmp0_ = tags; #line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 4544 "PhotoMetadata.c" +#line 4542 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -4556,14 +4554,14 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar tag_collection_length1 = _tmp0__length1; #line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 4556 "PhotoMetadata.c" +#line 4554 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 549 "/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" tag = _tmp1_; -#line 4563 "PhotoMetadata.c" +#line 4561 "PhotoMetadata.c" { MetadataDateTime* date_time = NULL; const gchar* _tmp2_ = NULL; @@ -4585,13 +4583,13 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar _g_free0 (tag); #line 552 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4585 "PhotoMetadata.c" +#line 4583 "PhotoMetadata.c" } #line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (date_time); #line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 4591 "PhotoMetadata.c" +#line 4589 "PhotoMetadata.c" } } } @@ -4599,7 +4597,7 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar result = NULL; #line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4599 "PhotoMetadata.c" +#line 4597 "PhotoMetadata.c" } @@ -4620,7 +4618,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada switch (_tmp1_) { #line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 4620 "PhotoMetadata.c" +#line 4618 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; MetadataDateTime* _tmp3_ = NULL; @@ -4640,11 +4638,11 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada _g_free0 (_tmp5_); #line 562 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4640 "PhotoMetadata.c" +#line 4638 "PhotoMetadata.c" } #line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 4644 "PhotoMetadata.c" +#line 4642 "PhotoMetadata.c" { const gchar* _tmp6_ = NULL; MetadataDateTime* _tmp7_ = NULL; @@ -4664,12 +4662,12 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada _g_free0 (_tmp9_); #line 566 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4664 "PhotoMetadata.c" +#line 4662 "PhotoMetadata.c" } default: #line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 4669 "PhotoMetadata.c" +#line 4667 "PhotoMetadata.c" { const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; @@ -4691,7 +4689,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada "supported metadata domain %s", _tmp10_, _tmp11_, (_tmp14_ != NULL) ? _tmp14_->value_name : NULL); #line 573 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4690 "PhotoMetadata.c" +#line 4688 "PhotoMetadata.c" } } } @@ -4700,7 +4698,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada static gpointer _metadata_date_time_ref0 (gpointer self) { #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? metadata_date_time_ref (self) : NULL; -#line 4699 "PhotoMetadata.c" +#line 4697 "PhotoMetadata.c" } @@ -4709,7 +4707,7 @@ static Block5Data* block5_data_ref (Block5Data* _data5_) { g_atomic_int_inc (&_data5_->_ref_count_); #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data5_; -#line 4708 "PhotoMetadata.c" +#line 4706 "PhotoMetadata.c" } @@ -4718,7 +4716,7 @@ static void block5_data_unref (void * _userdata_) { _data5_ = (Block5Data*) _userdata_; #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) { -#line 4717 "PhotoMetadata.c" +#line 4715 "PhotoMetadata.c" PhotoMetadata* self; #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data5_->self; @@ -4728,7 +4726,7 @@ static void block5_data_unref (void * _userdata_) { _media_metadata_unref0 (self); #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block5Data, _data5_); -#line 4727 "PhotoMetadata.c" +#line 4725 "PhotoMetadata.c" } } @@ -4747,14 +4745,14 @@ static void __lambda9_ (Block5Data* _data5_, const gchar* tag) { _tmp1_ = _data5_->date_time; #line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_date_time (self, _tmp0_, _tmp1_); -#line 4746 "PhotoMetadata.c" +#line 4744 "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" __lambda9_ (self, tag); -#line 4753 "PhotoMetadata.c" +#line 4751 "PhotoMetadata.c" } @@ -4795,7 +4793,7 @@ void photo_metadata_set_all_date_time (PhotoMetadata* self, gchar** tags, int ta block5_data_unref (_data5_); #line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_ = NULL; -#line 4794 "PhotoMetadata.c" +#line 4792 "PhotoMetadata.c" } @@ -4829,7 +4827,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ _tmp0_ = self->priv->exif; #line 583 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ == NULL) { -#line 4828 "PhotoMetadata.c" +#line 4826 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; #line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -4840,13 +4838,13 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ if (result_length1) { #line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp1__length1; -#line 4839 "PhotoMetadata.c" +#line 4837 "PhotoMetadata.c" } #line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; #line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4845 "PhotoMetadata.c" +#line 4843 "PhotoMetadata.c" } #line 588 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = self->priv->exif; @@ -4864,7 +4862,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ _tmp6_ = include_preview; #line 590 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp6_) { -#line 4863 "PhotoMetadata.c" +#line 4861 "PhotoMetadata.c" ExifData* _tmp7_ = NULL; ExifData* _tmp8_ = NULL; #line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -4875,7 +4873,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ _tmp8_ = self->priv->exif; #line 592 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_->size = (guint) 0; -#line 4874 "PhotoMetadata.c" +#line 4872 "PhotoMetadata.c" } #line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = NULL; @@ -4895,21 +4893,21 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ _tmp11_ = saved_size; #line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_ > ((guint) 0)) { -#line 4894 "PhotoMetadata.c" +#line 4892 "PhotoMetadata.c" guchar* _tmp12_ = NULL; #line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = saved_data; #line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = _tmp12_ != NULL; -#line 4900 "PhotoMetadata.c" +#line 4898 "PhotoMetadata.c" } else { #line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; -#line 4904 "PhotoMetadata.c" +#line 4902 "PhotoMetadata.c" } #line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 4908 "PhotoMetadata.c" +#line 4906 "PhotoMetadata.c" guint _tmp13_ = 0U; guint8* _tmp14_ = NULL; guint8* _tmp15_ = NULL; @@ -4951,7 +4949,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ exif_mem_free (_tmp19_, _tmp20_); #line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_mem_unref0 (_tmp19_); -#line 4950 "PhotoMetadata.c" +#line 4948 "PhotoMetadata.c" } #line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = self->priv->exif; @@ -4973,20 +4971,20 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ if (result_length1) { #line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp25__length1; -#line 4972 "PhotoMetadata.c" +#line 4970 "PhotoMetadata.c" } #line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp25_; #line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4978 "PhotoMetadata.c" +#line 4976 "PhotoMetadata.c" } static guint8* _vala_array_dup5 (guint8* self, int length) { #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 4985 "PhotoMetadata.c" +#line 4983 "PhotoMetadata.c" } @@ -4999,7 +4997,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le gint _tmp0__length1 = 0; gint __tmp0__size_ = 0; GExiv2Metadata* _tmp1_ = NULL; - guchar* _tmp2_ = NULL; + guint8* _tmp2_ = NULL; gint _tmp3_ = 0; gboolean _tmp4_ = FALSE; guint8* _tmp6_ = NULL; @@ -5022,7 +5020,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le _buffer_size_ = buffer_length1; #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 5021 "PhotoMetadata.c" +#line 5019 "PhotoMetadata.c" guchar* _tmp5_ = NULL; gint _tmp5__length1 = 0; #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5035,7 +5033,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le _tmp0__length1 = _tmp5__length1; #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __tmp0__size_ = _tmp0__length1; -#line 5034 "PhotoMetadata.c" +#line 5032 "PhotoMetadata.c" } else { #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = NULL; @@ -5043,7 +5041,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le _tmp0__length1 = 0; #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __tmp0__size_ = _tmp0__length1; -#line 5042 "PhotoMetadata.c" +#line 5040 "PhotoMetadata.c" } #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); @@ -5057,7 +5055,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le if (result_length1) { #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp7__length1; -#line 5056 "PhotoMetadata.c" +#line 5054 "PhotoMetadata.c" } #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp7_; @@ -5065,7 +5063,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le buffer = (g_free (buffer), NULL); #line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5064 "PhotoMetadata.c" +#line 5062 "PhotoMetadata.c" } @@ -5098,7 +5096,7 @@ guint photo_metadata_get_preview_count (PhotoMetadata* self) { _tmp4__length1 = props_length1; #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 5097 "PhotoMetadata.c" +#line 5095 "PhotoMetadata.c" GExiv2PreviewProperties** _tmp5_ = NULL; gint _tmp5__length1 = 0; #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5107,17 +5105,17 @@ guint photo_metadata_get_preview_count (PhotoMetadata* self) { _tmp5__length1 = props_length1; #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5__length1; -#line 5106 "PhotoMetadata.c" +#line 5104 "PhotoMetadata.c" } else { #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = 0; -#line 5110 "PhotoMetadata.c" +#line 5108 "PhotoMetadata.c" } #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = (guint) _tmp3_; #line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5116 "PhotoMetadata.c" +#line 5114 "PhotoMetadata.c" } @@ -5159,7 +5157,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) { if (_tmp4_ == NULL) { #line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 5158 "PhotoMetadata.c" +#line 5156 "PhotoMetadata.c" } else { GExiv2PreviewProperties** _tmp5_ = NULL; gint _tmp5__length1 = 0; @@ -5172,7 +5170,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) { _tmp6_ = number; #line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = ((guint) _tmp5__length1) <= _tmp6_; -#line 5171 "PhotoMetadata.c" +#line 5169 "PhotoMetadata.c" } #line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { @@ -5180,7 +5178,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) { result = NULL; #line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5179 "PhotoMetadata.c" +#line 5177 "PhotoMetadata.c" } #line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->priv->source_name; @@ -5200,7 +5198,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) { result = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_PREVIEW, PhotoPreview); #line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5199 "PhotoMetadata.c" +#line 5197 "PhotoMetadata.c" } @@ -5217,7 +5215,7 @@ void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) { _tmp1_ = self->priv->exif; #line 638 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_ != NULL) { -#line 5216 "PhotoMetadata.c" +#line 5214 "PhotoMetadata.c" ExifMem* _tmp2_ = NULL; ExifMem* _tmp3_ = NULL; ExifData* _tmp4_ = NULL; @@ -5244,7 +5242,7 @@ void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) { _tmp7_ = self->priv->exif; #line 641 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_->size = (guint) 0; -#line 5243 "PhotoMetadata.c" +#line 5241 "PhotoMetadata.c" } } @@ -5262,7 +5260,7 @@ void photo_metadata_remove_tag (PhotoMetadata* self, const gchar* tag) { _tmp1_ = tag; #line 646 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear_tag (_tmp0_, _tmp1_); -#line 5261 "PhotoMetadata.c" +#line 5259 "PhotoMetadata.c" } @@ -5275,7 +5273,7 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len _tmp0_ = tags; #line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 5274 "PhotoMetadata.c" +#line 5272 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -5287,14 +5285,14 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len tag_collection_length1 = _tmp0__length1; #line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 5286 "PhotoMetadata.c" +#line 5284 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 650 "/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" tag = _tmp1_; -#line 5293 "PhotoMetadata.c" +#line 5291 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; #line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5303,7 +5301,7 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len photo_metadata_remove_tag (self, _tmp2_); #line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 5302 "PhotoMetadata.c" +#line 5300 "PhotoMetadata.c" } } } @@ -5320,7 +5318,7 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) { switch (_tmp0_) { #line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 5319 "PhotoMetadata.c" +#line 5317 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; #line 657 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5329,11 +5327,11 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) { gexiv2_metadata_clear_exif (_tmp1_); #line 658 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5328 "PhotoMetadata.c" +#line 5326 "PhotoMetadata.c" } #line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 5332 "PhotoMetadata.c" +#line 5330 "PhotoMetadata.c" { GExiv2Metadata* _tmp2_ = NULL; #line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5342,11 +5340,11 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) { gexiv2_metadata_clear_xmp (_tmp2_); #line 662 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5341 "PhotoMetadata.c" +#line 5339 "PhotoMetadata.c" } #line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 5345 "PhotoMetadata.c" +#line 5343 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; #line 665 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5355,12 +5353,12 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) { gexiv2_metadata_clear_iptc (_tmp3_); #line 666 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5354 "PhotoMetadata.c" +#line 5352 "PhotoMetadata.c" } default: #line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5359 "PhotoMetadata.c" +#line 5357 "PhotoMetadata.c" } } @@ -5373,7 +5371,7 @@ void photo_metadata_clear (PhotoMetadata* self) { _tmp0_ = self->priv->exiv2; #line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear (_tmp0_); -#line 5372 "PhotoMetadata.c" +#line 5370 "PhotoMetadata.c" } @@ -5394,7 +5392,7 @@ MetadataDateTime* photo_metadata_get_modification_date_time (PhotoMetadata* self result = _tmp1_; #line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5393 "PhotoMetadata.c" +#line 5391 "PhotoMetadata.c" } @@ -5408,7 +5406,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat _tmp0_ = date_time; #line 686 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5407 "PhotoMetadata.c" +#line 5405 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; @@ -5423,7 +5421,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat _tmp3_ = option; #line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5422 "PhotoMetadata.c" +#line 5420 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -5433,7 +5431,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat _tmp4__length1 = photo_metadata_DATE_TIME_TAGS_length1; #line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5432 "PhotoMetadata.c" +#line 5430 "PhotoMetadata.c" } } @@ -5455,7 +5453,7 @@ MetadataDateTime* photo_metadata_get_exposure_date_time (PhotoMetadata* self) { result = _tmp1_; #line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5454 "PhotoMetadata.c" +#line 5452 "PhotoMetadata.c" } @@ -5469,7 +5467,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim _tmp0_ = date_time; #line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5468 "PhotoMetadata.c" +#line 5466 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; @@ -5484,7 +5482,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim _tmp3_ = option; #line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5483 "PhotoMetadata.c" +#line 5481 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -5494,7 +5492,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim _tmp4__length1 = photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1; #line 710 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5493 "PhotoMetadata.c" +#line 5491 "PhotoMetadata.c" } } @@ -5516,7 +5514,7 @@ MetadataDateTime* photo_metadata_get_digitized_date_time (PhotoMetadata* self) { result = _tmp1_; #line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5515 "PhotoMetadata.c" +#line 5513 "PhotoMetadata.c" } @@ -5530,7 +5528,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi _tmp0_ = date_time; #line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5529 "PhotoMetadata.c" +#line 5527 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; @@ -5545,7 +5543,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi _tmp3_ = option; #line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5544 "PhotoMetadata.c" +#line 5542 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -5555,7 +5553,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi _tmp4__length1 = photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1; #line 727 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5554 "PhotoMetadata.c" +#line 5552 "PhotoMetadata.c" } } @@ -5576,7 +5574,7 @@ static MetadataDateTime* photo_metadata_real_get_creation_date_time (MediaMetada _tmp1_ = creation; #line 732 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_ == NULL) { -#line 5575 "PhotoMetadata.c" +#line 5573 "PhotoMetadata.c" MetadataDateTime* _tmp2_ = NULL; #line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_digitized_date_time (self); @@ -5584,20 +5582,20 @@ static MetadataDateTime* photo_metadata_real_get_creation_date_time (MediaMetada _metadata_date_time_unref0 (creation); #line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" creation = _tmp2_; -#line 5583 "PhotoMetadata.c" +#line 5581 "PhotoMetadata.c" } #line 735 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = creation; #line 735 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5589 "PhotoMetadata.c" +#line 5587 "PhotoMetadata.c" } static gpointer _dimensions_dup0 (gpointer self) { #line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? dimensions_dup (self) : NULL; -#line 5596 "PhotoMetadata.c" +#line 5594 "PhotoMetadata.c" } @@ -5619,19 +5617,19 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { _tmp1__length1 = photo_metadata_HEIGHT_TAGS_length1; #line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp0__length1 == _tmp1__length1, "WIDTH_TAGS.length == HEIGHT_TAGS.length"); -#line 5618 "PhotoMetadata.c" +#line 5616 "PhotoMetadata.c" { gint ctr = 0; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = 0; -#line 5623 "PhotoMetadata.c" +#line 5621 "PhotoMetadata.c" { gboolean _tmp2_ = FALSE; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 5630 "PhotoMetadata.c" +#line 5628 "PhotoMetadata.c" gint _tmp4_ = 0; gchar** _tmp5_ = NULL; gint _tmp5__length1 = 0; @@ -5655,13 +5653,13 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { Dimensions* _tmp19_ = NULL; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp2_) { -#line 5654 "PhotoMetadata.c" +#line 5652 "PhotoMetadata.c" gint _tmp3_ = 0; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = ctr; #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = _tmp3_ + 1; -#line 5660 "PhotoMetadata.c" +#line 5658 "PhotoMetadata.c" } #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = FALSE; @@ -5675,7 +5673,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { if (!(_tmp4_ < _tmp5__length1)) { #line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5674 "PhotoMetadata.c" +#line 5672 "PhotoMetadata.c" } #line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_WIDTH_TAGS; @@ -5693,7 +5691,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { if (!_tmp10_) { #line 760 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 5692 "PhotoMetadata.c" +#line 5690 "PhotoMetadata.c" } #line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = photo_metadata_HEIGHT_TAGS; @@ -5711,7 +5709,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { if (!_tmp15_) { #line 764 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 5710 "PhotoMetadata.c" +#line 5708 "PhotoMetadata.c" } #line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = width; @@ -5725,7 +5723,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { result = _tmp19_; #line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5724 "PhotoMetadata.c" +#line 5722 "PhotoMetadata.c" } } } @@ -5733,7 +5731,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { result = NULL; #line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5732 "PhotoMetadata.c" +#line 5730 "PhotoMetadata.c" } @@ -5745,7 +5743,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim, _tmp0_ = dim; #line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5744 "PhotoMetadata.c" +#line 5742 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; Dimensions* _tmp2_ = NULL; @@ -5780,7 +5778,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim, _tmp8_ = option; #line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_long (self, _tmp5_, _tmp5__length1, (glong) _tmp7_, _tmp8_); -#line 5779 "PhotoMetadata.c" +#line 5777 "PhotoMetadata.c" } else { gchar** _tmp9_ = NULL; gint _tmp9__length1 = 0; @@ -5798,7 +5796,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim, _tmp10__length1 = photo_metadata_HEIGHT_TAGS_length1; #line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp10_, _tmp10__length1); -#line 5797 "PhotoMetadata.c" +#line 5795 "PhotoMetadata.c" } } @@ -5808,21 +5806,21 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5821 "PhotoMetadata.c" +#line 5819 "PhotoMetadata.c" } @@ -5830,19 +5828,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5841 "PhotoMetadata.c" +#line 5839 "PhotoMetadata.c" } @@ -5871,7 +5869,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp1_ = photo_metadata_has_tag (self, PHOTO_METADATA_IPHOTO_TITLE_TAG); #line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_) { -#line 5870 "PhotoMetadata.c" +#line 5868 "PhotoMetadata.c" GeeList* _tmp2_ = NULL; #line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_string_multiple (self, PHOTO_METADATA_IPHOTO_TITLE_TAG); @@ -5879,7 +5877,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _g_object_unref0 (_tmp0_); #line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = _tmp2_; -#line 5878 "PhotoMetadata.c" +#line 5876 "PhotoMetadata.c" } else { gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -5894,7 +5892,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _g_object_unref0 (_tmp0_); #line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = _tmp4_; -#line 5893 "PhotoMetadata.c" +#line 5891 "PhotoMetadata.c" } #line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _g_object_ref0 (_tmp0_); @@ -5904,7 +5902,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp8_ = titles; #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp8_ != NULL) { -#line 5903 "PhotoMetadata.c" +#line 5901 "PhotoMetadata.c" GeeList* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; @@ -5916,15 +5914,15 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp11_ = _tmp10_; #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp11_ > 0; -#line 5915 "PhotoMetadata.c" +#line 5913 "PhotoMetadata.c" } else { #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = FALSE; -#line 5919 "PhotoMetadata.c" +#line 5917 "PhotoMetadata.c" } #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp7_) { -#line 5923 "PhotoMetadata.c" +#line 5921 "PhotoMetadata.c" GeeList* _tmp12_ = NULL; gpointer _tmp13_ = NULL; #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5935,13 +5933,13 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _g_free0 (_tmp6_); #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = (gchar*) _tmp13_; -#line 5934 "PhotoMetadata.c" +#line 5932 "PhotoMetadata.c" } else { #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp6_); #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = NULL; -#line 5940 "PhotoMetadata.c" +#line 5938 "PhotoMetadata.c" } #line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_strdup (_tmp6_); @@ -5951,7 +5949,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp15_ = title; #line 829 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp15_ != NULL) { -#line 5950 "PhotoMetadata.c" +#line 5948 "PhotoMetadata.c" const gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; #line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5962,7 +5960,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _g_free0 (title); #line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" title = _tmp17_; -#line 5961 "PhotoMetadata.c" +#line 5959 "PhotoMetadata.c" } #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = title; @@ -5970,7 +5968,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp22_ = is_string_empty (_tmp21_); #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp22_) { -#line 5969 "PhotoMetadata.c" +#line 5967 "PhotoMetadata.c" const gchar* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5979,15 +5977,15 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp24_ = string_contains (_tmp23_, "\n"); #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = !_tmp24_; -#line 5978 "PhotoMetadata.c" +#line 5976 "PhotoMetadata.c" } else { #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = FALSE; -#line 5982 "PhotoMetadata.c" +#line 5980 "PhotoMetadata.c" } #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp20_) { -#line 5986 "PhotoMetadata.c" +#line 5984 "PhotoMetadata.c" const gchar* _tmp25_ = NULL; gboolean _tmp26_ = FALSE; #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -5996,25 +5994,25 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _tmp26_ = string_contains (_tmp25_, "\r"); #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = !_tmp26_; -#line 5995 "PhotoMetadata.c" +#line 5993 "PhotoMetadata.c" } else { #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = FALSE; -#line 5999 "PhotoMetadata.c" +#line 5997 "PhotoMetadata.c" } #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp19_) { -#line 6003 "PhotoMetadata.c" +#line 6001 "PhotoMetadata.c" const gchar* _tmp27_ = NULL; #line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = title; #line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = _tmp27_; -#line 6009 "PhotoMetadata.c" +#line 6007 "PhotoMetadata.c" } else { #line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = NULL; -#line 6013 "PhotoMetadata.c" +#line 6011 "PhotoMetadata.c" } #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = g_strdup (_tmp18_); @@ -6030,7 +6028,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { _g_object_unref0 (_tmp0_); #line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6029 "PhotoMetadata.c" +#line 6027 "PhotoMetadata.c" } @@ -6045,19 +6043,19 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet _tmp1_ = is_string_empty (_tmp0_); #line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 6044 "PhotoMetadata.c" +#line 6042 "PhotoMetadata.c" gboolean _tmp2_ = FALSE; #line 839 "/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" if (_tmp2_) { -#line 6050 "PhotoMetadata.c" +#line 6048 "PhotoMetadata.c" const gchar* _tmp3_ = NULL; #line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = title; #line 840 "/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 6056 "PhotoMetadata.c" +#line 6054 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -6073,7 +6071,7 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet _tmp6_ = option; #line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_string (self, _tmp4_, _tmp4__length1, _tmp5_, _tmp6_); -#line 6072 "PhotoMetadata.c" +#line 6070 "PhotoMetadata.c" } } else { gchar** _tmp7_ = NULL; @@ -6084,7 +6082,7 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet _tmp7__length1 = photo_metadata_STANDARD_TITLE_TAGS_length1; #line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp7_, _tmp7__length1); -#line 6083 "PhotoMetadata.c" +#line 6081 "PhotoMetadata.c" } } @@ -6101,7 +6099,7 @@ static gchar* photo_metadata_real_get_comment (MediaMetadata* base) { result = _tmp0_; #line 849 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6100 "PhotoMetadata.c" +#line 6098 "PhotoMetadata.c" } @@ -6116,17 +6114,17 @@ void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment) { _tmp1_ = is_string_empty (_tmp0_); #line 853 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 6115 "PhotoMetadata.c" +#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 6121 "PhotoMetadata.c" +#line 6119 "PhotoMetadata.c" } else { #line 856 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, "Exif.Photo.UserComment"); -#line 6125 "PhotoMetadata.c" +#line 6123 "PhotoMetadata.c" } } @@ -6148,7 +6146,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _tmp0_ = photo_metadata_KEYWORD_TAGS; #line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_KEYWORD_TAGS_length1; -#line 6147 "PhotoMetadata.c" +#line 6145 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; @@ -6160,14 +6158,14 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa tag_collection_length1 = _tmp0__length1; #line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 6159 "PhotoMetadata.c" +#line 6157 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; #line 874 "/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" tag = _tmp1_; -#line 6166 "PhotoMetadata.c" +#line 6164 "PhotoMetadata.c" { GeeCollection* values = NULL; const gchar* _tmp2_ = NULL; @@ -6184,7 +6182,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _tmp5_ = values; #line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 6183 "PhotoMetadata.c" +#line 6181 "PhotoMetadata.c" GeeCollection* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; @@ -6196,21 +6194,21 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _tmp8_ = _tmp7_; #line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp8_ > 0; -#line 6195 "PhotoMetadata.c" +#line 6193 "PhotoMetadata.c" } else { #line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 6199 "PhotoMetadata.c" +#line 6197 "PhotoMetadata.c" } #line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 6203 "PhotoMetadata.c" +#line 6201 "PhotoMetadata.c" GeeSet* _tmp9_ = NULL; #line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = keywords; #line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_ == NULL) { -#line 6209 "PhotoMetadata.c" +#line 6207 "PhotoMetadata.c" GCompareDataFunc _tmp10_ = NULL; void* _tmp10__target = NULL; GDestroyNotify _tmp10__target_destroy_notify = NULL; @@ -6229,7 +6227,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _g_object_unref0 (keywords); #line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" keywords = _tmp11_; -#line 6228 "PhotoMetadata.c" +#line 6226 "PhotoMetadata.c" } { GeeIterator* _current_value_it = NULL; @@ -6243,7 +6241,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _current_value_it = _tmp13_; #line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6242 "PhotoMetadata.c" +#line 6240 "PhotoMetadata.c" GeeIterator* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; gchar* current_value = NULL; @@ -6261,7 +6259,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa if (!_tmp15_) { #line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6260 "PhotoMetadata.c" +#line 6258 "PhotoMetadata.c" } #line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = _current_value_it; @@ -6283,18 +6281,18 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _g_free0 (_tmp21_); #line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_value); -#line 6282 "PhotoMetadata.c" +#line 6280 "PhotoMetadata.c" } #line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_current_value_it); -#line 6286 "PhotoMetadata.c" +#line 6284 "PhotoMetadata.c" } } #line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); #line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 6293 "PhotoMetadata.c" +#line 6291 "PhotoMetadata.c" } } } @@ -6302,7 +6300,7 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _tmp24_ = keywords; #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp24_ != NULL) { -#line 6301 "PhotoMetadata.c" +#line 6299 "PhotoMetadata.c" GeeSet* _tmp25_ = NULL; gint _tmp26_ = 0; gint _tmp27_ = 0; @@ -6314,25 +6312,25 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa _tmp27_ = _tmp26_; #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = _tmp27_ > 0; -#line 6313 "PhotoMetadata.c" +#line 6311 "PhotoMetadata.c" } else { #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = FALSE; -#line 6317 "PhotoMetadata.c" +#line 6315 "PhotoMetadata.c" } #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp23_) { -#line 6321 "PhotoMetadata.c" +#line 6319 "PhotoMetadata.c" GeeSet* _tmp28_ = NULL; #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = keywords; #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = _tmp28_; -#line 6327 "PhotoMetadata.c" +#line 6325 "PhotoMetadata.c" } else { #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = NULL; -#line 6331 "PhotoMetadata.c" +#line 6329 "PhotoMetadata.c" } #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = _g_object_ref0 (_tmp22_); @@ -6350,27 +6348,27 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa compare_func_target_destroy_notify = NULL; #line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6349 "PhotoMetadata.c" +#line 6347 "PhotoMetadata.c" } static gpointer _hierarchical_keyword_field_ref0 (gpointer self) { #line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? hierarchical_keyword_field_ref (self) : NULL; -#line 6356 "PhotoMetadata.c" +#line 6354 "PhotoMetadata.c" } static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); -#line 6369 "PhotoMetadata.c" +#line 6367 "PhotoMetadata.c" { GRegex* regex = NULL; const gchar* _tmp0_ = NULL; @@ -6383,100 +6381,100 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 6400 "PhotoMetadata.c" +#line 6398 "PhotoMetadata.c" goto __catch25_g_regex_error; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6409 "PhotoMetadata.c" +#line 6407 "PhotoMetadata.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 6425 "PhotoMetadata.c" +#line 6423 "PhotoMetadata.c" goto __catch25_g_regex_error; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6436 "PhotoMetadata.c" +#line 6434 "PhotoMetadata.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6450 "PhotoMetadata.c" +#line 6448 "PhotoMetadata.c" } goto __finally25; __catch25_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 6464 "PhotoMetadata.c" +#line 6462 "PhotoMetadata.c" } __finally25: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6475 "PhotoMetadata.c" +#line 6473 "PhotoMetadata.c" } } @@ -6488,39 +6486,39 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 6499 "PhotoMetadata.c" +#line 6497 "PhotoMetadata.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6507 "PhotoMetadata.c" +#line 6505 "PhotoMetadata.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6519 "PhotoMetadata.c" +#line 6517 "PhotoMetadata.c" } } @@ -6538,114 +6536,114 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 6543 "PhotoMetadata.c" +#line 6541 "PhotoMetadata.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 6549 "PhotoMetadata.c" +#line 6547 "PhotoMetadata.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 6553 "PhotoMetadata.c" +#line 6551 "PhotoMetadata.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 6557 "PhotoMetadata.c" +#line 6555 "PhotoMetadata.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 6569 "PhotoMetadata.c" +#line 6567 "PhotoMetadata.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 6579 "PhotoMetadata.c" +#line 6577 "PhotoMetadata.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 6585 "PhotoMetadata.c" +#line 6583 "PhotoMetadata.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 6599 "PhotoMetadata.c" +#line 6597 "PhotoMetadata.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 6609 "PhotoMetadata.c" +#line 6607 "PhotoMetadata.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 6615 "PhotoMetadata.c" +#line 6613 "PhotoMetadata.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 6624 "PhotoMetadata.c" +#line 6622 "PhotoMetadata.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6644 "PhotoMetadata.c" +#line 6642 "PhotoMetadata.c" } @@ -6663,7 +6661,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; #line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 6662 "PhotoMetadata.c" +#line 6660 "PhotoMetadata.c" { HierarchicalKeywordField** current_field_collection = NULL; gint current_field_collection_length1 = 0; @@ -6675,14 +6673,14 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se current_field_collection_length1 = _tmp0__length1; #line 889 "/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 6674 "PhotoMetadata.c" +#line 6672 "PhotoMetadata.c" HierarchicalKeywordField* _tmp1_ = NULL; HierarchicalKeywordField* current_field = NULL; #line 889 "/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" current_field = _tmp1_; -#line 6681 "PhotoMetadata.c" +#line 6679 "PhotoMetadata.c" { HierarchicalKeywordField* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; @@ -6694,7 +6692,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se photo_metadata_remove_tag (self, _tmp3_); #line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (current_field); -#line 6693 "PhotoMetadata.c" +#line 6691 "PhotoMetadata.c" } } } @@ -6704,13 +6702,13 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se if (_tmp4_ == NULL) { #line 893 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 6703 "PhotoMetadata.c" +#line 6701 "PhotoMetadata.c" } #line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; #line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 6709 "PhotoMetadata.c" +#line 6707 "PhotoMetadata.c" { HierarchicalKeywordField** current_field_collection = NULL; gint current_field_collection_length1 = 0; @@ -6722,14 +6720,14 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se current_field_collection_length1 = _tmp5__length1; #line 895 "/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 6721 "PhotoMetadata.c" +#line 6719 "PhotoMetadata.c" HierarchicalKeywordField* _tmp6_ = NULL; HierarchicalKeywordField* current_field = NULL; #line 895 "/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" current_field = _tmp6_; -#line 6728 "PhotoMetadata.c" +#line 6726 "PhotoMetadata.c" { HierarchicalKeywordField* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; @@ -6748,13 +6746,13 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _hierarchical_keyword_field_unref0 (current_field); #line 897 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 6747 "PhotoMetadata.c" +#line 6745 "PhotoMetadata.c" } #line 899 "/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" writeable_set = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_SET, GeeSet); -#line 6753 "PhotoMetadata.c" +#line 6751 "PhotoMetadata.c" { GeeIterator* _current_path_it = NULL; HierarchicalTagIndex* _tmp10_ = NULL; @@ -6778,7 +6776,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _current_path_it = _tmp14_; #line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6777 "PhotoMetadata.c" +#line 6775 "PhotoMetadata.c" GeeIterator* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gchar* current_path = NULL; @@ -6801,7 +6799,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se if (!_tmp16_) { #line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6800 "PhotoMetadata.c" +#line 6798 "PhotoMetadata.c" } #line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = _current_path_it; @@ -6825,7 +6823,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _tmp24_ = _tmp23_->wants_leading_separator; #line 904 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp24_) { -#line 6824 "PhotoMetadata.c" +#line 6822 "PhotoMetadata.c" const gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; #line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -6836,7 +6834,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _g_free0 (writeable_path); #line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" writeable_path = _tmp26_; -#line 6835 "PhotoMetadata.c" +#line 6833 "PhotoMetadata.c" } #line 907 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = writeable_set; @@ -6848,11 +6846,11 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _g_free0 (writeable_path); #line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_path); -#line 6847 "PhotoMetadata.c" +#line 6845 "PhotoMetadata.c" } #line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_current_path_it); -#line 6851 "PhotoMetadata.c" +#line 6849 "PhotoMetadata.c" } #line 910 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = current_field; @@ -6866,7 +6864,7 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se _g_object_unref0 (writeable_set); #line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (current_field); -#line 6865 "PhotoMetadata.c" +#line 6863 "PhotoMetadata.c" } } } @@ -6896,7 +6894,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _tmp2_ = keywords; #line 918 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ != NULL) { -#line 6895 "PhotoMetadata.c" +#line 6893 "PhotoMetadata.c" GeeSet* _tmp24_ = NULL; HierarchicalTagIndex* _tmp25_ = NULL; GeeCollection* _tmp26_ = NULL; @@ -6913,7 +6911,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _keyword_it = _tmp4_; #line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6912 "PhotoMetadata.c" +#line 6910 "PhotoMetadata.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; gchar* keyword = NULL; @@ -6929,7 +6927,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, if (!_tmp6_) { #line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6928 "PhotoMetadata.c" +#line 6926 "PhotoMetadata.c" } #line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _keyword_it; @@ -6943,7 +6941,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _tmp10_ = g_str_has_prefix (_tmp9_, TAG_PATH_SEPARATOR_STRING); #line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 6942 "PhotoMetadata.c" +#line 6940 "PhotoMetadata.c" GeeCollection* path_components = NULL; const gchar* _tmp11_ = NULL; GeeList* _tmp12_ = NULL; @@ -6953,7 +6951,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _tmp12_ = hierarchical_tag_utilities_enumerate_path_components (_tmp11_); #line 921 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" path_components = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection); -#line 6952 "PhotoMetadata.c" +#line 6950 "PhotoMetadata.c" { GeeIterator* _component_it = NULL; GeeCollection* _tmp13_ = NULL; @@ -6966,7 +6964,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _component_it = _tmp14_; #line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6965 "PhotoMetadata.c" +#line 6963 "PhotoMetadata.c" GeeIterator* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gchar* component = NULL; @@ -6983,7 +6981,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, if (!_tmp16_) { #line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6982 "PhotoMetadata.c" +#line 6980 "PhotoMetadata.c" } #line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = _component_it; @@ -7001,15 +6999,15 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, hierarchical_tag_index_add_path (_tmp19_, _tmp20_, _tmp21_); #line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (component); -#line 7000 "PhotoMetadata.c" +#line 6998 "PhotoMetadata.c" } #line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_component_it); -#line 7004 "PhotoMetadata.c" +#line 7002 "PhotoMetadata.c" } #line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (path_components); -#line 7008 "PhotoMetadata.c" +#line 7006 "PhotoMetadata.c" } else { GeeSet* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; @@ -7019,15 +7017,15 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _tmp23_ = keyword; #line 926 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection), _tmp23_); -#line 7018 "PhotoMetadata.c" +#line 7016 "PhotoMetadata.c" } #line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (keyword); -#line 7022 "PhotoMetadata.c" +#line 7020 "PhotoMetadata.c" } #line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_keyword_it); -#line 7026 "PhotoMetadata.c" +#line 7024 "PhotoMetadata.c" } #line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = flat_keywords; @@ -7041,13 +7039,13 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, 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" _g_object_unref0 (_tmp27_); -#line 7040 "PhotoMetadata.c" +#line 7038 "PhotoMetadata.c" } #line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = keywords; #line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp28_ != NULL) { -#line 7046 "PhotoMetadata.c" +#line 7044 "PhotoMetadata.c" gchar** _tmp29_ = NULL; gint _tmp29__length1 = 0; GeeSet* _tmp30_ = NULL; @@ -7067,7 +7065,7 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, _tmp32_ = htag_index; #line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_internal_set_hierarchical_keywords (self, _tmp32_); -#line 7066 "PhotoMetadata.c" +#line 7064 "PhotoMetadata.c" } else { gchar** _tmp33_ = NULL; gint _tmp33__length1 = 0; @@ -7079,13 +7077,13 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, photo_metadata_remove_tags (self, _tmp33_, _tmp33__length1); #line 938 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_internal_set_hierarchical_keywords (self, NULL); -#line 7078 "PhotoMetadata.c" +#line 7076 "PhotoMetadata.c" } #line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (flat_keywords); #line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_tag_index_unref0 (htag_index); -#line 7084 "PhotoMetadata.c" +#line 7082 "PhotoMetadata.c" } @@ -7099,7 +7097,7 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { _tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; #line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 7098 "PhotoMetadata.c" +#line 7096 "PhotoMetadata.c" { HierarchicalKeywordField** field_collection = NULL; gint field_collection_length1 = 0; @@ -7111,14 +7109,14 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { field_collection_length1 = _tmp0__length1; #line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (field_it = 0; field_it < _tmp0__length1; field_it = field_it + 1) { -#line 7110 "PhotoMetadata.c" +#line 7108 "PhotoMetadata.c" HierarchicalKeywordField* _tmp1_ = NULL; HierarchicalKeywordField* field = NULL; #line 943 "/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" field = _tmp1_; -#line 7117 "PhotoMetadata.c" +#line 7115 "PhotoMetadata.c" { GeeCollection* values = NULL; HierarchicalKeywordField* _tmp2_ = NULL; @@ -7138,7 +7136,7 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { _tmp6_ = values; #line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp6_ != NULL) { -#line 7137 "PhotoMetadata.c" +#line 7135 "PhotoMetadata.c" GeeCollection* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; @@ -7150,11 +7148,11 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { _tmp9_ = _tmp8_; #line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp9_ > 0; -#line 7149 "PhotoMetadata.c" +#line 7147 "PhotoMetadata.c" } else { #line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = FALSE; -#line 7153 "PhotoMetadata.c" +#line 7151 "PhotoMetadata.c" } #line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_) { @@ -7166,13 +7164,13 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { _hierarchical_keyword_field_unref0 (field); #line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7165 "PhotoMetadata.c" +#line 7163 "PhotoMetadata.c" } #line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); #line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 7171 "PhotoMetadata.c" +#line 7169 "PhotoMetadata.c" } } } @@ -7180,7 +7178,7 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { result = FALSE; #line 950 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7179 "PhotoMetadata.c" +#line 7177 "PhotoMetadata.c" } @@ -7205,7 +7203,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _tmp2_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; #line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 7204 "PhotoMetadata.c" +#line 7202 "PhotoMetadata.c" { HierarchicalKeywordField** field_collection = NULL; gint field_collection_length1 = 0; @@ -7217,14 +7215,14 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { field_collection_length1 = _tmp2__length1; #line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (field_it = 0; field_it < _tmp2__length1; field_it = field_it + 1) { -#line 7216 "PhotoMetadata.c" +#line 7214 "PhotoMetadata.c" HierarchicalKeywordField* _tmp3_ = NULL; HierarchicalKeywordField* field = NULL; #line 958 "/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" field = _tmp3_; -#line 7223 "PhotoMetadata.c" +#line 7221 "PhotoMetadata.c" { GeeCollection* values = NULL; HierarchicalKeywordField* _tmp4_ = NULL; @@ -7246,7 +7244,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { if (_tmp8_ == NULL) { #line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = TRUE; -#line 7245 "PhotoMetadata.c" +#line 7243 "PhotoMetadata.c" } else { GeeCollection* _tmp9_ = NULL; gint _tmp10_ = 0; @@ -7259,7 +7257,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _tmp11_ = _tmp10_; #line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp11_ < 1; -#line 7258 "PhotoMetadata.c" +#line 7256 "PhotoMetadata.c" } #line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp7_) { @@ -7269,7 +7267,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _hierarchical_keyword_field_unref0 (field); #line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 7268 "PhotoMetadata.c" +#line 7266 "PhotoMetadata.c" } { GeeIterator* _current_value_it = NULL; @@ -7283,7 +7281,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _current_value_it = _tmp13_; #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 7282 "PhotoMetadata.c" +#line 7280 "PhotoMetadata.c" GeeIterator* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; gchar* current_value = NULL; @@ -7303,7 +7301,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { if (!_tmp15_) { #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 7302 "PhotoMetadata.c" +#line 7300 "PhotoMetadata.c" } #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = _current_value_it; @@ -7325,7 +7323,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _tmp22_ = canonicalized; #line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp22_ != NULL) { -#line 7324 "PhotoMetadata.c" +#line 7322 "PhotoMetadata.c" GeeSet* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; #line 969 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -7334,23 +7332,23 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { _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 7333 "PhotoMetadata.c" +#line 7331 "PhotoMetadata.c" } #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (canonicalized); #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_value); -#line 7339 "PhotoMetadata.c" +#line 7337 "PhotoMetadata.c" } #line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_current_value_it); -#line 7343 "PhotoMetadata.c" +#line 7341 "PhotoMetadata.c" } #line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); #line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 7349 "PhotoMetadata.c" +#line 7347 "PhotoMetadata.c" } } } @@ -7358,7 +7356,7 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { result = h_keywords; #line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7357 "PhotoMetadata.c" +#line 7355 "PhotoMetadata.c" } @@ -7376,7 +7374,7 @@ gboolean photo_metadata_has_orientation (PhotoMetadata* self) { result = _tmp1_ == GEXIV2_ORIENTATION_UNSPECIFIED; #line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7375 "PhotoMetadata.c" +#line 7373 "PhotoMetadata.c" } @@ -7402,27 +7400,27 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) { if (_tmp4_ == GEXIV2_ORIENTATION_UNSPECIFIED) { #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 7401 "PhotoMetadata.c" +#line 7399 "PhotoMetadata.c" } else { GExiv2Orientation _tmp5_ = 0; #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = orientation; #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5_ < ORIENTATION_MIN; -#line 7408 "PhotoMetadata.c" +#line 7406 "PhotoMetadata.c" } #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; -#line 7414 "PhotoMetadata.c" +#line 7412 "PhotoMetadata.c" } else { GExiv2Orientation _tmp6_ = 0; #line 986 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = orientation; #line 986 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp6_ > ORIENTATION_MAX; -#line 7421 "PhotoMetadata.c" +#line 7419 "PhotoMetadata.c" } #line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_) { @@ -7430,7 +7428,7 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) { result = ORIENTATION_TOP_LEFT; #line 987 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7429 "PhotoMetadata.c" +#line 7427 "PhotoMetadata.c" } else { GExiv2Orientation _tmp7_ = 0; #line 989 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -7439,7 +7437,7 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) { result = (Orientation) _tmp7_; #line 989 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7438 "PhotoMetadata.c" +#line 7436 "PhotoMetadata.c" } } @@ -7455,7 +7453,7 @@ void photo_metadata_set_orientation (PhotoMetadata* self, Orientation orientatio _tmp1_ = orientation; #line 994 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_set_orientation (_tmp0_, (GExiv2Orientation) _tmp1_); -#line 7454 "PhotoMetadata.c" +#line 7452 "PhotoMetadata.c" } @@ -7501,43 +7499,43 @@ gboolean photo_metadata_get_gps (PhotoMetadata* self, gdouble* longitude, gchar* if (longitude) { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *longitude = _vala_longitude; -#line 7500 "PhotoMetadata.c" +#line 7498 "PhotoMetadata.c" } #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (long_ref) { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *long_ref = _vala_long_ref; -#line 7506 "PhotoMetadata.c" +#line 7504 "PhotoMetadata.c" } else { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 7510 "PhotoMetadata.c" +#line 7508 "PhotoMetadata.c" } #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (latitude) { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *latitude = _vala_latitude; -#line 7516 "PhotoMetadata.c" +#line 7514 "PhotoMetadata.c" } #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (lat_ref) { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *lat_ref = _vala_lat_ref; -#line 7522 "PhotoMetadata.c" +#line 7520 "PhotoMetadata.c" } else { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 7526 "PhotoMetadata.c" +#line 7524 "PhotoMetadata.c" } #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (altitude) { #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *altitude = _vala_altitude; -#line 7532 "PhotoMetadata.c" +#line 7530 "PhotoMetadata.c" } #line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7536 "PhotoMetadata.c" +#line 7534 "PhotoMetadata.c" } #line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_get_string (self, "Exif.GPSInfo.GPSLongitudeRef", PHOTO_METADATA_PREPARE_STRING_OPTIONS); @@ -7557,43 +7555,43 @@ gboolean photo_metadata_get_gps (PhotoMetadata* self, gdouble* longitude, gchar* if (longitude) { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *longitude = _vala_longitude; -#line 7556 "PhotoMetadata.c" +#line 7554 "PhotoMetadata.c" } #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (long_ref) { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *long_ref = _vala_long_ref; -#line 7562 "PhotoMetadata.c" +#line 7560 "PhotoMetadata.c" } else { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 7566 "PhotoMetadata.c" +#line 7564 "PhotoMetadata.c" } #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (latitude) { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *latitude = _vala_latitude; -#line 7572 "PhotoMetadata.c" +#line 7570 "PhotoMetadata.c" } #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (lat_ref) { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *lat_ref = _vala_lat_ref; -#line 7578 "PhotoMetadata.c" +#line 7576 "PhotoMetadata.c" } else { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 7582 "PhotoMetadata.c" +#line 7580 "PhotoMetadata.c" } #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (altitude) { #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *altitude = _vala_altitude; -#line 7588 "PhotoMetadata.c" +#line 7586 "PhotoMetadata.c" } #line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7592 "PhotoMetadata.c" +#line 7590 "PhotoMetadata.c" } @@ -7614,11 +7612,11 @@ gboolean photo_metadata_get_exposure (PhotoMetadata* self, MetadataRational* exp if (exposure) { #line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *exposure = _vala_exposure; -#line 7613 "PhotoMetadata.c" +#line 7611 "PhotoMetadata.c" } #line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7617 "PhotoMetadata.c" +#line 7615 "PhotoMetadata.c" } @@ -7641,7 +7639,7 @@ gchar* photo_metadata_get_exposure_string (PhotoMetadata* self) { result = NULL; #line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7640 "PhotoMetadata.c" +#line 7638 "PhotoMetadata.c" } #line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = metadata_rational_is_valid (&exposure_time); @@ -7651,7 +7649,7 @@ gchar* photo_metadata_get_exposure_string (PhotoMetadata* self) { result = NULL; #line 1022 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7650 "PhotoMetadata.c" +#line 7648 "PhotoMetadata.c" } #line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ExposureTime", PHOTO_METADATA_PREPARE_STRING_OPTIONS); @@ -7659,7 +7657,7 @@ gchar* photo_metadata_get_exposure_string (PhotoMetadata* self) { result = _tmp3_; #line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7658 "PhotoMetadata.c" +#line 7656 "PhotoMetadata.c" } @@ -7690,11 +7688,11 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) { if (iso) { #line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7689 "PhotoMetadata.c" +#line 7687 "PhotoMetadata.c" } #line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7693 "PhotoMetadata.c" +#line 7691 "PhotoMetadata.c" } #line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _vala_iso; @@ -7702,14 +7700,14 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) { if (_tmp4_ < ((glong) 6)) { #line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 7701 "PhotoMetadata.c" +#line 7699 "PhotoMetadata.c" } else { glong _tmp5_ = 0L; #line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _vala_iso; #line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5_ > ((glong) 409600); -#line 7708 "PhotoMetadata.c" +#line 7706 "PhotoMetadata.c" } #line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { @@ -7719,11 +7717,11 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) { if (iso) { #line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7718 "PhotoMetadata.c" +#line 7716 "PhotoMetadata.c" } #line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7722 "PhotoMetadata.c" +#line 7720 "PhotoMetadata.c" } #line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; @@ -7731,11 +7729,11 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) { if (iso) { #line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7730 "PhotoMetadata.c" +#line 7728 "PhotoMetadata.c" } #line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7734 "PhotoMetadata.c" +#line 7732 "PhotoMetadata.c" } @@ -7757,7 +7755,7 @@ gchar* photo_metadata_get_iso_string (PhotoMetadata* self) { result = NULL; #line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7756 "PhotoMetadata.c" +#line 7754 "PhotoMetadata.c" } #line 1046 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ISOSpeedRatings", PHOTO_METADATA_PREPARE_STRING_OPTIONS); @@ -7765,7 +7763,7 @@ gchar* photo_metadata_get_iso_string (PhotoMetadata* self) { result = _tmp2_; #line 1046 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7764 "PhotoMetadata.c" +#line 7762 "PhotoMetadata.c" } @@ -7786,11 +7784,11 @@ gboolean photo_metadata_get_aperture (PhotoMetadata* self, MetadataRational* ape if (aperture) { #line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *aperture = _vala_aperture; -#line 7785 "PhotoMetadata.c" +#line 7783 "PhotoMetadata.c" } #line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7789 "PhotoMetadata.c" +#line 7787 "PhotoMetadata.c" } @@ -7826,7 +7824,7 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f result = NULL; #line 1056 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7825 "PhotoMetadata.c" +#line 7823 "PhotoMetadata.c" } #line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = aperture; @@ -7848,11 +7846,11 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f if (_tmp8_) { #line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = "<i>f</i>/"; -#line 7847 "PhotoMetadata.c" +#line 7845 "PhotoMetadata.c" } else { #line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = "f/"; -#line 7851 "PhotoMetadata.c" +#line 7849 "PhotoMetadata.c" } #line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = aperture_value; @@ -7860,11 +7858,11 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f if (fmod (_tmp10_, 1) == ((gdouble) 0)) { #line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = "%.0f"; -#line 7859 "PhotoMetadata.c" +#line 7857 "PhotoMetadata.c" } else { #line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = "%.1f"; -#line 7863 "PhotoMetadata.c" +#line 7861 "PhotoMetadata.c" } #line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = aperture_value; @@ -7882,7 +7880,7 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f result = _tmp15_; #line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7881 "PhotoMetadata.c" +#line 7879 "PhotoMetadata.c" } @@ -7897,7 +7895,7 @@ gchar* photo_metadata_get_camera_make (PhotoMetadata* self) { result = _tmp0_; #line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7896 "PhotoMetadata.c" +#line 7894 "PhotoMetadata.c" } @@ -7912,7 +7910,7 @@ gchar* photo_metadata_get_camera_model (PhotoMetadata* self) { result = _tmp0_; #line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7911 "PhotoMetadata.c" +#line 7909 "PhotoMetadata.c" } @@ -7933,11 +7931,11 @@ gboolean photo_metadata_get_flash (PhotoMetadata* self, glong* flash) { if (flash) { #line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *flash = _vala_flash; -#line 7932 "PhotoMetadata.c" +#line 7930 "PhotoMetadata.c" } #line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7936 "PhotoMetadata.c" +#line 7934 "PhotoMetadata.c" } @@ -7952,7 +7950,7 @@ gchar* photo_metadata_get_flash_string (PhotoMetadata* self) { result = _tmp0_; #line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7951 "PhotoMetadata.c" +#line 7949 "PhotoMetadata.c" } @@ -7973,11 +7971,11 @@ gboolean photo_metadata_get_focal_length (PhotoMetadata* self, MetadataRational* if (focal_length) { #line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *focal_length = _vala_focal_length; -#line 7972 "PhotoMetadata.c" +#line 7970 "PhotoMetadata.c" } #line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7976 "PhotoMetadata.c" +#line 7974 "PhotoMetadata.c" } @@ -7992,7 +7990,7 @@ gchar* photo_metadata_get_focal_length_string (PhotoMetadata* self) { result = _tmp0_; #line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7991 "PhotoMetadata.c" +#line 7989 "PhotoMetadata.c" } @@ -8013,7 +8011,7 @@ gchar* photo_metadata_get_artist (PhotoMetadata* self) { result = _tmp1_; #line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8012 "PhotoMetadata.c" +#line 8010 "PhotoMetadata.c" } @@ -8028,7 +8026,7 @@ gchar* photo_metadata_get_copyright (PhotoMetadata* self) { result = _tmp0_; #line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8027 "PhotoMetadata.c" +#line 8025 "PhotoMetadata.c" } @@ -8043,7 +8041,7 @@ gchar* photo_metadata_get_software (PhotoMetadata* self) { result = _tmp0_; #line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8042 "PhotoMetadata.c" +#line 8040 "PhotoMetadata.c" } @@ -8075,7 +8073,7 @@ void photo_metadata_set_software (PhotoMetadata* self, const gchar* software, co _tmp4_ = photo_metadata_has_iptc (self); #line 1112 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 8074 "PhotoMetadata.c" +#line 8072 "PhotoMetadata.c" const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; #line 1113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -8086,7 +8084,7 @@ void photo_metadata_set_software (PhotoMetadata* self, const gchar* software, co _tmp6_ = version; #line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Iptc.Application2.ProgramVersion", _tmp6_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 8085 "PhotoMetadata.c" +#line 8083 "PhotoMetadata.c" } } @@ -8100,7 +8098,7 @@ void photo_metadata_remove_software (PhotoMetadata* self) { photo_metadata_remove_tag (self, "Iptc.Application2.Program"); #line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, "Iptc.Application2.ProgramVersion"); -#line 8099 "PhotoMetadata.c" +#line 8097 "PhotoMetadata.c" } @@ -8115,7 +8113,7 @@ gchar* photo_metadata_get_exposure_bias (PhotoMetadata* self) { result = _tmp0_; #line 1125 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8114 "PhotoMetadata.c" +#line 8112 "PhotoMetadata.c" } @@ -8146,7 +8144,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _tmp2_ = rating_string; #line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ != NULL) { -#line 8145 "PhotoMetadata.c" +#line 8143 "PhotoMetadata.c" const gchar* _tmp3_ = NULL; gint _tmp4_ = 0; Rating _tmp5_ = 0; @@ -8162,7 +8160,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _g_free0 (rating_string); #line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8161 "PhotoMetadata.c" +#line 8159 "PhotoMetadata.c" } #line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_get_string (self, "Exif.Image.RatingPercent", PHOTO_METADATA_PREPARE_STRING_OPTIONS); @@ -8180,7 +8178,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _g_free0 (rating_string); #line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8179 "PhotoMetadata.c" +#line 8177 "PhotoMetadata.c" } #line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = rating_string; @@ -8188,32 +8186,32 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _tmp9_ = atoi (_tmp8_); #line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" int_percent_rating = _tmp9_; -#line 8187 "PhotoMetadata.c" +#line 8185 "PhotoMetadata.c" { gint i = 0; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" i = 5; -#line 8192 "PhotoMetadata.c" +#line 8190 "PhotoMetadata.c" { gboolean _tmp10_ = FALSE; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = TRUE; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 8199 "PhotoMetadata.c" +#line 8197 "PhotoMetadata.c" gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; gint _tmp15_ = 0; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp10_) { -#line 8206 "PhotoMetadata.c" +#line 8204 "PhotoMetadata.c" gint _tmp11_ = 0; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = i; #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" i = _tmp11_ - 1; -#line 8212 "PhotoMetadata.c" +#line 8210 "PhotoMetadata.c" } #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; @@ -8223,7 +8221,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { if (!(_tmp12_ >= 0)) { #line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 8222 "PhotoMetadata.c" +#line 8220 "PhotoMetadata.c" } #line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = int_percent_rating; @@ -8233,7 +8231,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _tmp15_ = RESOURCES_rating_thresholds[_tmp14_]; #line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp13_ >= _tmp15_) { -#line 8232 "PhotoMetadata.c" +#line 8230 "PhotoMetadata.c" gint _tmp16_ = 0; Rating _tmp17_ = 0; #line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -8246,7 +8244,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _g_free0 (rating_string); #line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8245 "PhotoMetadata.c" +#line 8243 "PhotoMetadata.c" } } } @@ -8259,7 +8257,7 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { _g_free0 (rating_string); #line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8258 "PhotoMetadata.c" +#line 8256 "PhotoMetadata.c" } @@ -8306,7 +8304,7 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) { _tmp8_ = int_rating; #line 1163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (0 <= _tmp8_) { -#line 8305 "PhotoMetadata.c" +#line 8303 "PhotoMetadata.c" gint _tmp9_ = 0; gint _tmp10_ = 0; gchar* _tmp11_ = NULL; @@ -8323,7 +8321,7 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) { photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp12_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); #line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp12_); -#line 8322 "PhotoMetadata.c" +#line 8320 "PhotoMetadata.c" } else { gint _tmp13_ = 0; gchar* _tmp14_ = NULL; @@ -8338,7 +8336,7 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) { photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp15_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); #line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp15_); -#line 8337 "PhotoMetadata.c" +#line 8335 "PhotoMetadata.c" } } @@ -8346,7 +8344,7 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) { static gpointer _media_metadata_ref0 (gpointer self) { #line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? media_metadata_ref (self) : NULL; -#line 8345 "PhotoMetadata.c" +#line 8343 "PhotoMetadata.c" } @@ -8372,7 +8370,7 @@ static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_ #line 118 "/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" - g_return_val_if_fail (props != NULL, NULL); + g_return_val_if_fail (GEXIV2_IS_PREVIEW_PROPERTIES (props), NULL); #line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = name; #line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -8413,21 +8411,21 @@ static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_ self->number = _tmp14_; #line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 8412 "PhotoMetadata.c" +#line 8410 "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" return photo_metadata_internal_photo_preview_construct (PHOTO_METADATA_TYPE_INTERNAL_PHOTO_PREVIEW, owner, name, number, props); -#line 8419 "PhotoMetadata.c" +#line 8417 "PhotoMetadata.c" } static guint8* _vala_array_dup6 (guint8* self, int length) { #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 8426 "PhotoMetadata.c" +#line 8424 "PhotoMetadata.c" } @@ -8452,7 +8450,7 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* GExiv2PreviewProperties* _tmp12_ = NULL; GExiv2PreviewImage* _tmp13_ = NULL; GExiv2PreviewImage* _tmp14_ = NULL; - gint _tmp15_ = 0; + guint32 _tmp15_; guint8* _tmp16_ = NULL; guint8* _tmp17_ = NULL; gint _tmp17__length1 = 0; @@ -8480,7 +8478,7 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* _tmp5__length1 = props_length1; #line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 8479 "PhotoMetadata.c" +#line 8477 "PhotoMetadata.c" GExiv2PreviewProperties** _tmp6_ = NULL; gint _tmp6__length1 = 0; guint _tmp7_ = 0U; @@ -8492,11 +8490,11 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* _tmp7_ = self->number; #line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = ((guint) _tmp6__length1) > _tmp7_; -#line 8491 "PhotoMetadata.c" +#line 8489 "PhotoMetadata.c" } else { #line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 8495 "PhotoMetadata.c" +#line 8493 "PhotoMetadata.c" } #line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp4_, "props != null && props.length > number"); @@ -8527,7 +8525,7 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18__length1 = _tmp17__length1; #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _gexiv2_preview_image_free0 (_tmp14_); + _g_object_unref0 (_tmp14_); #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp18_; #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" @@ -8536,13 +8534,13 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* if (result_length1) { #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp19__length1; -#line 8535 "PhotoMetadata.c" +#line 8533 "PhotoMetadata.c" } #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp19_; #line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8541 "PhotoMetadata.c" +#line 8539 "PhotoMetadata.c" } @@ -8553,7 +8551,7 @@ static void photo_metadata_internal_photo_preview_class_init (PhotoMetadataInter ((PhotoPreviewClass *) klass)->finalize = photo_metadata_internal_photo_preview_finalize; #line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->flatten = photo_metadata_internal_photo_preview_real_flatten; -#line 8552 "PhotoMetadata.c" +#line 8550 "PhotoMetadata.c" } @@ -8569,7 +8567,7 @@ static void photo_metadata_internal_photo_preview_finalize (PhotoPreview* obj) { _media_metadata_unref0 (self->owner); #line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" PHOTO_PREVIEW_CLASS (photo_metadata_internal_photo_preview_parent_class)->finalize (obj); -#line 8568 "PhotoMetadata.c" +#line 8566 "PhotoMetadata.c" } @@ -8840,7 +8838,7 @@ static void photo_metadata_class_init (PhotoMetadataClass * klass) { photo_metadata_RATING_TAGS = _tmp43_; #line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_RATING_TAGS_length1 = 4; -#line 8839 "PhotoMetadata.c" +#line 8837 "PhotoMetadata.c" } @@ -8859,7 +8857,7 @@ static void photo_metadata_instance_init (PhotoMetadata * self) { _tmp1_ = g_strdup ("<uninitialized>"); #line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp1_; -#line 8858 "PhotoMetadata.c" +#line 8856 "PhotoMetadata.c" } @@ -8868,14 +8866,14 @@ static void photo_metadata_finalize (MediaMetadata* obj) { #line 99 "/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" - _gexiv2_metadata_free0 (self->priv->exiv2); + _g_object_unref0 (self->priv->exiv2); #line 136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); #line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->source_name); #line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" MEDIA_METADATA_CLASS (photo_metadata_parent_class)->finalize (obj); -#line 8874 "PhotoMetadata.c" +#line 8872 "PhotoMetadata.c" } diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala index a99e0c1..a410499 100644 --- a/src/photos/PhotoMetadata.vala +++ b/src/photos/PhotoMetadata.vala @@ -103,7 +103,7 @@ public class PhotoMetadata : MediaMetadata { AT_LEAST_DEFAULT_DOMAIN } - private const PrepareInputTextOptions PREPARE_STRING_OPTIONS = + public const PrepareInputTextOptions PREPARE_STRING_OPTIONS = PrepareInputTextOptions.INVALID_IS_NULL | PrepareInputTextOptions.EMPTY_IS_NULL | PrepareInputTextOptions.STRIP diff --git a/src/photos/Photos.c b/src/photos/Photos.c index 434f905..2395165 100644 --- a/src/photos/Photos.c +++ b/src/photos/Photos.c @@ -1,4 +1,4 @@ -/* Photos.c generated by valac 0.32.1, the Vala compiler +/* Photos.c generated by valac 0.34.1, the Vala compiler * generated from Photos.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/photos/PngSupport.c b/src/photos/PngSupport.c index 98d4cd2..11ca7ab 100644 --- a/src/photos/PngSupport.c +++ b/src/photos/PngSupport.c @@ -1,4 +1,4 @@ -/* PngSupport.c generated by valac 0.32.1, the Vala compiler +/* PngSupport.c generated by valac 0.34.1, the Vala compiler * generated from PngSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1020,7 +1020,7 @@ static gboolean png_sniffer_is_png_file (GFile* file, GError** error) { #line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala" _tmp4__length1 = file_lead_sequence_length1; #line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala" - g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_INPUT_STREAM, GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_); + g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_input_stream_get_type (), GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_); #line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala" diff --git a/src/photos/RawSupport.c b/src/photos/RawSupport.c index e06b1d5..14d1fbe 100644 --- a/src/photos/RawSupport.c +++ b/src/photos/RawSupport.c @@ -1,4 +1,4 @@ -/* RawSupport.c generated by valac 0.32.1, the Vala compiler +/* RawSupport.c generated by valac 0.34.1, the Vala compiler * generated from RawSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/photos/TiffSupport.c b/src/photos/TiffSupport.c index 2e1282e..9cc1094 100644 --- a/src/photos/TiffSupport.c +++ b/src/photos/TiffSupport.c @@ -1,4 +1,4 @@ -/* TiffSupport.c generated by valac 0.32.1, the Vala compiler +/* TiffSupport.c generated by valac 0.34.1, the Vala compiler * generated from TiffSupport.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1601,7 +1601,7 @@ gboolean photos_is_tiff (GFile* file, GCancellable* cancellable, GError** error) #line 1602 "TiffSupport.c" } #line 155 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala" - _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream)); + _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream)); #line 155 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala" dins = _tmp3_; #line 159 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala" diff --git a/src/plugins/DataImportsInterfaces.c b/src/plugins/DataImportsInterfaces.c index 96920a9..89fcadd 100644 --- a/src/plugins/DataImportsInterfaces.c +++ b/src/plugins/DataImportsInterfaces.c @@ -1,4 +1,4 @@ -/* DataImportsInterfaces.c generated by valac 0.32.1, the Vala compiler +/* DataImportsInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from DataImportsInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/plugins/ManifestWidget.c b/src/plugins/ManifestWidget.c index e09267a..fdc843c 100644 --- a/src/plugins/ManifestWidget.c +++ b/src/plugins/ManifestWidget.c @@ -1,4 +1,4 @@ -/* ManifestWidget.c generated by valac 0.32.1, the Vala compiler +/* ManifestWidget.c generated by valac 0.34.1, the Vala compiler * generated from ManifestWidget.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -245,19 +245,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 263 "ManifestWidget.c" } diff --git a/src/plugins/Plugins.c b/src/plugins/Plugins.c index 0134c1f..4928cf4 100644 --- a/src/plugins/Plugins.c +++ b/src/plugins/Plugins.c @@ -1,4 +1,4 @@ -/* Plugins.c generated by valac 0.32.1, the Vala compiler +/* Plugins.c generated by valac 0.34.1, the Vala compiler * generated from Plugins.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/plugins/PublishingInterfaces.c b/src/plugins/PublishingInterfaces.c index e2e22cb..468329a 100644 --- a/src/plugins/PublishingInterfaces.c +++ b/src/plugins/PublishingInterfaces.c @@ -1,4 +1,4 @@ -/* PublishingInterfaces.c generated by valac 0.32.1, the Vala compiler +/* PublishingInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from PublishingInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/plugins/SpitInterfaces.c b/src/plugins/SpitInterfaces.c index 9357a68..0884982 100644 --- a/src/plugins/SpitInterfaces.c +++ b/src/plugins/SpitInterfaces.c @@ -1,4 +1,4 @@ -/* SpitInterfaces.c generated by valac 0.32.1, the Vala compiler +/* SpitInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from SpitInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/plugins/StandardHostInterface.c b/src/plugins/StandardHostInterface.c index 3465427..c6480fa 100644 --- a/src/plugins/StandardHostInterface.c +++ b/src/plugins/StandardHostInterface.c @@ -1,4 +1,4 @@ -/* StandardHostInterface.c generated by valac 0.32.1, the Vala compiler +/* StandardHostInterface.c generated by valac 0.34.1, the Vala compiler * generated from StandardHostInterface.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/plugins/TransitionsInterfaces.c b/src/plugins/TransitionsInterfaces.c index aedb555..9b1b5ac 100644 --- a/src/plugins/TransitionsInterfaces.c +++ b/src/plugins/TransitionsInterfaces.c @@ -1,4 +1,4 @@ -/* TransitionsInterfaces.c generated by valac 0.32.1, the Vala compiler +/* TransitionsInterfaces.c generated by valac 0.34.1, the Vala compiler * generated from TransitionsInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/publishing/APIGlue.c b/src/publishing/APIGlue.c index 29cdd0a..bce21cd 100644 --- a/src/publishing/APIGlue.c +++ b/src/publishing/APIGlue.c @@ -1,4 +1,4 @@ -/* APIGlue.c generated by valac 0.32.1, the Vala compiler +/* APIGlue.c generated by valac 0.34.1, the Vala compiler * generated from APIGlue.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/publishing/Publishing.c b/src/publishing/Publishing.c index fc14775..99b7a82 100644 --- a/src/publishing/Publishing.c +++ b/src/publishing/Publishing.c @@ -1,4 +1,4 @@ -/* Publishing.c generated by valac 0.32.1, the Vala compiler +/* Publishing.c generated by valac 0.34.1, the Vala compiler * generated from Publishing.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/publishing/PublishingPluginHost.c b/src/publishing/PublishingPluginHost.c index 45a7681..dd04855 100644 --- a/src/publishing/PublishingPluginHost.c +++ b/src/publishing/PublishingPluginHost.c @@ -1,4 +1,4 @@ -/* PublishingPluginHost.c generated by valac 0.32.1, the Vala compiler +/* PublishingPluginHost.c generated by valac 0.34.1, the Vala compiler * generated from PublishingPluginHost.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/publishing/PublishingUI.c b/src/publishing/PublishingUI.c index 9dcf2e0..53471cd 100644 --- a/src/publishing/PublishingUI.c +++ b/src/publishing/PublishingUI.c @@ -1,4 +1,4 @@ -/* PublishingUI.c generated by valac 0.32.1, the Vala compiler +/* PublishingUI.c generated by valac 0.34.1, the Vala compiler * generated from PublishingUI.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/searches/Branch.c b/src/searches/Branch.c index 81618ba..2e6e87f 100644 --- a/src/searches/Branch.c +++ b/src/searches/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/searches/SavedSearchDialog.c b/src/searches/SavedSearchDialog.c index 4731710..cff4982 100644 --- a/src/searches/SavedSearchDialog.c +++ b/src/searches/SavedSearchDialog.c @@ -1,4 +1,4 @@ -/* SavedSearchDialog.c generated by valac 0.32.1, the Vala compiler +/* SavedSearchDialog.c generated by valac 0.34.1, the Vala compiler * generated from SavedSearchDialog.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -1777,19 +1777,19 @@ static gchar* string_chomp (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strchomp (_tmp1_); -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1795 "SavedSearchDialog.c" } diff --git a/src/searches/SavedSearchPage.c b/src/searches/SavedSearchPage.c index a9aa029..b55e498 100644 --- a/src/searches/SavedSearchPage.c +++ b/src/searches/SavedSearchPage.c @@ -1,4 +1,4 @@ -/* SavedSearchPage.c generated by valac 0.32.1, the Vala compiler +/* SavedSearchPage.c generated by valac 0.34.1, the Vala compiler * generated from SavedSearchPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/searches/SearchBoolean.c b/src/searches/SearchBoolean.c index b182916..0490d60 100644 --- a/src/searches/SearchBoolean.c +++ b/src/searches/SearchBoolean.c @@ -1,4 +1,4 @@ -/* SearchBoolean.c generated by valac 0.32.1, the Vala compiler +/* SearchBoolean.c generated by valac 0.34.1, the Vala compiler * generated from SearchBoolean.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2305,17 +2305,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2320 "SearchBoolean.c" } diff --git a/src/searches/Searches.c b/src/searches/Searches.c index 1ab6b90..caefb86 100644 --- a/src/searches/Searches.c +++ b/src/searches/Searches.c @@ -1,4 +1,4 @@ -/* Searches.c generated by valac 0.32.1, the Vala compiler +/* Searches.c generated by valac 0.34.1, the Vala compiler * generated from Searches.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/sidebar/Branch.c b/src/sidebar/Branch.c index 10f7a72..cb9ad14 100644 --- a/src/sidebar/Branch.c +++ b/src/sidebar/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/sidebar/Entry.c b/src/sidebar/Entry.c index caa621c..ae0aeb0 100644 --- a/src/sidebar/Entry.c +++ b/src/sidebar/Entry.c @@ -1,4 +1,4 @@ -/* Entry.c generated by valac 0.32.1, the Vala compiler +/* Entry.c generated by valac 0.34.1, the Vala compiler * generated from Entry.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/sidebar/Sidebar.c b/src/sidebar/Sidebar.c index 888a70c..328d6a9 100644 --- a/src/sidebar/Sidebar.c +++ b/src/sidebar/Sidebar.c @@ -1,4 +1,4 @@ -/* Sidebar.c generated by valac 0.32.1, the Vala compiler +/* Sidebar.c generated by valac 0.34.1, the Vala compiler * generated from Sidebar.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/sidebar/Tree.c b/src/sidebar/Tree.c index d784043..c18f988 100644 --- a/src/sidebar/Tree.c +++ b/src/sidebar/Tree.c @@ -1,4 +1,4 @@ -/* Tree.c generated by valac 0.32.1, the Vala compiler +/* Tree.c generated by valac 0.34.1, the Vala compiler * generated from Tree.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/sidebar/common.c b/src/sidebar/common.c index 1ef4450..0a5eeb0 100644 --- a/src/sidebar/common.c +++ b/src/sidebar/common.c @@ -1,4 +1,4 @@ -/* common.c generated by valac 0.32.1, the Vala compiler +/* common.c generated by valac 0.34.1, the Vala compiler * generated from common.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/slideshow/Slideshow.c b/src/slideshow/Slideshow.c index 1731cfa..0a92fb4 100644 --- a/src/slideshow/Slideshow.c +++ b/src/slideshow/Slideshow.c @@ -1,4 +1,4 @@ -/* Slideshow.c generated by valac 0.32.1, the Vala compiler +/* Slideshow.c generated by valac 0.34.1, the Vala compiler * generated from Slideshow.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/slideshow/TransitionEffects.c b/src/slideshow/TransitionEffects.c index 292187e..aa47a29 100644 --- a/src/slideshow/TransitionEffects.c +++ b/src/slideshow/TransitionEffects.c @@ -1,4 +1,4 @@ -/* TransitionEffects.c generated by valac 0.32.1, the Vala compiler +/* TransitionEffects.c generated by valac 0.34.1, the Vala compiler * generated from TransitionEffects.vala, do not modify */ /* Copyright 2010 Maxim Kartashev diff --git a/src/tags/Branch.c b/src/tags/Branch.c index adcbabd..20ba882 100644 --- a/src/tags/Branch.c +++ b/src/tags/Branch.c @@ -1,4 +1,4 @@ -/* Branch.c generated by valac 0.32.1, the Vala compiler +/* Branch.c generated by valac 0.34.1, the Vala compiler * generated from Branch.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -2416,11 +2416,11 @@ static gboolean tags_sidebar_entry_real_is_user_renameable (SidebarRenameableEnt static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 2426 "Branch.c" { @@ -2435,73 +2435,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2466 "Branch.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2493 "Branch.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2507 "Branch.c" } @@ -2509,24 +2509,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch52_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 2521 "Branch.c" } __finally52: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 2532 "Branch.c" } @@ -3041,39 +3041,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { gint _tmp3__length1 = 0; guint8* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = (guint8*) self; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = -1; -#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _res_size_ = res_length1; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res_length1 = (gint) _tmp1_; -#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = res; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = res_length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = _tmp3__length1; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (result_length1) { -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; #line 3073 "Branch.c" } -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 3079 "Branch.c" } diff --git a/src/tags/HierarchicalTagIndex.c b/src/tags/HierarchicalTagIndex.c index d77738d..fc0a473 100644 --- a/src/tags/HierarchicalTagIndex.c +++ b/src/tags/HierarchicalTagIndex.c @@ -1,4 +1,4 @@ -/* HierarchicalTagIndex.c generated by valac 0.32.1, the Vala compiler +/* HierarchicalTagIndex.c generated by valac 0.34.1, the Vala compiler * generated from HierarchicalTagIndex.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/tags/HierarchicalTagUtilities.c b/src/tags/HierarchicalTagUtilities.c index 827d497..1f9b2de 100644 --- a/src/tags/HierarchicalTagUtilities.c +++ b/src/tags/HierarchicalTagUtilities.c @@ -1,4 +1,4 @@ -/* HierarchicalTagUtilities.c generated by valac 0.32.1, the Vala compiler +/* HierarchicalTagUtilities.c generated by valac 0.34.1, the Vala compiler * generated from HierarchicalTagUtilities.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -263,37 +263,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 279 "HierarchicalTagUtilities.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 287 "HierarchicalTagUtilities.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 299 "HierarchicalTagUtilities.c" } @@ -313,112 +313,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 323 "HierarchicalTagUtilities.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 329 "HierarchicalTagUtilities.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 333 "HierarchicalTagUtilities.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 337 "HierarchicalTagUtilities.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 349 "HierarchicalTagUtilities.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 359 "HierarchicalTagUtilities.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 365 "HierarchicalTagUtilities.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 379 "HierarchicalTagUtilities.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 389 "HierarchicalTagUtilities.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 395 "HierarchicalTagUtilities.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 404 "HierarchicalTagUtilities.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 424 "HierarchicalTagUtilities.c" } @@ -756,72 +756,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gboolean _tmp2_ = FALSE; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = separator; -#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_ == NULL) { -#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; #line 766 "HierarchicalTagUtilities.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; #line 776 "HierarchicalTagUtilities.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; #line 786 "HierarchicalTagUtilities.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; #line 792 "HierarchicalTagUtilities.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { #line 803 "HierarchicalTagUtilities.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = str_array; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7__length1 = str_array_length1; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp7_[0]; -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; #line 815 "HierarchicalTagUtilities.c" } else { -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; #line 819 "HierarchicalTagUtilities.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; #line 823 "HierarchicalTagUtilities.c" } -#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { #line 827 "HierarchicalTagUtilities.c" gint i = 0; @@ -844,16 +844,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp44_ = NULL; void* _tmp45_ = NULL; const gchar* _tmp62_ = NULL; -#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; #line 850 "HierarchicalTagUtilities.c" { gboolean _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = TRUE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 859 "HierarchicalTagUtilities.c" gboolean _tmp11_ = FALSE; @@ -866,97 +866,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gint _tmp23_ = 0; const gchar* _tmp24_ = NULL; gsize _tmp30_ = 0UL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { #line 872 "HierarchicalTagUtilities.c" gint _tmp10_ = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; #line 878 "HierarchicalTagUtilities.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { #line 888 "HierarchicalTagUtilities.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; #line 900 "HierarchicalTagUtilities.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 904 "HierarchicalTagUtilities.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; #line 910 "HierarchicalTagUtilities.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { #line 921 "HierarchicalTagUtilities.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; const gchar* _tmp20_ = NULL; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = str_array; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18__length1 = str_array_length1; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = i; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = _tmp18_[_tmp19_]; -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; #line 936 "HierarchicalTagUtilities.c" } else { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; #line 940 "HierarchicalTagUtilities.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; #line 944 "HierarchicalTagUtilities.c" } -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { -#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 950 "HierarchicalTagUtilities.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp23_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp24_ = _tmp22_[_tmp23_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { #line 962 "HierarchicalTagUtilities.c" gchar** _tmp25_ = NULL; @@ -965,91 +965,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp27_ = NULL; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25_ = str_array; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp25__length1 = str_array_length1; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp26_ = i; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp27_ = _tmp25_[_tmp26_]; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp28_ = strlen ((const gchar*) _tmp27_); -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp29_ = _tmp28_; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; #line 983 "HierarchicalTagUtilities.c" } else { -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; #line 987 "HierarchicalTagUtilities.c" } -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; -#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; #line 993 "HierarchicalTagUtilities.c" } } -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; -#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { #line 1000 "HierarchicalTagUtilities.c" gchar* _tmp32_ = NULL; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp32_; -#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1008 "HierarchicalTagUtilities.c" } -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" str_array_length1 = _tmp33_; -#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp34_ = str_array_length1; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp35_ = len; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp36_ = separator; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp37_ = strlen ((const gchar*) _tmp36_); -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp38_ = _tmp37_; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp39_ = i; -#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1)); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp40_ = len; -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp41_ = g_malloc (_tmp40_); -#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = _tmp41_; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp42_ = res; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43_ = str_array; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp43__length1 = str_array_length1; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp44_ = _tmp43_[0]; -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); -#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; #line 1046 "HierarchicalTagUtilities.c" { gboolean _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = 1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = TRUE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { #line 1055 "HierarchicalTagUtilities.c" gint _tmp48_ = 0; @@ -1065,94 +1065,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp56_ = NULL; void* _tmp60_ = NULL; void* _tmp61_ = NULL; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { #line 1071 "HierarchicalTagUtilities.c" gint _tmp47_ = 0; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; #line 1077 "HierarchicalTagUtilities.c" } -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp48_ = i; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49_ = str_array; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp49__length1 = str_array_length1; -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!(_tmp48_ < _tmp49__length1)) { -#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; #line 1091 "HierarchicalTagUtilities.c" } -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp51_ = separator; -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_); -#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp52_; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp54__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp55_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp56_ = _tmp54_[_tmp55_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { #line 1111 "HierarchicalTagUtilities.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; const gchar* _tmp59_ = NULL; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57_ = str_array; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp57__length1 = str_array_length1; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp58_ = i; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp59_ = _tmp57_[_tmp58_]; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; #line 1126 "HierarchicalTagUtilities.c" } else { -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; #line 1130 "HierarchicalTagUtilities.c" } -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); -#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; #line 1138 "HierarchicalTagUtilities.c" } } -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp62_ = res; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" res = NULL; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gchar*) _tmp62_; -#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1149 "HierarchicalTagUtilities.c" } else { gchar* _tmp63_ = NULL; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp63_ = g_strdup (""); -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp63_; -#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1158 "HierarchicalTagUtilities.c" } @@ -1273,11 +1273,11 @@ gchar* hierarchical_tag_utilities_get_basename (const gchar* in_path) { static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (old != NULL, NULL); -#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); #line 1283 "HierarchicalTagUtilities.c" { @@ -1292,73 +1292,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = old; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_regex_escape_string (_tmp0_, -1); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp1_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp2_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" regex = _tmp4_; -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1323 "HierarchicalTagUtilities.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = replacement; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#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; } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/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); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1350 "HierarchicalTagUtilities.c" } -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = NULL; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp9_; -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_free0 (_tmp5_); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); -#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1364 "HierarchicalTagUtilities.c" } @@ -1366,24 +1366,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* __catch53_g_regex_error: { GError* e = NULL; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" e = _inner_error_; -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _inner_error_ = NULL; -#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_assert_not_reached (); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); #line 1378 "HierarchicalTagUtilities.c" } __finally53: -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_clear_error (&_inner_error_); -#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; #line 1389 "HierarchicalTagUtilities.c" } @@ -1394,15 +1394,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1408 "HierarchicalTagUtilities.c" } diff --git a/src/tags/TagPage.c b/src/tags/TagPage.c index c85ae23..c2cb74f 100644 --- a/src/tags/TagPage.c +++ b/src/tags/TagPage.c @@ -1,4 +1,4 @@ -/* TagPage.c generated by valac 0.32.1, the Vala compiler +/* TagPage.c generated by valac 0.34.1, the Vala compiler * generated from TagPage.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/tags/Tags.c b/src/tags/Tags.c index 0f14960..1cafea2 100644 --- a/src/tags/Tags.c +++ b/src/tags/Tags.c @@ -1,4 +1,4 @@ -/* Tags.c generated by valac 0.32.1, the Vala compiler +/* Tags.c generated by valac 0.34.1, the Vala compiler * generated from Tags.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/threads/BackgroundJob.c b/src/threads/BackgroundJob.c index 94c8745..f497e25 100644 --- a/src/threads/BackgroundJob.c +++ b/src/threads/BackgroundJob.c @@ -1,4 +1,4 @@ -/* BackgroundJob.c generated by valac 0.32.1, the Vala compiler +/* BackgroundJob.c generated by valac 0.34.1, the Vala compiler * generated from BackgroundJob.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/threads/Semaphore.c b/src/threads/Semaphore.c index 9874b65..09c49b8 100644 --- a/src/threads/Semaphore.c +++ b/src/threads/Semaphore.c @@ -1,4 +1,4 @@ -/* Semaphore.c generated by valac 0.32.1, the Vala compiler +/* Semaphore.c generated by valac 0.34.1, the Vala compiler * generated from Semaphore.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/threads/Threads.c b/src/threads/Threads.c index d87457f..6a4a697 100644 --- a/src/threads/Threads.c +++ b/src/threads/Threads.c @@ -1,4 +1,4 @@ -/* Threads.c generated by valac 0.32.1, the Vala compiler +/* Threads.c generated by valac 0.34.1, the Vala compiler * generated from Threads.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/threads/Workers.c b/src/threads/Workers.c index 92d5e97..da62724 100644 --- a/src/threads/Workers.c +++ b/src/threads/Workers.c @@ -1,4 +1,4 @@ -/* Workers.c generated by valac 0.32.1, the Vala compiler +/* Workers.c generated by valac 0.34.1, the Vala compiler * generated from Workers.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/unit/Unit.c b/src/unit/Unit.c index d652834..54f7d91 100644 --- a/src/unit/Unit.c +++ b/src/unit/Unit.c @@ -1,4 +1,4 @@ -/* Unit.c generated by valac 0.32.1, the Vala compiler +/* Unit.c generated by valac 0.34.1, the Vala compiler * generated from Unit.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/util/KeyValueMap.c b/src/util/KeyValueMap.c index 003f0ca..f5ccf28 100644 --- a/src/util/KeyValueMap.c +++ b/src/util/KeyValueMap.c @@ -1,4 +1,4 @@ -/* KeyValueMap.c generated by valac 0.32.1, the Vala compiler +/* KeyValueMap.c generated by valac 0.34.1, the Vala compiler * generated from KeyValueMap.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -355,23 +355,23 @@ static gchar* double_to_string (gdouble self) { const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, G_ASCII_DTOSTR_BUF_SIZE); -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = G_ASCII_DTOSTR_BUF_SIZE; -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_ascii_dtostr (_tmp1_, G_ASCII_DTOSTR_BUF_SIZE, self); -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = g_strdup (_tmp2_); -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _tmp3_; -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = (g_free (_tmp1_), NULL); -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 377 "KeyValueMap.c" } @@ -445,24 +445,24 @@ void key_value_map_set_float (KeyValueMap* self, const gchar* key, gfloat value) static gchar* bool_to_string (gboolean self) { gchar* result = NULL; -#line 37 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (self) { #line 451 "KeyValueMap.c" gchar* _tmp0_ = NULL; -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup ("true"); -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp0_; -#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 459 "KeyValueMap.c" } else { gchar* _tmp1_ = NULL; -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_strdup ("false"); -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 468 "KeyValueMap.c" } @@ -610,15 +610,15 @@ static gdouble double_parse (const gchar* str) { gdouble result = 0.0; const gchar* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; -#line 869 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 869 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (str != NULL, 0.0); -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_ascii_strtod (_tmp0_, NULL); -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 624 "KeyValueMap.c" } @@ -731,21 +731,21 @@ gfloat key_value_map_get_float (KeyValueMap* self, const gchar* key, gfloat def) static gboolean bool_parse (const gchar* str) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; -#line 44 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 44 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (str != NULL, FALSE); -#line 45 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 45 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 45 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 45 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (g_strcmp0 (_tmp0_, "true") == 0) { -#line 46 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 46 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = TRUE; -#line 46 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 46 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 745 "KeyValueMap.c" } else { -#line 48 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 48 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = FALSE; -#line 48 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 48 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 751 "KeyValueMap.c" } diff --git a/src/util/Util.c b/src/util/Util.c index ec9f4ff..dd62cd6 100644 --- a/src/util/Util.c +++ b/src/util/Util.c @@ -1,4 +1,4 @@ -/* Util.c generated by valac 0.32.1, the Vala compiler +/* Util.c generated by valac 0.34.1, the Vala compiler * generated from Util.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/util/file.c b/src/util/file.c index b219fd2..b8f137f 100644 --- a/src/util/file.c +++ b/src/util/file.c @@ -1,4 +1,4 @@ -/* file.c generated by valac 0.32.1, the Vala compiler +/* file.c generated by valac 0.34.1, the Vala compiler * generated from file.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -411,37 +411,37 @@ static glong string_strnlen (gchar* str, glong maxlen) { glong _tmp1_ = 0L; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = str; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = maxlen; -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); -#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp2_; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = end; -#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { #line 427 "file.c" glong _tmp4_ = 0L; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 435 "file.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = str; -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (glong) (_tmp5_ - _tmp6_); -#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 447 "file.c" } @@ -461,112 +461,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { glong _tmp20_ = 0L; glong _tmp21_ = 0L; gchar* _tmp22_ = NULL; -#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = offset; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { #line 471 "file.c" glong _tmp2_ = 0L; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); #line 477 "file.c" } else { -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; #line 481 "file.c" } -#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { #line 485 "file.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = offset; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = len; -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); -#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; #line 497 "file.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = strlen (self); -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = _tmp6_; -#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; #line 507 "file.c" } -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; -#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { #line 513 "file.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = string_length; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = offset; -#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" offset = _tmp9_ + _tmp10_; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = offset; -#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); #line 527 "file.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = offset; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = string_length; -#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); #line 537 "file.c" } -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; -#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { #line 543 "file.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = offset; -#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; #line 552 "file.c" } -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = len; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = string_length; -#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = offset; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = len; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp22_; -#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 572 "file.c" } diff --git a/src/util/image.c b/src/util/image.c index 2b415a8..36c03ad 100644 --- a/src/util/image.c +++ b/src/util/image.c @@ -1,4 +1,4 @@ -/* image.c generated by valac 0.32.1, the Vala compiler +/* image.c generated by valac 0.34.1, the Vala compiler * generated from image.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/util/misc.c b/src/util/misc.c index b8101f1..282f51f 100644 --- a/src/util/misc.c +++ b/src/util/misc.c @@ -1,4 +1,4 @@ -/* misc.c generated by valac 0.32.1, the Vala compiler +/* misc.c generated by valac 0.34.1, the Vala compiler * generated from misc.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -687,7 +687,7 @@ gchar* md5_file (GFile* file, GError** error) { #line 90 "/home/jens/Source/shotwell/src/util/misc.vala" _tmp6__length1 = buffer_length1; #line 90 "/home/jens/Source/shotwell/src/util/misc.vala" - _tmp7_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, G_TYPE_INPUT_STREAM, GInputStream), _tmp6_, (gsize) _tmp6__length1, NULL, &_inner_error_); + _tmp7_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, g_input_stream_get_type (), GInputStream), _tmp6_, (gsize) _tmp6__length1, NULL, &_inner_error_); #line 90 "/home/jens/Source/shotwell/src/util/misc.vala" bytes_read = (gsize) _tmp7_; #line 90 "/home/jens/Source/shotwell/src/util/misc.vala" @@ -730,7 +730,7 @@ gchar* md5_file (GFile* file, GError** error) { #line 98 "/home/jens/Source/shotwell/src/util/misc.vala" _tmp12_ = fins; #line 98 "/home/jens/Source/shotwell/src/util/misc.vala" - g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_); + g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); #line 98 "/home/jens/Source/shotwell/src/util/misc.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 737 "misc.c" @@ -1971,35 +1971,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = _tmp0_; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer_length1 = 64; -#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = buffer; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = format; -#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = buffer; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); -#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 2005 "misc.c" } @@ -3095,13 +3095,13 @@ void suppress_warnings (const gchar* log_domain, GLogLevelFlags log_levels, cons static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); -#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result = _result_; -#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; #line 3107 "misc.c" } diff --git a/src/util/string.c b/src/util/string.c index 4cfeedd..f2fe1cc 100644 --- a/src/util/string.c +++ b/src/util/string.c @@ -1,4 +1,4 @@ -/* string.c generated by valac 0.32.1, the Vala compiler +/* string.c generated by valac 0.34.1, the Vala compiler * generated from string.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -65,15 +65,15 @@ static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_ = 0L; gchar _tmp1_ = '\0'; -#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, '\0'); -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = ((gchar*) self)[_tmp0_]; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 79 "string.c" } @@ -614,19 +614,19 @@ static gchar* string_strip (const gchar* self) { gchar* _result_ = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strstrip (_tmp1_); -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 632 "string.c" } @@ -639,25 +639,25 @@ static gchar* string_delimit (const gchar* self, const gchar* delimiters, gchar const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar _tmp3_ = '\0'; -#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (delimiters != NULL, NULL); -#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup (self); -#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp0_; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _result_; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = delimiters; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = new_delimiter; -#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_strdelimit (_tmp1_, _tmp2_, _tmp3_); -#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _result_; -#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 663 "string.c" } @@ -895,33 +895,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde gunichar _tmp1_ = 0U; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = c; -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_); -#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 913 "string.c" gchar* _tmp4_ = NULL; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 921 "string.c" } else { -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 927 "string.c" } @@ -956,35 +956,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 976 "string.c" gchar* _tmp4_ = NULL; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 984 "string.c" } else { -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 990 "string.c" } @@ -1031,103 +1031,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { glong _tmp19_ = 0L; glong _tmp20_ = 0L; gchar* _tmp21_ = NULL; -#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, NULL); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = strlen (self); -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp0_; -#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp1_; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = start; -#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { #line 1047 "string.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = string_length; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = start; -#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; #line 1056 "string.c" } -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; -#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { #line 1062 "string.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = string_length; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp7_ = end; -#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; #line 1071 "string.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { #line 1077 "string.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = start; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = string_length; -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; #line 1086 "string.c" } else { -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; #line 1090 "string.c" } -#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp13_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { #line 1098 "string.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = end; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp15_ = string_length; -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; #line 1107 "string.c" } else { -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; #line 1111 "string.c" } -#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = start; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = end; -#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp18_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp19_ = end; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp20_ = start; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_)); -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp21_; -#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1133 "string.c" } @@ -1221,35 +1221,35 @@ static gint string_last_index_of (const gchar* self, const gchar* needle, gint s const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, 0); -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = needle; -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_strrstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); -#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 1241 "string.c" gchar* _tmp4_ = NULL; -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1249 "string.c" } else { -#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1255 "string.c" } @@ -1325,33 +1325,33 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start gunichar _tmp1_ = 0U; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1017 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0); -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = start_index; -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = c; -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_); -#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _result_ = _tmp2_; -#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = _result_; -#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { #line 1343 "string.c" gchar* _tmp4_ = NULL; -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = (gint) (_tmp4_ - ((gchar*) self)); -#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1351 "string.c" } else { -#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; -#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1357 "string.c" } @@ -1392,15 +1392,15 @@ static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_ = 0L; gunichar _tmp1_ = 0U; -#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, 0U); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = index; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp1_; -#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1406 "string.c" } @@ -1537,54 +1537,54 @@ static gboolean string_get_next_char (const gchar* self, gint* index, gunichar* gint _tmp0_ = 0; gunichar _tmp1_ = 0U; gunichar _tmp2_ = 0U; -#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = *index; -#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); -#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _vala_c = _tmp1_; -#line 1107 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1107 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _vala_c; -#line 1107 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1107 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ != ((gunichar) 0)) { #line 1553 "string.c" gint _tmp3_ = 0; gchar* _tmp4_ = NULL; -#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = *index; -#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = g_utf8_next_char (((gchar*) self) + _tmp3_); -#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *index = (gint) (_tmp4_ - ((gchar*) self)); -#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = TRUE; -#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (c) { -#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *c = _vala_c; #line 1568 "string.c" } -#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1572 "string.c" } else { -#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = FALSE; -#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (c) { -#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *c = _vala_c; #line 1580 "string.c" } -#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; #line 1584 "string.c" } -#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (c) { -#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" +#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *c = _vala_c; #line 1590 "string.c" } diff --git a/src/util/system.c b/src/util/system.c index cef9603..efb9d36 100644 --- a/src/util/system.c +++ b/src/util/system.c @@ -1,4 +1,4 @@ -/* system.c generated by valac 0.32.1, the Vala compiler +/* system.c generated by valac 0.34.1, the Vala compiler * generated from system.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/src/util/ui.c b/src/util/ui.c index 44ba054..ac81527 100644 --- a/src/util/ui.c +++ b/src/util/ui.c @@ -1,4 +1,4 @@ -/* ui.c generated by valac 0.32.1, the Vala compiler +/* ui.c generated by valac 0.34.1, the Vala compiler * generated from ui.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. diff --git a/thumbnailer/shotwell-video-thumbnailer.c b/thumbnailer/shotwell-video-thumbnailer.c index 5495ab8..7c0eefa 100644 --- a/thumbnailer/shotwell-video-thumbnailer.c +++ b/thumbnailer/shotwell-video-thumbnailer.c @@ -1,4 +1,4 @@ -/* shotwell-video-thumbnailer.c generated by valac 0.32.1, the Vala compiler +/* shotwell-video-thumbnailer.c generated by valac 0.34.1, the Vala compiler * generated from shotwell-video-thumbnailer.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. |