diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-21 19:17:10 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-21 19:17:10 +0100 |
commit | a7ff7c49085c320c1e0a2ffb66cc6d283c5acb8e (patch) | |
tree | d9f86def771c7845f241ec81219b243c70523c60 /src/Application.c | |
parent | 66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (diff) |
New upstream version 0.25.3upstream/0.25.3
Diffstat (limited to 'src/Application.c')
-rw-r--r-- | src/Application.c | 482 |
1 files changed, 229 insertions, 253 deletions
diff --git a/src/Application.c b/src/Application.c index 8d958cc..9d858e4 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.4, the Vala compiler * generated from Application.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -127,7 +127,6 @@ gboolean application_get_is_remote (void); gboolean application_get_is_direct (void); void application_set_accels_for_action (const gchar* action, gchar** accel, int accel_length1); void application_set_menubar (GMenuModel* model); -void application_set_appmenu (GMenuModel* model); GType page_window_get_type (void) G_GNUC_CONST; GType app_window_get_type (void) G_GNUC_CONST; GType library_window_get_type (void) G_GNUC_CONST; @@ -157,7 +156,7 @@ void application_set_raw_thumbs_fix_required (Application* self, gboolean should _tmp0_ = should_fixup; #line 25 "/home/jens/Source/shotwell/src/Application.vala" self->priv->fixup_raw_thumbs = _tmp0_; -#line 161 "Application.c" +#line 160 "Application.c" } @@ -172,14 +171,14 @@ gboolean application_get_raw_thumbs_fix_required (Application* self) { result = _tmp0_; #line 29 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 176 "Application.c" +#line 175 "Application.c" } static gpointer _g_object_ref0 (gpointer self) { #line 33 "/home/jens/Source/shotwell/src/Application.vala" return self ? g_object_ref (self) : NULL; -#line 183 "Application.c" +#line 182 "Application.c" } @@ -197,7 +196,7 @@ GtkApplication* application_get_system_app (Application* self) { result = _tmp1_; #line 33 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 201 "Application.c" +#line 200 "Application.c" } @@ -206,21 +205,21 @@ static gint _application_on_command_line_g_application_command_line (GApplicatio result = application_on_command_line (command_line); #line 65 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 210 "Application.c" +#line 209 "Application.c" } static void _application_on_activated_g_application_activate (GApplication* _sender, gpointer self) { #line 68 "/home/jens/Source/shotwell/src/Application.vala" application_on_activated (); -#line 217 "Application.c" +#line 216 "Application.c" } static void _application_on_activated_g_application_startup (GApplication* _sender, gpointer self) { #line 69 "/home/jens/Source/shotwell/src/Application.vala" application_on_activated (); -#line 224 "Application.c" +#line 223 "Application.c" } @@ -238,7 +237,7 @@ static Application* application_construct (GType object_type, gboolean is_direct _tmp0_ = is_direct; #line 40 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp0_) { -#line 242 "Application.c" +#line 241 "Application.c" GtkApplication* _tmp1_ = NULL; #line 45 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = gtk_application_new ("org.yorba.shotwell-direct", G_APPLICATION_HANDLES_OPEN | G_APPLICATION_NON_UNIQUE); @@ -246,7 +245,7 @@ static Application* application_construct (GType object_type, gboolean is_direct _g_object_unref0 (self->priv->system_app); #line 45 "/home/jens/Source/shotwell/src/Application.vala" self->priv->system_app = _tmp1_; -#line 250 "Application.c" +#line 249 "Application.c" } else { GtkApplication* _tmp2_ = NULL; #line 51 "/home/jens/Source/shotwell/src/Application.vala" @@ -255,7 +254,7 @@ static Application* application_construct (GType object_type, gboolean is_direct _g_object_unref0 (self->priv->system_app); #line 51 "/home/jens/Source/shotwell/src/Application.vala" self->priv->system_app = _tmp2_; -#line 259 "Application.c" +#line 258 "Application.c" } { GtkApplication* _tmp3_ = NULL; @@ -265,12 +264,12 @@ static Application* application_construct (GType object_type, gboolean is_direct g_application_register (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_application_get_type (), GApplication), NULL, &_inner_error_); #line 57 "/home/jens/Source/shotwell/src/Application.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 269 "Application.c" - goto __catch555_g_error; +#line 268 "Application.c" + goto __catch557_g_error; } } - goto __finally555; - __catch555_g_error: + goto __finally557; + __catch557_g_error: { GError* e = NULL; #line 56 "/home/jens/Source/shotwell/src/Application.vala" @@ -281,9 +280,9 @@ static Application* application_construct (GType object_type, gboolean is_direct application_panic (self); #line 56 "/home/jens/Source/shotwell/src/Application.vala" _g_error_free0 (e); -#line 285 "Application.c" +#line 284 "Application.c" } - __finally555: + __finally557: #line 56 "/home/jens/Source/shotwell/src/Application.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 56 "/home/jens/Source/shotwell/src/Application.vala" @@ -292,7 +291,7 @@ static Application* application_construct (GType object_type, gboolean is_direct g_clear_error (&_inner_error_); #line 56 "/home/jens/Source/shotwell/src/Application.vala" return NULL; -#line 296 "Application.c" +#line 295 "Application.c" } #line 62 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = is_direct; @@ -302,13 +301,13 @@ static Application* application_construct (GType object_type, gboolean is_direct _tmp5_ = self->priv->direct; #line 64 "/home/jens/Source/shotwell/src/Application.vala" if (!_tmp5_) { -#line 306 "Application.c" +#line 305 "Application.c" GtkApplication* _tmp6_ = NULL; #line 65 "/home/jens/Source/shotwell/src/Application.vala" _tmp6_ = self->priv->system_app; #line 65 "/home/jens/Source/shotwell/src/Application.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_application_get_type (), GApplication), "command-line", (GCallback) _application_on_command_line_g_application_command_line, NULL); -#line 312 "Application.c" +#line 311 "Application.c" } #line 68 "/home/jens/Source/shotwell/src/Application.vala" _tmp7_ = self->priv->system_app; @@ -320,14 +319,14 @@ static Application* application_construct (GType object_type, gboolean is_direct g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, g_application_get_type (), GApplication), "startup", (GCallback) _application_on_activated_g_application_startup, NULL); #line 39 "/home/jens/Source/shotwell/src/Application.vala" return self; -#line 324 "Application.c" +#line 323 "Application.c" } static Application* application_new (gboolean is_direct) { #line 39 "/home/jens/Source/shotwell/src/Application.vala" return application_construct (TYPE_APPLICATION, is_direct); -#line 331 "Application.c" +#line 330 "Application.c" } @@ -356,7 +355,7 @@ void application_send_to_primary_instance (gchar** argv, int argv_length1) { g_application_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_application_get_type (), GApplication), _tmp3__length1, _tmp3_); #line 78 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 360 "Application.c" +#line 359 "Application.c" } @@ -379,7 +378,7 @@ void application_present_primary_instance (void) { g_application_activate (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_application_get_type (), GApplication)); #line 87 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 383 "Application.c" +#line 382 "Application.c" } @@ -406,7 +405,7 @@ gboolean application_get_is_remote (void) { result = _tmp4_; #line 91 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 410 "Application.c" +#line 409 "Application.c" } @@ -430,7 +429,7 @@ gboolean application_get_is_direct (void) { result = _tmp3_; #line 95 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 434 "Application.c" +#line 433 "Application.c" } @@ -459,7 +458,7 @@ void application_set_accels_for_action (const gchar* action, gchar** accel, int gtk_application_set_accels_for_action (_tmp2_, _tmp3_, _tmp4_); #line 99 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 463 "Application.c" +#line 462 "Application.c" } @@ -482,30 +481,7 @@ void application_set_menubar (GMenuModel* model) { gtk_application_set_menubar (_tmp2_, _tmp3_); #line 103 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 486 "Application.c" -} - - -void application_set_appmenu (GMenuModel* model) { - Application* _tmp0_ = NULL; - Application* _tmp1_ = NULL; - GtkApplication* _tmp2_ = NULL; - GMenuModel* _tmp3_ = NULL; -#line 106 "/home/jens/Source/shotwell/src/Application.vala" - g_return_if_fail ((model == NULL) || G_IS_MENU_MODEL (model)); -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - _tmp0_ = application_get_instance (); -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - _tmp1_ = _tmp0_; -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - _tmp2_ = _tmp1_->priv->system_app; -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - _tmp3_ = model; -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - gtk_application_set_app_menu (_tmp2_, _tmp3_); -#line 107 "/home/jens/Source/shotwell/src/Application.vala" - _application_unref0 (_tmp1_); -#line 509 "Application.c" +#line 485 "Application.c" } @@ -514,7 +490,7 @@ void application_set_appmenu (GMenuModel* model) { * * The most likely scenario for this to be fired is if the user * either tried to run us twice in library mode, or we've just gotten - * a camera/removeable-storage mount; in either case, the remote instance + * a camera/removable-storage mount; in either case, the remote instance * will trigger this and exit, and we'll need to bring the window back up... */ void application_on_activated (void) { @@ -525,58 +501,58 @@ void application_on_activated (void) { LibraryWindow* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; LibraryWindow* _tmp5_ = NULL; -#line 119 "/home/jens/Source/shotwell/src/Application.vala" +#line 115 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = application_get_instance (); -#line 119 "/home/jens/Source/shotwell/src/Application.vala" +#line 115 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = _tmp0_; -#line 119 "/home/jens/Source/shotwell/src/Application.vala" +#line 115 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 121 "/home/jens/Source/shotwell/src/Application.vala" +#line 117 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = app_window_get_instance (); -#line 121 "/home/jens/Source/shotwell/src/Application.vala" +#line 117 "/home/jens/Source/shotwell/src/Application.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_LIBRARY_WINDOW) ? ((LibraryWindow*) _tmp2_) : NULL; -#line 121 "/home/jens/Source/shotwell/src/Application.vala" +#line 117 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp3_ == NULL) { -#line 121 "/home/jens/Source/shotwell/src/Application.vala" +#line 117 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp2_); -#line 543 "Application.c" +#line 519 "Application.c" } -#line 121 "/home/jens/Source/shotwell/src/Application.vala" +#line 117 "/home/jens/Source/shotwell/src/Application.vala" lw = _tmp3_; -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" _tmp5_ = lw; -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp5_ != NULL) { -#line 551 "Application.c" +#line 527 "Application.c" gboolean _tmp6_ = FALSE; -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" _tmp6_ = application_get_is_direct (); -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = !_tmp6_; -#line 557 "Application.c" +#line 533 "Application.c" } else { -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = FALSE; -#line 561 "Application.c" +#line 537 "Application.c" } -#line 122 "/home/jens/Source/shotwell/src/Application.vala" +#line 118 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp4_) { -#line 565 "Application.c" +#line 541 "Application.c" LibraryWindow* _tmp7_ = NULL; LibraryWindow* _tmp8_ = NULL; -#line 123 "/home/jens/Source/shotwell/src/Application.vala" +#line 119 "/home/jens/Source/shotwell/src/Application.vala" _tmp7_ = library_window_get_app (); -#line 123 "/home/jens/Source/shotwell/src/Application.vala" +#line 119 "/home/jens/Source/shotwell/src/Application.vala" _tmp8_ = _tmp7_; -#line 123 "/home/jens/Source/shotwell/src/Application.vala" +#line 119 "/home/jens/Source/shotwell/src/Application.vala" gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow)); -#line 123 "/home/jens/Source/shotwell/src/Application.vala" +#line 119 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp8_); -#line 576 "Application.c" +#line 552 "Application.c" } -#line 118 "/home/jens/Source/shotwell/src/Application.vala" +#line 114 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (lw); -#line 580 "Application.c" +#line 556 "Application.c" } @@ -598,101 +574,101 @@ gint application_on_command_line (GApplicationCommandLine* acl) { gint _argv_size_ = 0; gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 135 "/home/jens/Source/shotwell/src/Application.vala" +#line 131 "/home/jens/Source/shotwell/src/Application.vala" g_return_val_if_fail (G_IS_APPLICATION_COMMAND_LINE (acl), 0); -#line 136 "/home/jens/Source/shotwell/src/Application.vala" +#line 132 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = acl; -#line 136 "/home/jens/Source/shotwell/src/Application.vala" +#line 132 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = g_application_command_line_get_arguments (_tmp0_, &_tmp1_); -#line 136 "/home/jens/Source/shotwell/src/Application.vala" +#line 132 "/home/jens/Source/shotwell/src/Application.vala" argv = _tmp2_; -#line 136 "/home/jens/Source/shotwell/src/Application.vala" +#line 132 "/home/jens/Source/shotwell/src/Application.vala" argv_length1 = _tmp1_; -#line 136 "/home/jens/Source/shotwell/src/Application.vala" +#line 132 "/home/jens/Source/shotwell/src/Application.vala" _argv_size_ = argv_length1; -#line 138 "/home/jens/Source/shotwell/src/Application.vala" +#line 134 "/home/jens/Source/shotwell/src/Application.vala" _tmp3_ = argv; -#line 138 "/home/jens/Source/shotwell/src/Application.vala" +#line 134 "/home/jens/Source/shotwell/src/Application.vala" _tmp3__length1 = argv_length1; -#line 138 "/home/jens/Source/shotwell/src/Application.vala" +#line 134 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp3_ != NULL) { -#line 620 "Application.c" +#line 596 "Application.c" gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = argv; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" _tmp4__length1 = argv_length1; -#line 627 "Application.c" +#line 603 "Application.c" { gchar** s_collection = NULL; gint s_collection_length1 = 0; gint _s_collection_size_ = 0; gint s_it = 0; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" s_collection = _tmp4_; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" s_collection_length1 = _tmp4__length1; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" for (s_it = 0; s_it < _tmp4__length1; s_it = s_it + 1) { -#line 639 "Application.c" +#line 615 "Application.c" gchar* _tmp5_ = NULL; gchar* s = NULL; -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" _tmp5_ = g_strdup (s_collection[s_it]); -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" s = _tmp5_; -#line 646 "Application.c" +#line 622 "Application.c" { LibraryWindow* lw = NULL; AppWindow* _tmp6_ = NULL; LibraryWindow* _tmp7_ = NULL; LibraryWindow* _tmp8_ = NULL; -#line 140 "/home/jens/Source/shotwell/src/Application.vala" +#line 136 "/home/jens/Source/shotwell/src/Application.vala" _tmp6_ = app_window_get_instance (); -#line 140 "/home/jens/Source/shotwell/src/Application.vala" +#line 136 "/home/jens/Source/shotwell/src/Application.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, TYPE_LIBRARY_WINDOW) ? ((LibraryWindow*) _tmp6_) : NULL; -#line 140 "/home/jens/Source/shotwell/src/Application.vala" +#line 136 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp7_ == NULL) { -#line 140 "/home/jens/Source/shotwell/src/Application.vala" +#line 136 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp6_); -#line 660 "Application.c" +#line 636 "Application.c" } -#line 140 "/home/jens/Source/shotwell/src/Application.vala" +#line 136 "/home/jens/Source/shotwell/src/Application.vala" lw = _tmp7_; -#line 141 "/home/jens/Source/shotwell/src/Application.vala" +#line 137 "/home/jens/Source/shotwell/src/Application.vala" _tmp8_ = lw; -#line 141 "/home/jens/Source/shotwell/src/Application.vala" +#line 137 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp8_ != NULL) { -#line 668 "Application.c" +#line 644 "Application.c" LibraryWindow* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 142 "/home/jens/Source/shotwell/src/Application.vala" +#line 138 "/home/jens/Source/shotwell/src/Application.vala" _tmp9_ = lw; -#line 142 "/home/jens/Source/shotwell/src/Application.vala" +#line 138 "/home/jens/Source/shotwell/src/Application.vala" _tmp10_ = s; -#line 142 "/home/jens/Source/shotwell/src/Application.vala" +#line 138 "/home/jens/Source/shotwell/src/Application.vala" library_window_mounted_camera_shell_notification (_tmp9_, _tmp10_, FALSE); -#line 677 "Application.c" +#line 653 "Application.c" } -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (lw); -#line 139 "/home/jens/Source/shotwell/src/Application.vala" +#line 135 "/home/jens/Source/shotwell/src/Application.vala" _g_free0 (s); -#line 683 "Application.c" +#line 659 "Application.c" } } } } -#line 146 "/home/jens/Source/shotwell/src/Application.vala" +#line 142 "/home/jens/Source/shotwell/src/Application.vala" application_on_activated (); -#line 147 "/home/jens/Source/shotwell/src/Application.vala" +#line 143 "/home/jens/Source/shotwell/src/Application.vala" result = 0; -#line 147 "/home/jens/Source/shotwell/src/Application.vala" +#line 143 "/home/jens/Source/shotwell/src/Application.vala" argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); -#line 147 "/home/jens/Source/shotwell/src/Application.vala" +#line 143 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 696 "Application.c" +#line 672 "Application.c" } @@ -709,22 +685,22 @@ gint application_on_command_line (GApplicationCommandLine* acl) { */ void application_init (gboolean is_direct) { Application* _tmp0_ = NULL; -#line 162 "/home/jens/Source/shotwell/src/Application.vala" +#line 158 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = application_instance; -#line 162 "/home/jens/Source/shotwell/src/Application.vala" +#line 158 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp0_ == NULL) { -#line 717 "Application.c" +#line 693 "Application.c" gboolean _tmp1_ = FALSE; Application* _tmp2_ = NULL; -#line 163 "/home/jens/Source/shotwell/src/Application.vala" +#line 159 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = is_direct; -#line 163 "/home/jens/Source/shotwell/src/Application.vala" +#line 159 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = application_new (_tmp1_); -#line 163 "/home/jens/Source/shotwell/src/Application.vala" +#line 159 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (application_instance); -#line 163 "/home/jens/Source/shotwell/src/Application.vala" +#line 159 "/home/jens/Source/shotwell/src/Application.vala" application_instance = _tmp2_; -#line 728 "Application.c" +#line 704 "Application.c" } } @@ -732,22 +708,22 @@ void application_init (gboolean is_direct) { void application_terminate (void) { Application* _tmp0_ = NULL; Application* _tmp1_ = NULL; -#line 167 "/home/jens/Source/shotwell/src/Application.vala" +#line 163 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = application_get_instance (); -#line 167 "/home/jens/Source/shotwell/src/Application.vala" +#line 163 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = _tmp0_; -#line 167 "/home/jens/Source/shotwell/src/Application.vala" +#line 163 "/home/jens/Source/shotwell/src/Application.vala" application_exit (_tmp1_); -#line 167 "/home/jens/Source/shotwell/src/Application.vala" +#line 163 "/home/jens/Source/shotwell/src/Application.vala" _application_unref0 (_tmp1_); -#line 744 "Application.c" +#line 720 "Application.c" } static gpointer _application_ref0 (gpointer self) { -#line 173 "/home/jens/Source/shotwell/src/Application.vala" +#line 169 "/home/jens/Source/shotwell/src/Application.vala" return self ? application_ref (self) : NULL; -#line 751 "Application.c" +#line 727 "Application.c" } @@ -756,19 +732,19 @@ Application* application_get_instance (void) { Application* _tmp0_ = NULL; Application* _tmp1_ = NULL; Application* _tmp2_ = NULL; -#line 171 "/home/jens/Source/shotwell/src/Application.vala" +#line 167 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = application_instance; -#line 171 "/home/jens/Source/shotwell/src/Application.vala" +#line 167 "/home/jens/Source/shotwell/src/Application.vala" _vala_assert (_tmp0_ != NULL, "instance != null"); -#line 173 "/home/jens/Source/shotwell/src/Application.vala" +#line 169 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = application_instance; -#line 173 "/home/jens/Source/shotwell/src/Application.vala" +#line 169 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = _application_ref0 (_tmp1_); -#line 173 "/home/jens/Source/shotwell/src/Application.vala" +#line 169 "/home/jens/Source/shotwell/src/Application.vala" result = _tmp2_; -#line 173 "/home/jens/Source/shotwell/src/Application.vala" +#line 169 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 772 "Application.c" +#line 748 "Application.c" } @@ -788,78 +764,78 @@ void application_start (Application* self, gchar** argv, int argv_length1) { guint _tmp13_ = 0U; GtkApplication* _tmp14_ = NULL; guint _tmp15_ = 0U; -#line 176 "/home/jens/Source/shotwell/src/Application.vala" +#line 172 "/home/jens/Source/shotwell/src/Application.vala" g_return_if_fail (IS_APPLICATION (self)); -#line 177 "/home/jens/Source/shotwell/src/Application.vala" +#line 173 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = self->priv->running; -#line 177 "/home/jens/Source/shotwell/src/Application.vala" +#line 173 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp0_) { -#line 178 "/home/jens/Source/shotwell/src/Application.vala" +#line 174 "/home/jens/Source/shotwell/src/Application.vala" return; -#line 800 "Application.c" +#line 776 "Application.c" } -#line 180 "/home/jens/Source/shotwell/src/Application.vala" +#line 176 "/home/jens/Source/shotwell/src/Application.vala" self->priv->running = TRUE; -#line 182 "/home/jens/Source/shotwell/src/Application.vala" +#line 178 "/home/jens/Source/shotwell/src/Application.vala" g_signal_emit_by_name (self, "starting"); -#line 184 "/home/jens/Source/shotwell/src/Application.vala" +#line 180 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = app_window_get_instance (); -#line 184 "/home/jens/Source/shotwell/src/Application.vala" +#line 180 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = _tmp1_; -#line 184 "/home/jens/Source/shotwell/src/Application.vala" +#line 180 "/home/jens/Source/shotwell/src/Application.vala" _vala_assert (_tmp2_ != NULL, "AppWindow.get_instance() != null"); -#line 184 "/home/jens/Source/shotwell/src/Application.vala" +#line 180 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp2_); -#line 185 "/home/jens/Source/shotwell/src/Application.vala" +#line 181 "/home/jens/Source/shotwell/src/Application.vala" _tmp3_ = self->priv->system_app; -#line 185 "/home/jens/Source/shotwell/src/Application.vala" +#line 181 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = app_window_get_instance (); -#line 185 "/home/jens/Source/shotwell/src/Application.vala" +#line 181 "/home/jens/Source/shotwell/src/Application.vala" _tmp5_ = _tmp4_; -#line 185 "/home/jens/Source/shotwell/src/Application.vala" +#line 181 "/home/jens/Source/shotwell/src/Application.vala" gtk_application_add_window (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow)); -#line 185 "/home/jens/Source/shotwell/src/Application.vala" +#line 181 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp5_); -#line 186 "/home/jens/Source/shotwell/src/Application.vala" +#line 182 "/home/jens/Source/shotwell/src/Application.vala" _tmp6_ = self->priv->system_app; -#line 186 "/home/jens/Source/shotwell/src/Application.vala" +#line 182 "/home/jens/Source/shotwell/src/Application.vala" _tmp7_ = argv; -#line 186 "/home/jens/Source/shotwell/src/Application.vala" +#line 182 "/home/jens/Source/shotwell/src/Application.vala" _tmp7__length1 = argv_length1; -#line 186 "/home/jens/Source/shotwell/src/Application.vala" +#line 182 "/home/jens/Source/shotwell/src/Application.vala" _tmp8_ = g_application_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_application_get_type (), GApplication), _tmp7__length1, _tmp7_); -#line 186 "/home/jens/Source/shotwell/src/Application.vala" +#line 182 "/home/jens/Source/shotwell/src/Application.vala" self->priv->system_app_run_retval = _tmp8_; -#line 188 "/home/jens/Source/shotwell/src/Application.vala" +#line 184 "/home/jens/Source/shotwell/src/Application.vala" _tmp9_ = self->priv->direct; -#line 188 "/home/jens/Source/shotwell/src/Application.vala" +#line 184 "/home/jens/Source/shotwell/src/Application.vala" if (!_tmp9_) { -#line 838 "Application.c" +#line 814 "Application.c" GtkApplication* _tmp10_ = NULL; guint _tmp11_ = 0U; -#line 189 "/home/jens/Source/shotwell/src/Application.vala" +#line 185 "/home/jens/Source/shotwell/src/Application.vala" _tmp10_ = self->priv->system_app; -#line 189 "/home/jens/Source/shotwell/src/Application.vala" +#line 185 "/home/jens/Source/shotwell/src/Application.vala" g_signal_parse_name ("command-line", g_application_get_type (), &_tmp11_, NULL, FALSE); -#line 189 "/home/jens/Source/shotwell/src/Application.vala" +#line 185 "/home/jens/Source/shotwell/src/Application.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _application_on_command_line_g_application_command_line, NULL); -#line 847 "Application.c" +#line 823 "Application.c" } -#line 192 "/home/jens/Source/shotwell/src/Application.vala" +#line 188 "/home/jens/Source/shotwell/src/Application.vala" _tmp12_ = self->priv->system_app; -#line 192 "/home/jens/Source/shotwell/src/Application.vala" +#line 188 "/home/jens/Source/shotwell/src/Application.vala" g_signal_parse_name ("activate", g_application_get_type (), &_tmp13_, NULL, FALSE); -#line 192 "/home/jens/Source/shotwell/src/Application.vala" +#line 188 "/home/jens/Source/shotwell/src/Application.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _application_on_activated_g_application_activate, NULL); -#line 193 "/home/jens/Source/shotwell/src/Application.vala" +#line 189 "/home/jens/Source/shotwell/src/Application.vala" _tmp14_ = self->priv->system_app; -#line 193 "/home/jens/Source/shotwell/src/Application.vala" +#line 189 "/home/jens/Source/shotwell/src/Application.vala" g_signal_parse_name ("startup", g_application_get_type (), &_tmp15_, NULL, FALSE); -#line 193 "/home/jens/Source/shotwell/src/Application.vala" +#line 189 "/home/jens/Source/shotwell/src/Application.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp15_, 0, NULL, (GCallback) _application_on_activated_g_application_startup, NULL); -#line 195 "/home/jens/Source/shotwell/src/Application.vala" +#line 191 "/home/jens/Source/shotwell/src/Application.vala" self->priv->running = FALSE; -#line 863 "Application.c" +#line 839 "Application.c" } @@ -867,58 +843,58 @@ void application_exit (Application* self) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; GtkApplication* _tmp3_ = NULL; -#line 198 "/home/jens/Source/shotwell/src/Application.vala" +#line 194 "/home/jens/Source/shotwell/src/Application.vala" g_return_if_fail (IS_APPLICATION (self)); -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = self->priv->exiting_fired; -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp1_) { -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = TRUE; -#line 879 "Application.c" +#line 855 "Application.c" } else { gboolean _tmp2_ = FALSE; -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = self->priv->running; -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = !_tmp2_; -#line 886 "Application.c" +#line 862 "Application.c" } -#line 201 "/home/jens/Source/shotwell/src/Application.vala" +#line 197 "/home/jens/Source/shotwell/src/Application.vala" if (_tmp0_) { -#line 202 "/home/jens/Source/shotwell/src/Application.vala" +#line 198 "/home/jens/Source/shotwell/src/Application.vala" return; -#line 892 "Application.c" +#line 868 "Application.c" } -#line 204 "/home/jens/Source/shotwell/src/Application.vala" +#line 200 "/home/jens/Source/shotwell/src/Application.vala" self->priv->exiting_fired = TRUE; -#line 206 "/home/jens/Source/shotwell/src/Application.vala" +#line 202 "/home/jens/Source/shotwell/src/Application.vala" g_signal_emit_by_name (self, "exiting", FALSE); -#line 208 "/home/jens/Source/shotwell/src/Application.vala" +#line 204 "/home/jens/Source/shotwell/src/Application.vala" _tmp3_ = self->priv->system_app; -#line 208 "/home/jens/Source/shotwell/src/Application.vala" +#line 204 "/home/jens/Source/shotwell/src/Application.vala" g_application_release (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_application_get_type (), GApplication)); -#line 902 "Application.c" +#line 878 "Application.c" } void application_panic (Application* self) { gboolean _tmp0_ = FALSE; -#line 213 "/home/jens/Source/shotwell/src/Application.vala" +#line 209 "/home/jens/Source/shotwell/src/Application.vala" g_return_if_fail (IS_APPLICATION (self)); -#line 214 "/home/jens/Source/shotwell/src/Application.vala" +#line 210 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = self->priv->exiting_fired; -#line 214 "/home/jens/Source/shotwell/src/Application.vala" +#line 210 "/home/jens/Source/shotwell/src/Application.vala" if (!_tmp0_) { -#line 215 "/home/jens/Source/shotwell/src/Application.vala" +#line 211 "/home/jens/Source/shotwell/src/Application.vala" self->priv->exiting_fired = TRUE; -#line 216 "/home/jens/Source/shotwell/src/Application.vala" +#line 212 "/home/jens/Source/shotwell/src/Application.vala" g_signal_emit_by_name (self, "exiting", TRUE); -#line 918 "Application.c" +#line 894 "Application.c" } -#line 218 "/home/jens/Source/shotwell/src/Application.vala" +#line 214 "/home/jens/Source/shotwell/src/Application.vala" exit (1); -#line 922 "Application.c" +#line 898 "Application.c" } @@ -938,29 +914,29 @@ guint application_inhibit (Application* self, GtkApplicationInhibitFlags what, c const gchar* _tmp4_ = NULL; guint _tmp5_ = 0U; guint _tmp6_ = 0U; -#line 228 "/home/jens/Source/shotwell/src/Application.vala" +#line 224 "/home/jens/Source/shotwell/src/Application.vala" g_return_val_if_fail (IS_APPLICATION (self), 0U); -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = self->priv->system_app; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = app_window_get_instance (); -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp2_ = _tmp1_; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp3_ = what; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp4_ = reason; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp5_ = gtk_application_inhibit (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_window_get_type (), GtkWindow), _tmp3_, _tmp4_); -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _tmp6_ = _tmp5_; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (_tmp2_); -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" result = _tmp6_; -#line 229 "/home/jens/Source/shotwell/src/Application.vala" +#line 225 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 964 "Application.c" +#line 940 "Application.c" } @@ -971,30 +947,30 @@ guint application_inhibit (Application* self, GtkApplicationInhibitFlags what, c void application_uninhibit (Application* self, guint cookie) { GtkApplication* _tmp0_ = NULL; guint _tmp1_ = 0U; -#line 236 "/home/jens/Source/shotwell/src/Application.vala" +#line 232 "/home/jens/Source/shotwell/src/Application.vala" g_return_if_fail (IS_APPLICATION (self)); -#line 237 "/home/jens/Source/shotwell/src/Application.vala" +#line 233 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = self->priv->system_app; -#line 237 "/home/jens/Source/shotwell/src/Application.vala" +#line 233 "/home/jens/Source/shotwell/src/Application.vala" _tmp1_ = cookie; -#line 237 "/home/jens/Source/shotwell/src/Application.vala" +#line 233 "/home/jens/Source/shotwell/src/Application.vala" gtk_application_uninhibit (_tmp0_, _tmp1_); -#line 983 "Application.c" +#line 959 "Application.c" } gint application_get_run_return_value (Application* self) { gint result = 0; gint _tmp0_ = 0; -#line 240 "/home/jens/Source/shotwell/src/Application.vala" +#line 236 "/home/jens/Source/shotwell/src/Application.vala" g_return_val_if_fail (IS_APPLICATION (self), 0); -#line 241 "/home/jens/Source/shotwell/src/Application.vala" +#line 237 "/home/jens/Source/shotwell/src/Application.vala" _tmp0_ = self->priv->system_app_run_retval; -#line 241 "/home/jens/Source/shotwell/src/Application.vala" +#line 237 "/home/jens/Source/shotwell/src/Application.vala" result = _tmp0_; -#line 241 "/home/jens/Source/shotwell/src/Application.vala" +#line 237 "/home/jens/Source/shotwell/src/Application.vala" return result; -#line 998 "Application.c" +#line 974 "Application.c" } @@ -1013,7 +989,7 @@ static void application_real_init_done (Application* self) { static void value_application_init (GValue* value) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = NULL; -#line 1017 "Application.c" +#line 993 "Application.c" } @@ -1022,7 +998,7 @@ static void value_application_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" application_unref (value->data[0].v_pointer); -#line 1026 "Application.c" +#line 1002 "Application.c" } } @@ -1032,11 +1008,11 @@ static void value_application_copy_value (const GValue* src_value, GValue* dest_ if (src_value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" dest_value->data[0].v_pointer = application_ref (src_value->data[0].v_pointer); -#line 1036 "Application.c" +#line 1012 "Application.c" } else { #line 7 "/home/jens/Source/shotwell/src/Application.vala" dest_value->data[0].v_pointer = NULL; -#line 1040 "Application.c" +#line 1016 "Application.c" } } @@ -1044,37 +1020,37 @@ static void value_application_copy_value (const GValue* src_value, GValue* dest_ static gpointer value_application_peek_pointer (const GValue* value) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" return value->data[0].v_pointer; -#line 1048 "Application.c" +#line 1024 "Application.c" } static gchar* value_application_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" if (collect_values[0].v_pointer) { -#line 1055 "Application.c" +#line 1031 "Application.c" Application* object; object = collect_values[0].v_pointer; #line 7 "/home/jens/Source/shotwell/src/Application.vala" if (object->parent_instance.g_class == NULL) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1062 "Application.c" +#line 1038 "Application.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1066 "Application.c" +#line 1042 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = application_ref (object); -#line 1070 "Application.c" +#line 1046 "Application.c" } else { #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = NULL; -#line 1074 "Application.c" +#line 1050 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" return NULL; -#line 1078 "Application.c" +#line 1054 "Application.c" } @@ -1085,25 +1061,25 @@ static gchar* value_application_lcopy_value (const GValue* value, guint n_collec if (!object_p) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1089 "Application.c" +#line 1065 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" if (!value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" *object_p = NULL; -#line 1095 "Application.c" +#line 1071 "Application.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" *object_p = value->data[0].v_pointer; -#line 1099 "Application.c" +#line 1075 "Application.c" } else { #line 7 "/home/jens/Source/shotwell/src/Application.vala" *object_p = application_ref (value->data[0].v_pointer); -#line 1103 "Application.c" +#line 1079 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" return NULL; -#line 1107 "Application.c" +#line 1083 "Application.c" } @@ -1117,7 +1093,7 @@ GParamSpec* param_spec_application (const gchar* name, const gchar* nick, const G_PARAM_SPEC (spec)->value_type = object_type; #line 7 "/home/jens/Source/shotwell/src/Application.vala" return G_PARAM_SPEC (spec); -#line 1121 "Application.c" +#line 1097 "Application.c" } @@ -1126,7 +1102,7 @@ gpointer value_get_application (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_APPLICATION), NULL); #line 7 "/home/jens/Source/shotwell/src/Application.vala" return value->data[0].v_pointer; -#line 1130 "Application.c" +#line 1106 "Application.c" } @@ -1146,17 +1122,17 @@ void value_set_application (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 7 "/home/jens/Source/shotwell/src/Application.vala" application_ref (value->data[0].v_pointer); -#line 1150 "Application.c" +#line 1126 "Application.c" } else { #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = NULL; -#line 1154 "Application.c" +#line 1130 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" if (old) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" application_unref (old); -#line 1160 "Application.c" +#line 1136 "Application.c" } } @@ -1175,17 +1151,17 @@ void value_take_application (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = v_object; -#line 1179 "Application.c" +#line 1155 "Application.c" } else { #line 7 "/home/jens/Source/shotwell/src/Application.vala" value->data[0].v_pointer = NULL; -#line 1183 "Application.c" +#line 1159 "Application.c" } #line 7 "/home/jens/Source/shotwell/src/Application.vala" if (old) { #line 7 "/home/jens/Source/shotwell/src/Application.vala" application_unref (old); -#line 1189 "Application.c" +#line 1165 "Application.c" } } @@ -1209,7 +1185,7 @@ static void application_class_init (ApplicationClass * klass) { g_signal_new ("exiting", TYPE_APPLICATION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ApplicationClass, exiting), NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN); #line 7 "/home/jens/Source/shotwell/src/Application.vala" g_signal_new ("init_done", TYPE_APPLICATION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ApplicationClass, init_done), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1213 "Application.c" +#line 1189 "Application.c" } @@ -1228,7 +1204,7 @@ static void application_instance_init (Application * self) { self->priv->exiting_fired = FALSE; #line 7 "/home/jens/Source/shotwell/src/Application.vala" self->ref_count = 1; -#line 1232 "Application.c" +#line 1208 "Application.c" } @@ -1240,7 +1216,7 @@ static void application_finalize (Application* obj) { g_signal_handlers_destroy (self); #line 9 "/home/jens/Source/shotwell/src/Application.vala" _g_object_unref0 (self->priv->system_app); -#line 1244 "Application.c" +#line 1220 "Application.c" } @@ -1265,7 +1241,7 @@ gpointer application_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 7 "/home/jens/Source/shotwell/src/Application.vala" return instance; -#line 1269 "Application.c" +#line 1245 "Application.c" } @@ -1278,7 +1254,7 @@ void application_unref (gpointer instance) { APPLICATION_GET_CLASS (self)->finalize (self); #line 7 "/home/jens/Source/shotwell/src/Application.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1282 "Application.c" +#line 1258 "Application.c" } } |