From b076314018e4b53d745823754a26eb6fb73a2801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Oct 2016 05:08:19 +0200 Subject: New upstream version 0.24.1 --- src/.unitize/_CameraInternals.c | 2 +- src/.unitize/_ConfigInternals.c | 2 +- src/.unitize/_CoreInternals.c | 2 +- src/.unitize/_DataImportsInternals.c | 2 +- src/.unitize/_DbInternals.c | 2 +- src/.unitize/_DirectInternals.c | 2 +- src/.unitize/_Direct_unitize_entry.c | 2 +- src/.unitize/_EditingToolsInternals.c | 2 +- src/.unitize/_EventsInternals.c | 2 +- src/.unitize/_FoldersInternals.c | 2 +- src/.unitize/_LibraryInternals.c | 2 +- src/.unitize/_Library_unitize_entry.c | 2 +- src/.unitize/_PhotosInternals.c | 2 +- src/.unitize/_PluginsInternals.c | 2 +- src/.unitize/_PublishingInternals.c | 2 +- src/.unitize/_SearchesInternals.c | 2 +- src/.unitize/_SidebarInternals.c | 2 +- src/.unitize/_SlideshowInternals.c | 2 +- src/.unitize/_TagsInternals.c | 2 +- src/.unitize/_ThreadsInternals.c | 2 +- src/.unitize/_UnitInternals.c | 2 +- src/.unitize/_UtilInternals.c | 2 +- src/AppDirs.c | 2 +- src/AppWindow.c | 3890 +++++++++++++++--------------- src/AppWindow.vala | 3 + src/Application.c | 2 +- src/BatchImport.c | 2 +- src/Box.c | 2 +- src/CheckerboardLayout.c | 194 +- src/CollectionPage.c | 2 +- src/ColorTransformation.c | 30 +- src/CommandManager.c | 2 +- src/Commands.c | 184 +- src/CustomComponents.c | 2 +- src/Debug.c | 28 +- src/DesktopIntegration.c | 18 +- src/Dialogs.c | 238 +- src/Dimensions.c | 2 +- src/DirectoryMonitor.c | 2 +- src/Event.c | 1902 +++++++-------- src/Event.vala | 4 +- src/Exporter.c | 2 +- src/International.c | 2 +- src/LibraryFiles.c | 2 +- src/LibraryMonitor.c | 2 +- src/MediaDataRepresentation.c | 6 +- src/MediaDataRepresentation.vala | 4 +- src/MediaInterfaces.c | 2 +- src/MediaMetadata.c | 40 +- src/MediaMonitor.c | 6 +- src/MediaMonitor.vala | 4 +- src/MediaPage.c | 2 +- src/MediaViewTracker.c | 2 +- src/MetadataWriter.c | 2 +- src/NaturalCollate.c | 148 +- src/Orientation.c | 2 +- src/Page.c | 2 +- src/Photo.c | 104 +- src/PhotoMonitor.c | 2 +- src/PhotoPage.c | 6 +- src/PhotoPage.vala | 2 +- src/PixbufCache.c | 2 +- src/Printing.c | 34 +- src/Properties.c | 232 +- src/Resources.c | 7 +- src/Resources.vala | 5 +- src/Screensaver.c | 2 +- src/SearchFilter.c | 14 +- src/SlideshowPage.c | 2 +- src/SortedList.c | 2 +- src/Tag.c | 130 +- src/Tag.vala | 4 +- src/Thumbnail.c | 2 +- src/ThumbnailCache.c | 2 +- src/TimedQueue.c | 2 +- src/Tombstone.c | 2 +- src/UnityProgressBar.c | 2 +- src/Upgrades.c | 2 +- src/VideoMetadata.c | 142 +- src/VideoMonitor.c | 2 +- src/VideoSupport.c | 78 +- src/camera/Branch.c | 2 +- src/camera/Camera.c | 2 +- src/camera/CameraTable.c | 184 +- src/camera/GPhoto.c | 82 +- src/camera/ImportPage.c | 98 +- src/config/Config.c | 2 +- src/config/ConfigurationInterfaces.c | 40 +- src/config/GSettingsEngine.c | 198 +- src/core/Alteration.c | 16 +- src/core/ContainerSourceCollection.c | 960 ++++---- src/core/ContainerSourceCollection.vala | 13 +- src/core/Core.c | 2 +- src/core/DataCollection.c | 2 +- src/core/DataObject.c | 2 +- src/core/DataSet.c | 2 +- src/core/DataSource.c | 38 +- src/core/DataSourceTypes.c | 2 +- src/core/DataView.c | 2 +- src/core/DataViewTypes.c | 2 +- src/core/DatabaseSourceCollection.c | 2 +- src/core/SourceCollection.c | 2 +- src/core/SourceHoldingTank.c | 2 +- src/core/SourceInterfaces.c | 2 +- src/core/Tracker.c | 2 +- src/core/ViewCollection.c | 2542 +++++++++---------- src/core/ViewCollection.vala | 3 +- src/core/util.c | 2 +- src/data_imports/DataImportJob.c | 2 +- src/data_imports/DataImportSource.c | 2 +- src/data_imports/DataImports.c | 2 +- src/data_imports/DataImportsPluginHost.c | 2 +- src/data_imports/DataImportsUI.c | 2 +- src/db/DatabaseTable.c | 1763 +++++++------- src/db/DatabaseTable.vala | 10 +- src/db/Db.c | 2 +- src/db/EventTable.c | 2 +- src/db/PhotoTable.c | 2 +- src/db/SavedSearchDBTable.c | 2 +- src/db/TagTable.c | 92 +- src/db/TombstoneTable.c | 2 +- src/db/VersionTable.c | 2 +- src/db/VideoTable.c | 2 +- src/direct/Direct.c | 2 +- src/direct/DirectPhoto.c | 2 +- src/direct/DirectPhotoPage.c | 2 +- src/direct/DirectView.c | 2 +- src/direct/DirectWindow.c | 2 +- src/editing_tools/EditingTools.c | 12 +- src/editing_tools/StraightenTool.c | 2 +- src/events/Branch.c | 40 +- src/events/EventDirectoryItem.c | 2 +- src/events/EventPage.c | 2 +- src/events/Events.c | 2 +- src/events/EventsDirectoryPage.c | 52 +- src/folders/Branch.c | 2 +- src/folders/Folders.c | 2 +- src/folders/Page.c | 2 +- src/library/Branch.c | 2 +- src/library/FlaggedPage.c | 2 +- src/library/FlaggedSidebarEntry.c | 2 +- src/library/ImportQueuePage.c | 2 +- src/library/ImportQueueSidebarEntry.c | 2 +- src/library/LastImportPage.c | 2 +- src/library/LastImportSidebarEntry.c | 2 +- src/library/Library.c | 2 +- src/library/LibraryWindow.c | 82 +- src/library/OfflinePage.c | 2 +- src/library/OfflineSidebarEntry.c | 2 +- src/library/TrashPage.c | 2 +- src/library/TrashSidebarEntry.c | 2 +- src/main.c | 628 ++--- src/main.vala | 3 + src/photos/BmpSupport.c | 4 +- src/photos/GRaw.c | 4 +- src/photos/GdkSupport.c | 6 +- src/photos/JfifSupport.c | 4 +- src/photos/PhotoFileAdapter.c | 2 +- src/photos/PhotoFileFormat.c | 2 +- src/photos/PhotoFileSniffer.c | 2 +- src/photos/PhotoMetadata.c | 1460 ++++++----- src/photos/PhotoMetadata.vala | 2 +- src/photos/Photos.c | 2 +- src/photos/PngSupport.c | 4 +- src/photos/RawSupport.c | 2 +- src/photos/TiffSupport.c | 4 +- src/plugins/DataImportsInterfaces.c | 2 +- src/plugins/ManifestWidget.c | 16 +- src/plugins/Plugins.c | 2 +- src/plugins/PublishingInterfaces.c | 2 +- src/plugins/SpitInterfaces.c | 2 +- src/plugins/StandardHostInterface.c | 2 +- src/plugins/TransitionsInterfaces.c | 2 +- src/publishing/APIGlue.c | 2 +- src/publishing/Publishing.c | 2 +- src/publishing/PublishingPluginHost.c | 2 +- src/publishing/PublishingUI.c | 2 +- src/searches/Branch.c | 2 +- src/searches/SavedSearchDialog.c | 16 +- src/searches/SavedSearchPage.c | 2 +- src/searches/SearchBoolean.c | 14 +- src/searches/Searches.c | 2 +- src/sidebar/Branch.c | 2 +- src/sidebar/Entry.c | 2 +- src/sidebar/Sidebar.c | 2 +- src/sidebar/Tree.c | 2 +- src/sidebar/common.c | 2 +- src/slideshow/Slideshow.c | 2 +- src/slideshow/TransitionEffects.c | 2 +- src/tags/Branch.c | 114 +- src/tags/HierarchicalTagIndex.c | 2 +- src/tags/HierarchicalTagUtilities.c | 448 ++-- src/tags/TagPage.c | 2 +- src/tags/Tags.c | 2 +- src/threads/BackgroundJob.c | 2 +- src/threads/Semaphore.c | 2 +- src/threads/Threads.c | 2 +- src/threads/Workers.c | 2 +- src/unit/Unit.c | 2 +- src/util/KeyValueMap.c | 58 +- src/util/Util.c | 2 +- src/util/file.c | 104 +- src/util/image.c | 2 +- src/util/misc.c | 44 +- src/util/string.c | 268 +- src/util/system.c | 2 +- src/util/ui.c | 2 +- 207 files changed, 8609 insertions(+), 8558 deletions(-) (limited to 'src') 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 = "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 = "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 = "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 = "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 = "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 = "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. diff --git a/src/Box.c b/src/Box.c index 0ebb6da..3cd73cc 100644 --- a/src/Box.c +++ b/src/Box.c @@ -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 media, out int photo_count, out int video_count) { - Gee.ArrayList photos = new Gee.ArrayList(); - Gee.ArrayList videos = new Gee.ArrayList(); + var photos = new Gee.ArrayList(); + var videos = new Gee.ArrayList