~ubuntu-branches/ubuntu/trusty/cheese/trusty

« back to all changes in this revision

Viewing changes to src/cheese-main.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-08-01 11:10:30 UTC
  • mfrom: (1.6.3)
  • Revision ID: package-import@ubuntu.com-20130801111030-7thzxkt3i4qzk1da
Tags: 3.8.3-0ubuntu1
* New upstream release
* debian/patches/fix-help-license.patch:
  - Clarify that the help files are under the CC-BY-SA 3.0 license
* debian/patches/fix-um-crop-license.patch:
  - Backport git commit relicensing this file as GPL-2+ instead of GPL-3+
* debian/copyright:
  - Updated and converted to the 1.0 copyright format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* cheese-main.c generated by valac 0.20.1, the Vala compiler
 
1
/* cheese-main.c generated by valac 0.20.1.54-6d076, the Vala compiler
2
2
 * generated from cheese-main.vala, do not modify */
3
3
 
4
4
/*
220
220
 
221
221
CheeseMain* cheese_main_construct (GType object_type, const gchar* app_id, GApplicationFlags flags) {
222
222
        CheeseMain * self = NULL;
223
 
        const gchar* _tmp0_;
224
 
        GApplicationFlags _tmp1_;
 
223
        const gchar* _tmp0_ = NULL;
 
224
        GApplicationFlags _tmp1_ = 0;
225
225
        g_return_val_if_fail (app_id != NULL, NULL);
226
226
        _tmp0_ = app_id;
227
227
        _tmp1_ = flags;
255
255
        g_return_if_fail (self != NULL);
256
256
        _tmp0_ = gtk_application_get_windows ((GtkApplication*) self);
257
257
        if (_tmp0_ != NULL) {
258
 
                CheeseMainWindow* _tmp1_;
 
258
                CheeseMainWindow* _tmp1_ = NULL;
259
259
                _tmp1_ = cheese_main_main_window;
260
260
                gtk_window_present ((GtkWindow*) _tmp1_);
261
261
        } else {
 
262
                GtkSettings* gtk_settings = NULL;
262
263
                GtkSettings* _tmp2_ = NULL;
263
 
                GtkSettings* _tmp3_;
264
 
                GtkSettings* gtk_settings;
265
 
                GtkSettings* _tmp4_;
266
 
                CheeseMainWindow* _tmp6_;
 
264
                GtkSettings* _tmp3_ = NULL;
 
265
                GtkSettings* _tmp4_ = NULL;
 
266
                CheeseMainWindow* _tmp6_ = NULL;
267
267
                const gchar* _tmp7_ = NULL;
268
268
                GtkIconTheme* _tmp8_ = NULL;
269
269
                gchar* _tmp9_ = NULL;
270
 
                gchar* _tmp10_;
271
 
                GMenu* _tmp11_;
272
 
                GMenu* menu;
273
 
                GMenu* _tmp12_;
274
 
                GMenu* section;
275
 
                GMenu* _tmp13_;
276
 
                GMenu* _tmp14_;
 
270
                gchar* _tmp10_ = NULL;
 
271
                GMenu* menu = NULL;
 
272
                GMenu* _tmp11_ = NULL;
 
273
                GMenu* section = NULL;
 
274
                GMenu* _tmp12_ = NULL;
 
275
                GMenu* _tmp13_ = NULL;
 
276
                GMenu* _tmp14_ = NULL;
 
277
                GMenuItem* item = NULL;
277
278
                const gchar* _tmp15_ = NULL;
278
 
                GMenuItem* _tmp16_;
279
 
                GMenuItem* item;
280
 
                GMenuItem* _tmp17_;
281
 
                GMenu* _tmp18_;
282
 
                GMenuItem* _tmp19_;
283
 
                GMenu* _tmp20_;
284
 
                GMenu* _tmp21_;
 
279
                GMenuItem* _tmp16_ = NULL;
 
280
                GMenuItem* _tmp17_ = NULL;
 
281
                GMenu* _tmp18_ = NULL;
 
282
                GMenuItem* _tmp19_ = NULL;
 
283
                GMenu* _tmp20_ = NULL;
 
284
                GMenu* _tmp21_ = NULL;
285
285
                const gchar* _tmp22_ = NULL;
286
 
                GMenu* _tmp23_;
287
 
                GMenu* _tmp24_;
 
286
                GMenu* _tmp23_ = NULL;
 
287
                GMenu* _tmp24_ = NULL;
288
288
                const gchar* _tmp25_ = NULL;
289
 
                GMenu* _tmp26_;
 
289
                GMenu* _tmp26_ = NULL;
290
290
                const gchar* _tmp27_ = NULL;
291
 
                GMenu* _tmp28_;
 
291
                GMenu* _tmp28_ = NULL;
292
292
                const gchar* _tmp29_ = NULL;
293
 
                GMenu* _tmp30_;
294
 
                GMenu* _tmp31_;
295
 
                GMenu* _tmp32_;
 
293
                GMenu* _tmp30_ = NULL;
 
294
                GMenu* _tmp31_ = NULL;
 
295
                GMenu* _tmp32_ = NULL;
296
296
                const gchar* _tmp33_ = NULL;
297
 
                GMenuItem* _tmp34_;
298
 
                GMenuItem* _tmp35_;
299
 
                GMenu* _tmp36_;
300
 
                GMenuItem* _tmp37_;
301
 
                GMenu* _tmp38_;
302
 
                GMenu* _tmp39_;
303
 
                GMenu* _tmp40_;
304
 
                GMenu* _tmp41_;
 
297
                GMenuItem* _tmp34_ = NULL;
 
298
                GMenuItem* _tmp35_ = NULL;
 
299
                GMenu* _tmp36_ = NULL;
 
300
                GMenuItem* _tmp37_ = NULL;
 
301
                GMenu* _tmp38_ = NULL;
 
302
                GMenu* _tmp39_ = NULL;
 
303
                GMenu* _tmp40_ = NULL;
 
304
                GMenu* _tmp41_ = NULL;
305
305
                const gchar* _tmp42_ = NULL;
306
 
                GMenu* _tmp43_;
307
 
                GMenu* _tmp44_;
308
 
                GMenu* _tmp45_;
309
 
                GMenu* _tmp46_;
 
306
                GMenu* _tmp43_ = NULL;
 
307
                GMenu* _tmp44_ = NULL;
 
308
                GMenu* _tmp45_ = NULL;
 
309
                GMenu* _tmp46_ = NULL;
310
310
                const gchar* _tmp47_ = NULL;
311
 
                GMenu* _tmp48_;
312
 
                GMenu* _tmp49_;
313
 
                GMenu* _tmp50_;
314
 
                GMenu* _tmp51_;
 
311
                GMenu* _tmp48_ = NULL;
 
312
                GMenu* _tmp49_ = NULL;
 
313
                GMenu* _tmp50_ = NULL;
 
314
                GMenu* _tmp51_ = NULL;
315
315
                const gchar* _tmp52_ = NULL;
316
316
                const gchar* _tmp53_ = NULL;
317
 
                GMenuItem* _tmp54_;
318
 
                GMenuItem* _tmp55_;
319
 
                GMenu* _tmp56_;
320
 
                GMenuItem* _tmp57_;
 
317
                GMenuItem* _tmp54_ = NULL;
 
318
                GMenuItem* _tmp55_ = NULL;
 
319
                GMenu* _tmp56_ = NULL;
 
320
                GMenuItem* _tmp57_ = NULL;
321
321
                const gchar* _tmp58_ = NULL;
322
 
                GMenuItem* _tmp59_;
323
 
                GMenuItem* _tmp60_;
324
 
                GMenu* _tmp61_;
325
 
                GMenuItem* _tmp62_;
326
 
                GMenu* _tmp63_;
327
 
                CheeseMainWindow* _tmp64_;
328
 
                CheeseMainWindow* _tmp65_;
329
 
                gboolean _tmp66_;
330
 
                gboolean _tmp68_;
331
 
                CheeseMainWindow* _tmp70_;
332
 
                CheeseMainWindow* _tmp71_;
333
 
                CheeseMainWindow* _tmp72_;
334
 
                const gchar* _tmp73_;
335
 
                CheeseCamera* _tmp74_;
336
 
                CheesePreferencesDialog* _tmp75_;
 
322
                GMenuItem* _tmp59_ = NULL;
 
323
                GMenuItem* _tmp60_ = NULL;
 
324
                GMenu* _tmp61_ = NULL;
 
325
                GMenuItem* _tmp62_ = NULL;
 
326
                GMenu* _tmp63_ = NULL;
 
327
                CheeseMainWindow* _tmp64_ = NULL;
 
328
                CheeseMainWindow* _tmp65_ = NULL;
 
329
                gboolean _tmp66_ = FALSE;
 
330
                gboolean _tmp68_ = FALSE;
 
331
                CheeseMainWindow* _tmp70_ = NULL;
 
332
                CheeseMainWindow* _tmp71_ = NULL;
 
333
                CheeseMainWindow* _tmp72_ = NULL;
 
334
                const gchar* _tmp73_ = NULL;
 
335
                CheeseCamera* _tmp74_ = NULL;
 
336
                CheesePreferencesDialog* _tmp75_ = NULL;
337
337
                _tmp2_ = gtk_settings_get_default ();
338
338
                _tmp3_ = _g_object_ref0 (_tmp2_);
339
339
                gtk_settings = _tmp3_;
340
340
                _tmp4_ = gtk_settings;
341
341
                if (_tmp4_ != NULL) {
342
 
                        GtkSettings* _tmp5_;
 
342
                        GtkSettings* _tmp5_ = NULL;
343
343
                        _tmp5_ = gtk_settings;
344
344
                        g_object_set (_tmp5_, "gtk-application-prefer-dark-theme", TRUE, NULL);
345
345
                }
456
456
                cheese_main_window_start_thumbview_monitors (_tmp65_);
457
457
                _tmp66_ = cheese_main_wide;
458
458
                if (_tmp66_) {
459
 
                        CheeseMainWindow* _tmp67_;
 
459
                        CheeseMainWindow* _tmp67_ = NULL;
460
460
                        _tmp67_ = cheese_main_main_window;
461
461
                        cheese_main_window_set_startup_wide_mode (_tmp67_);
462
462
                }
463
463
                _tmp68_ = cheese_main_fullscreen;
464
464
                if (_tmp68_) {
465
 
                        CheeseMainWindow* _tmp69_;
 
465
                        CheeseMainWindow* _tmp69_ = NULL;
466
466
                        _tmp69_ = cheese_main_main_window;
467
467
                        cheese_main_window_set_startup_fullscreen_mode (_tmp69_);
468
468
                }
497
497
        CheeseMain * self;
498
498
        gint _vala_exit_status = 0;
499
499
        gboolean result = FALSE;
500
 
        gchar** _tmp3_;
501
 
        gint _tmp3__length1;
502
 
        gchar** local_args;
503
 
        gint local_args_length1;
504
 
        gint _local_args_size_;
505
 
        gchar** _tmp4_;
506
 
        gint _tmp4__length1;
507
 
        gint n_args;
508
 
        gint _tmp5_;
 
500
        gchar** local_args = NULL;
 
501
        gchar** _tmp3_ = NULL;
 
502
        gint _tmp3__length1 = 0;
 
503
        gint local_args_length1 = 0;
 
504
        gint _local_args_size_ = 0;
 
505
        gint n_args = 0;
 
506
        gchar** _tmp4_ = NULL;
 
507
        gint _tmp4__length1 = 0;
 
508
        gint _tmp5_ = 0;
509
509
        GError * _inner_error_ = NULL;
510
510
        self = (CheeseMain*) base;
511
511
        {
518
518
        __catch11_g_error:
519
519
        {
520
520
                GError* e = NULL;
521
 
                FILE* _tmp0_;
522
 
                GError* _tmp1_;
523
 
                const gchar* _tmp2_;
 
521
                FILE* _tmp0_ = NULL;
 
522
                GError* _tmp1_ = NULL;
 
523
                const gchar* _tmp2_ = NULL;
524
524
                e = _inner_error_;
525
525
                _inner_error_ = NULL;
526
526
                _tmp0_ = stdout;
555
555
                g_application_activate ((GApplication*) self);
556
556
                _vala_exit_status = 0;
557
557
        } else {
558
 
                gboolean _tmp25_;
 
558
                gboolean _tmp25_ = FALSE;
559
559
                gboolean _tmp27_ = FALSE;
560
560
                {
 
561
                        GOptionContext* context = NULL;
561
562
                        const gchar* _tmp6_ = NULL;
562
 
                        GOptionContext* _tmp7_;
563
 
                        GOptionContext* context;
564
 
                        GOptionContext* _tmp8_;
565
 
                        GOptionContext* _tmp9_;
566
 
                        GOptionContext* _tmp10_;
567
 
                        GOptionContext* _tmp11_;
 
563
                        GOptionContext* _tmp7_ = NULL;
 
564
                        GOptionContext* _tmp8_ = NULL;
 
565
                        GOptionContext* _tmp9_ = NULL;
 
566
                        GOptionContext* _tmp10_ = NULL;
 
567
                        GOptionContext* _tmp11_ = NULL;
568
568
                        GOptionGroup* _tmp12_ = NULL;
569
 
                        GOptionContext* _tmp13_;
 
569
                        GOptionContext* _tmp13_ = NULL;
570
570
                        GOptionGroup* _tmp14_ = NULL;
571
 
                        GOptionContext* _tmp15_;
 
571
                        GOptionContext* _tmp15_ = NULL;
572
572
                        GOptionGroup* _tmp16_ = NULL;
573
 
                        GOptionContext* _tmp17_;
 
573
                        GOptionContext* _tmp17_ = NULL;
574
574
                        _tmp6_ = _ ("- Take photos and videos from your webcam");
575
575
                        _tmp7_ = g_option_context_new (_tmp6_);
576
576
                        context = _tmp7_;
607
607
                __catch12_g_option_error:
608
608
                {
609
609
                        GError* e = NULL;
610
 
                        FILE* _tmp18_;
611
 
                        GError* _tmp19_;
612
 
                        const gchar* _tmp20_;
613
 
                        FILE* _tmp21_;
 
610
                        FILE* _tmp18_ = NULL;
 
611
                        GError* _tmp19_ = NULL;
 
612
                        const gchar* _tmp20_ = NULL;
 
613
                        FILE* _tmp21_ = NULL;
614
614
                        const gchar* _tmp22_ = NULL;
615
 
                        gchar** _tmp23_;
616
 
                        gint _tmp23__length1;
617
 
                        const gchar* _tmp24_;
 
615
                        gchar** _tmp23_ = NULL;
 
616
                        gint _tmp23__length1 = 0;
 
617
                        const gchar* _tmp24_ = NULL;
618
618
                        e = _inner_error_;
619
619
                        _inner_error_ = NULL;
620
620
                        _tmp18_ = stdout;
643
643
                }
644
644
                _tmp25_ = cheese_main_version;
645
645
                if (_tmp25_) {
646
 
                        FILE* _tmp26_;
 
646
                        FILE* _tmp26_ = NULL;
647
647
                        _tmp26_ = stdout;
648
648
                        fprintf (_tmp26_, "%s %s\n", PACKAGE_NAME, PACKAGE_VERSION);
649
649
                        _vala_exit_status = 1;
655
655
                }
656
656
                _tmp27_ = g_application_get_is_remote ((GApplication*) self);
657
657
                if (_tmp27_) {
658
 
                        FILE* _tmp28_;
 
658
                        FILE* _tmp28_ = NULL;
659
659
                        const gchar* _tmp29_ = NULL;
660
660
                        _tmp28_ = stdout;
661
661
                        _tmp29_ = _ ("Another instance of Cheese is currently running\n");
691
691
 
692
692
 
693
693
void cheese_main_setup_camera (CheeseMain* self, const gchar* uri) {
694
 
        GSettings* _tmp0_;
695
 
        GSettings* settings;
 
694
        GSettings* settings = NULL;
 
695
        GSettings* _tmp0_ = NULL;
696
696
        gchar* device = NULL;
697
697
        gdouble value = 0.0;
698
698
        gboolean _tmp1_ = FALSE;
699
 
        const gchar* _tmp2_;
700
 
        gboolean _tmp6_;
701
 
        CheeseMainWindow* _tmp11_;
 
699
        const gchar* _tmp2_ = NULL;
 
700
        gboolean _tmp6_ = FALSE;
 
701
        ClutterTexture* video_preview = NULL;
 
702
        CheeseMainWindow* _tmp11_ = NULL;
702
703
        ClutterTexture* _tmp12_ = NULL;
703
 
        ClutterTexture* video_preview;
704
 
        ClutterTexture* _tmp13_;
705
 
        const gchar* _tmp14_;
706
 
        GSettings* _tmp15_;
 
704
        ClutterTexture* _tmp13_ = NULL;
 
705
        const gchar* _tmp14_ = NULL;
 
706
        GSettings* _tmp15_ = NULL;
707
707
        gint _tmp16_ = 0;
708
 
        GSettings* _tmp17_;
 
708
        GSettings* _tmp17_ = NULL;
709
709
        gint _tmp18_ = 0;
710
 
        CheeseCamera* _tmp19_;
711
 
        GSettings* _tmp25_;
712
 
        gdouble _tmp26_ = 0.0;
713
 
        gdouble _tmp27_;
714
 
        GSettings* _tmp30_;
715
 
        gdouble _tmp31_ = 0.0;
716
 
        gdouble _tmp32_;
717
 
        GSettings* _tmp35_;
 
710
        CheeseCamera* _tmp19_ = NULL;
 
711
        GSettings* _tmp34_ = NULL;
 
712
        gdouble _tmp35_ = 0.0;
718
713
        gdouble _tmp36_ = 0.0;
719
 
        gdouble _tmp37_;
720
 
        GSettings* _tmp40_;
 
714
        GSettings* _tmp39_ = NULL;
 
715
        gdouble _tmp40_ = 0.0;
721
716
        gdouble _tmp41_ = 0.0;
722
 
        gdouble _tmp42_;
723
 
        CheeseCamera* _tmp45_;
724
 
        CheeseMainWindow* _tmp46_;
725
 
        CheeseCamera* _tmp47_;
726
 
        CheeseCamera* _tmp48_;
 
717
        GSettings* _tmp44_ = NULL;
 
718
        gdouble _tmp45_ = 0.0;
 
719
        gdouble _tmp46_ = 0.0;
 
720
        GSettings* _tmp49_ = NULL;
 
721
        gdouble _tmp50_ = 0.0;
 
722
        gdouble _tmp51_ = 0.0;
 
723
        CheeseCamera* _tmp54_ = NULL;
 
724
        CheeseMainWindow* _tmp55_ = NULL;
 
725
        CheeseCamera* _tmp56_ = NULL;
 
726
        CheeseCamera* _tmp57_ = NULL;
727
727
        GError * _inner_error_ = NULL;
728
728
        g_return_if_fail (self != NULL);
729
729
        _tmp0_ = g_settings_new ("org.gnome.Cheese");
730
730
        settings = _tmp0_;
731
731
        _tmp2_ = uri;
732
732
        if (_tmp2_ != NULL) {
733
 
                const gchar* _tmp3_;
734
 
                gint _tmp4_;
735
 
                gint _tmp5_;
 
733
                const gchar* _tmp3_ = NULL;
 
734
                gint _tmp4_ = 0;
 
735
                gint _tmp5_ = 0;
736
736
                _tmp3_ = uri;
737
737
                _tmp4_ = strlen (_tmp3_);
738
738
                _tmp5_ = _tmp4_;
742
742
        }
743
743
        _tmp6_ = _tmp1_;
744
744
        if (_tmp6_) {
745
 
                const gchar* _tmp7_;
746
 
                gchar* _tmp8_;
 
745
                const gchar* _tmp7_ = NULL;
 
746
                gchar* _tmp8_ = NULL;
747
747
                _tmp7_ = uri;
748
748
                _tmp8_ = g_strdup (_tmp7_);
749
749
                _g_free0 (device);
750
750
                device = _tmp8_;
751
751
        } else {
752
 
                GSettings* _tmp9_;
 
752
                GSettings* _tmp9_ = NULL;
753
753
                gchar* _tmp10_ = NULL;
754
754
                _tmp9_ = settings;
755
755
                _tmp10_ = g_settings_get_string (_tmp9_, "camera");
769
769
        _g_object_unref0 (self->priv->camera);
770
770
        self->priv->camera = _tmp19_;
771
771
        {
772
 
                CheeseCamera* _tmp20_;
773
 
                const gchar* _tmp21_;
 
772
                CheeseCamera* _tmp20_ = NULL;
 
773
                const gchar* _tmp21_ = NULL;
774
774
                _tmp20_ = self->priv->camera;
775
775
                _tmp21_ = device;
776
776
                cheese_camera_setup (_tmp20_, _tmp21_, &_inner_error_);
782
782
        __catch13_g_error:
783
783
        {
784
784
                GError* err = NULL;
785
 
                ClutterTexture* _tmp22_;
786
 
                GError* _tmp23_;
787
 
                const gchar* _tmp24_;
 
785
                ClutterTexture* _tmp22_ = NULL;
 
786
                GError* _tmp23_ = NULL;
 
787
                const gchar* _tmp24_ = NULL;
 
788
                GSimpleAction* shoot = NULL;
 
789
                GAction* _tmp25_ = NULL;
 
790
                GSimpleAction* _tmp26_ = NULL;
 
791
                GSimpleAction* effects = NULL;
 
792
                GAction* _tmp27_ = NULL;
 
793
                GSimpleAction* _tmp28_ = NULL;
 
794
                GSimpleAction* mode = NULL;
 
795
                GAction* _tmp29_ = NULL;
 
796
                GSimpleAction* _tmp30_ = NULL;
 
797
                GSimpleAction* _tmp31_ = NULL;
 
798
                GSimpleAction* _tmp32_ = NULL;
 
799
                GSimpleAction* _tmp33_ = NULL;
788
800
                err = _inner_error_;
789
801
                _inner_error_ = NULL;
790
802
                _tmp22_ = video_preview;
792
804
                _tmp23_ = err;
793
805
                _tmp24_ = _tmp23_->message;
794
806
                g_warning ("cheese-main.vala:256: Error: %s\n", _tmp24_);
 
807
                _tmp25_ = g_action_map_lookup_action ((GActionMap*) self, "shoot");
 
808
                _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp25_) : NULL);
 
809
                shoot = _tmp26_;
 
810
                _tmp27_ = g_action_map_lookup_action ((GActionMap*) self, "effects");
 
811
                _tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp27_) : NULL);
 
812
                effects = _tmp28_;
 
813
                _tmp29_ = g_action_map_lookup_action ((GActionMap*) self, "mode");
 
814
                _tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp29_) : NULL);
 
815
                mode = _tmp30_;
 
816
                _tmp31_ = shoot;
 
817
                g_simple_action_set_enabled (_tmp31_, FALSE);
 
818
                _tmp32_ = effects;
 
819
                g_simple_action_set_enabled (_tmp32_, FALSE);
 
820
                _tmp33_ = mode;
 
821
                g_simple_action_set_enabled (_tmp33_, FALSE);
 
822
                _g_object_unref0 (mode);
 
823
                _g_object_unref0 (effects);
 
824
                _g_object_unref0 (shoot);
795
825
                _g_error_free0 (err);
796
826
                _g_object_unref0 (video_preview);
797
827
                _g_free0 (device);
807
837
                g_clear_error (&_inner_error_);
808
838
                return;
809
839
        }
810
 
        _tmp25_ = settings;
811
 
        _tmp26_ = g_settings_get_double (_tmp25_, "brightness");
812
 
        value = _tmp26_;
813
 
        _tmp27_ = value;
814
 
        if (_tmp27_ != 0.0) {
815
 
                CheeseCamera* _tmp28_;
816
 
                gdouble _tmp29_;
817
 
                _tmp28_ = self->priv->camera;
818
 
                _tmp29_ = value;
819
 
                cheese_camera_set_balance_property (_tmp28_, "brightness", _tmp29_);
820
 
        }
821
 
        _tmp30_ = settings;
822
 
        _tmp31_ = g_settings_get_double (_tmp30_, "contrast");
823
 
        value = _tmp31_;
824
 
        _tmp32_ = value;
825
 
        if (_tmp32_ != 1.0) {
826
 
                CheeseCamera* _tmp33_;
827
 
                gdouble _tmp34_;
828
 
                _tmp33_ = self->priv->camera;
829
 
                _tmp34_ = value;
830
 
                cheese_camera_set_balance_property (_tmp33_, "contrast", _tmp34_);
831
 
        }
832
 
        _tmp35_ = settings;
833
 
        _tmp36_ = g_settings_get_double (_tmp35_, "hue");
834
 
        value = _tmp36_;
835
 
        _tmp37_ = value;
836
 
        if (_tmp37_ != 0.0) {
837
 
                CheeseCamera* _tmp38_;
838
 
                gdouble _tmp39_;
839
 
                _tmp38_ = self->priv->camera;
840
 
                _tmp39_ = value;
841
 
                cheese_camera_set_balance_property (_tmp38_, "hue", _tmp39_);
842
 
        }
843
 
        _tmp40_ = settings;
844
 
        _tmp41_ = g_settings_get_double (_tmp40_, "saturation");
845
 
        value = _tmp41_;
846
 
        _tmp42_ = value;
847
 
        if (_tmp42_ != 1.0) {
848
 
                CheeseCamera* _tmp43_;
849
 
                gdouble _tmp44_;
850
 
                _tmp43_ = self->priv->camera;
851
 
                _tmp44_ = value;
852
 
                cheese_camera_set_balance_property (_tmp43_, "saturation", _tmp44_);
853
 
        }
854
 
        _tmp45_ = self->priv->camera;
855
 
        g_signal_connect_object (_tmp45_, "state-flags-changed", (GCallback) _cheese_main_on_camera_state_flags_changed_cheese_camera_state_flags_changed, self, 0);
856
 
        _tmp46_ = cheese_main_main_window;
857
 
        _tmp47_ = self->priv->camera;
858
 
        cheese_main_window_set_camera (_tmp46_, _tmp47_);
859
 
        _tmp48_ = self->priv->camera;
860
 
        cheese_camera_play (_tmp48_);
 
840
        _tmp34_ = settings;
 
841
        _tmp35_ = g_settings_get_double (_tmp34_, "brightness");
 
842
        value = _tmp35_;
 
843
        _tmp36_ = value;
 
844
        if (_tmp36_ != 0.0) {
 
845
                CheeseCamera* _tmp37_ = NULL;
 
846
                gdouble _tmp38_ = 0.0;
 
847
                _tmp37_ = self->priv->camera;
 
848
                _tmp38_ = value;
 
849
                cheese_camera_set_balance_property (_tmp37_, "brightness", _tmp38_);
 
850
        }
 
851
        _tmp39_ = settings;
 
852
        _tmp40_ = g_settings_get_double (_tmp39_, "contrast");
 
853
        value = _tmp40_;
 
854
        _tmp41_ = value;
 
855
        if (_tmp41_ != 1.0) {
 
856
                CheeseCamera* _tmp42_ = NULL;
 
857
                gdouble _tmp43_ = 0.0;
 
858
                _tmp42_ = self->priv->camera;
 
859
                _tmp43_ = value;
 
860
                cheese_camera_set_balance_property (_tmp42_, "contrast", _tmp43_);
 
861
        }
 
862
        _tmp44_ = settings;
 
863
        _tmp45_ = g_settings_get_double (_tmp44_, "hue");
 
864
        value = _tmp45_;
 
865
        _tmp46_ = value;
 
866
        if (_tmp46_ != 0.0) {
 
867
                CheeseCamera* _tmp47_ = NULL;
 
868
                gdouble _tmp48_ = 0.0;
 
869
                _tmp47_ = self->priv->camera;
 
870
                _tmp48_ = value;
 
871
                cheese_camera_set_balance_property (_tmp47_, "hue", _tmp48_);
 
872
        }
 
873
        _tmp49_ = settings;
 
874
        _tmp50_ = g_settings_get_double (_tmp49_, "saturation");
 
875
        value = _tmp50_;
 
876
        _tmp51_ = value;
 
877
        if (_tmp51_ != 1.0) {
 
878
                CheeseCamera* _tmp52_ = NULL;
 
879
                gdouble _tmp53_ = 0.0;
 
880
                _tmp52_ = self->priv->camera;
 
881
                _tmp53_ = value;
 
882
                cheese_camera_set_balance_property (_tmp52_, "saturation", _tmp53_);
 
883
        }
 
884
        _tmp54_ = self->priv->camera;
 
885
        g_signal_connect_object (_tmp54_, "state-flags-changed", (GCallback) _cheese_main_on_camera_state_flags_changed_cheese_camera_state_flags_changed, self, 0);
 
886
        _tmp55_ = cheese_main_main_window;
 
887
        _tmp56_ = self->priv->camera;
 
888
        cheese_main_window_set_camera (_tmp55_, _tmp56_);
 
889
        _tmp57_ = self->priv->camera;
 
890
        cheese_camera_play (_tmp57_);
861
891
        _g_object_unref0 (video_preview);
862
892
        _g_free0 (device);
863
893
        _g_object_unref0 (settings);
874
904
static gboolean cheese_main_on_webcam_key_pressed (CheeseMain* self, GdkEventKey* event) {
875
905
        gboolean result = FALSE;
876
906
        gboolean _tmp0_ = FALSE;
877
 
        GdkEventKey _tmp1_;
878
 
        GdkModifierType _tmp2_;
879
 
        gboolean _tmp21_;
880
 
        GdkEventKey _tmp22_;
881
 
        guint _tmp23_;
 
907
        GdkEventKey _tmp1_ = {0};
 
908
        GdkModifierType _tmp2_ = 0;
 
909
        gboolean _tmp21_ = FALSE;
 
910
        GdkEventKey _tmp22_ = {0};
 
911
        guint _tmp23_ = 0U;
882
912
        g_return_val_if_fail (self != NULL, FALSE);
883
913
        g_return_val_if_fail (event != NULL, FALSE);
884
914
        _tmp1_ = *event;
888
918
                gboolean _tmp4_ = FALSE;
889
919
                gboolean _tmp5_ = FALSE;
890
920
                gboolean _tmp6_ = FALSE;
891
 
                GdkEventKey _tmp7_;
892
 
                GdkModifierType _tmp8_;
893
 
                gboolean _tmp11_;
894
 
                gboolean _tmp14_;
895
 
                gboolean _tmp17_;
896
 
                gboolean _tmp20_;
 
921
                GdkEventKey _tmp7_ = {0};
 
922
                GdkModifierType _tmp8_ = 0;
 
923
                gboolean _tmp11_ = FALSE;
 
924
                gboolean _tmp14_ = FALSE;
 
925
                gboolean _tmp17_ = FALSE;
 
926
                gboolean _tmp20_ = FALSE;
897
927
                _tmp7_ = *event;
898
928
                _tmp8_ = _tmp7_.state;
899
929
                if ((_tmp8_ & GDK_CONTROL_MASK) != 0) {
900
930
                        _tmp6_ = TRUE;
901
931
                } else {
902
 
                        GdkEventKey _tmp9_;
903
 
                        GdkModifierType _tmp10_;
 
932
                        GdkEventKey _tmp9_ = {0};
 
933
                        GdkModifierType _tmp10_ = 0;
904
934
                        _tmp9_ = *event;
905
935
                        _tmp10_ = _tmp9_.state;
906
936
                        _tmp6_ = (_tmp10_ & GDK_MOD1_MASK) != 0;
909
939
                if (_tmp11_) {
910
940
                        _tmp5_ = TRUE;
911
941
                } else {
912
 
                        GdkEventKey _tmp12_;
913
 
                        GdkModifierType _tmp13_;
 
942
                        GdkEventKey _tmp12_ = {0};
 
943
                        GdkModifierType _tmp13_ = 0;
914
944
                        _tmp12_ = *event;
915
945
                        _tmp13_ = _tmp12_.state;
916
946
                        _tmp5_ = (_tmp13_ & GDK_MOD3_MASK) != 0;
919
949
                if (_tmp14_) {
920
950
                        _tmp4_ = TRUE;
921
951
                } else {
922
 
                        GdkEventKey _tmp15_;
923
 
                        GdkModifierType _tmp16_;
 
952
                        GdkEventKey _tmp15_ = {0};
 
953
                        GdkModifierType _tmp16_ = 0;
924
954
                        _tmp15_ = *event;
925
955
                        _tmp16_ = _tmp15_.state;
926
956
                        _tmp4_ = (_tmp16_ & GDK_MOD4_MASK) != 0;
929
959
                if (_tmp17_) {
930
960
                        _tmp3_ = TRUE;
931
961
                } else {
932
 
                        GdkEventKey _tmp18_;
933
 
                        GdkModifierType _tmp19_;
 
962
                        GdkEventKey _tmp18_ = {0};
 
963
                        GdkModifierType _tmp19_ = 0;
934
964
                        _tmp18_ = *event;
935
965
                        _tmp19_ = _tmp18_.state;
936
966
                        _tmp3_ = (_tmp19_ & GDK_MOD5_MASK) != 0;
968
998
     * @param new_state the new Cheese.Camera state
969
999
     */
970
1000
static void cheese_main_on_camera_state_flags_changed (CheeseMain* self, GstState new_state) {
971
 
        GstState _tmp0_;
 
1001
        GstState _tmp0_ = 0;
972
1002
        g_return_if_fail (self != NULL);
973
1003
        _tmp0_ = new_state;
974
1004
        switch (_tmp0_) {
975
1005
                case GST_STATE_PLAYING:
976
1006
                {
977
 
                        CheeseMainWindow* _tmp1_;
 
1007
                        CheeseMainWindow* _tmp1_ = NULL;
978
1008
                        _tmp1_ = cheese_main_main_window;
979
1009
                        cheese_main_window_camera_state_change_playing (_tmp1_);
980
1010
                        break;
994
1024
     * @param mode the mode to set
995
1025
     */
996
1026
static void cheese_main_update_mode (CheeseMain* self, CheeseMediaMode mode) {
997
 
        CheeseMainWindow* _tmp0_;
998
 
        CheeseMediaMode _tmp1_;
999
 
        CheesePreferencesDialog* _tmp2_;
1000
 
        CheeseMediaMode _tmp3_;
 
1027
        CheeseMainWindow* _tmp0_ = NULL;
 
1028
        CheeseMediaMode _tmp1_ = 0;
 
1029
        CheesePreferencesDialog* _tmp2_ = NULL;
 
1030
        CheeseMediaMode _tmp3_ = 0;
1001
1031
        g_return_if_fail (self != NULL);
1002
1032
        _tmp0_ = cheese_main_main_window;
1003
1033
        _tmp1_ = mode;
1015
1045
     * @param parameter the new value to set on the action
1016
1046
     */
1017
1047
static void cheese_main_on_action_radio (CheeseMain* self, GSimpleAction* action, GVariant* parameter) {
1018
 
        GSimpleAction* _tmp0_;
1019
 
        GVariant* _tmp1_;
 
1048
        GSimpleAction* _tmp0_ = NULL;
 
1049
        GVariant* _tmp1_ = NULL;
1020
1050
        g_return_if_fail (self != NULL);
1021
1051
        g_return_if_fail (action != NULL);
1022
1052
        _tmp0_ = action;
1032
1062
     * @param parameter unused
1033
1063
     */
1034
1064
static void cheese_main_on_action_toggle (CheeseMain* self, GSimpleAction* action, GVariant* parameter) {
1035
 
        GSimpleAction* _tmp0_;
 
1065
        GVariant* state = NULL;
 
1066
        GSimpleAction* _tmp0_ = NULL;
1036
1067
        GVariant* _tmp1_ = NULL;
1037
 
        GVariant* state;
1038
 
        GSimpleAction* _tmp2_;
 
1068
        GSimpleAction* _tmp2_ = NULL;
1039
1069
        gboolean _tmp3_ = FALSE;
1040
 
        GVariant* _tmp4_;
1041
 
        GVariant* _tmp5_;
 
1070
        GVariant* _tmp4_ = NULL;
 
1071
        GVariant* _tmp5_ = NULL;
1042
1072
        g_return_if_fail (self != NULL);
1043
1073
        g_return_if_fail (action != NULL);
1044
1074
        _tmp0_ = action;
1059
1089
     * Handle the shoot action being activated.
1060
1090
     */
1061
1091
static void cheese_main_on_shoot (CheeseMain* self) {
1062
 
        CheeseMainWindow* _tmp0_;
 
1092
        CheeseMainWindow* _tmp0_ = NULL;
1063
1093
        g_return_if_fail (self != NULL);
1064
1094
        _tmp0_ = cheese_main_main_window;
1065
1095
        cheese_main_window_shoot (_tmp0_);
1073
1103
     * @param value the state to switch to
1074
1104
     */
1075
1105
static void cheese_main_on_fullscreen_change (CheeseMain* self, GSimpleAction* action, GVariant* value) {
1076
 
        GVariant* _tmp0_;
1077
 
        GVariant* _tmp1_;
 
1106
        GVariant* _tmp0_ = NULL;
 
1107
        gboolean state = FALSE;
 
1108
        GVariant* _tmp1_ = NULL;
1078
1109
        gboolean _tmp2_ = FALSE;
1079
 
        gboolean state;
1080
 
        CheeseMainWindow* _tmp3_;
1081
 
        GSimpleAction* _tmp4_;
1082
 
        GVariant* _tmp5_;
 
1110
        CheeseMainWindow* _tmp3_ = NULL;
 
1111
        GSimpleAction* _tmp4_ = NULL;
 
1112
        GVariant* _tmp5_ = NULL;
1083
1113
        g_return_if_fail (self != NULL);
1084
1114
        g_return_if_fail (action != NULL);
1085
1115
        _tmp0_ = value;
1102
1132
     * @param value the state to switch to
1103
1133
     */
1104
1134
static void cheese_main_on_effects_change (CheeseMain* self, GSimpleAction* action, GVariant* value) {
1105
 
        GVariant* _tmp0_;
1106
 
        GVariant* _tmp1_;
 
1135
        GVariant* _tmp0_ = NULL;
 
1136
        gboolean state = FALSE;
 
1137
        GVariant* _tmp1_ = NULL;
1107
1138
        gboolean _tmp2_ = FALSE;
1108
 
        gboolean state;
1109
 
        CheeseMainWindow* _tmp3_;
1110
 
        GSimpleAction* _tmp4_;
1111
 
        GVariant* _tmp5_;
 
1139
        CheeseMainWindow* _tmp3_ = NULL;
 
1140
        GSimpleAction* _tmp4_ = NULL;
 
1141
        GVariant* _tmp5_ = NULL;
1112
1142
        g_return_if_fail (self != NULL);
1113
1143
        g_return_if_fail (action != NULL);
1114
1144
        _tmp0_ = value;
1131
1161
     * @param parameter the mode to switch to, or null
1132
1162
     */
1133
1163
static void cheese_main_on_mode_change (CheeseMain* self, GSimpleAction* action, GVariant* value) {
1134
 
        GVariant* _tmp0_;
1135
 
        GVariant* _tmp1_;
 
1164
        GVariant* _tmp0_ = NULL;
 
1165
        gchar* state = NULL;
 
1166
        GVariant* _tmp1_ = NULL;
1136
1167
        const gchar* _tmp2_ = NULL;
1137
 
        gchar* _tmp3_;
1138
 
        gchar* state;
1139
 
        const gchar* _tmp4_;
1140
 
        GSimpleAction* _tmp7_;
1141
 
        GVariant* _tmp8_;
 
1168
        gchar* _tmp3_ = NULL;
 
1169
        const gchar* _tmp4_ = NULL;
 
1170
        GSimpleAction* _tmp7_ = NULL;
 
1171
        GVariant* _tmp8_ = NULL;
1142
1172
        g_return_if_fail (self != NULL);
1143
1173
        g_return_if_fail (action != NULL);
1144
1174
        _tmp0_ = value;
1151
1181
        if (g_strcmp0 (_tmp4_, "photo") == 0) {
1152
1182
                cheese_main_update_mode (self, CHEESE_MEDIA_MODE_PHOTO);
1153
1183
        } else {
1154
 
                const gchar* _tmp5_;
 
1184
                const gchar* _tmp5_ = NULL;
1155
1185
                _tmp5_ = state;
1156
1186
                if (g_strcmp0 (_tmp5_, "video") == 0) {
1157
1187
                        cheese_main_update_mode (self, CHEESE_MEDIA_MODE_VIDEO);
1158
1188
                } else {
1159
 
                        const gchar* _tmp6_;
 
1189
                        const gchar* _tmp6_ = NULL;
1160
1190
                        _tmp6_ = state;
1161
1191
                        if (g_strcmp0 (_tmp6_, "burst") == 0) {
1162
1192
                                cheese_main_update_mode (self, CHEESE_MEDIA_MODE_BURST);
1176
1206
     * Show the preferences dialog.
1177
1207
     */
1178
1208
static void cheese_main_on_preferences (CheeseMain* self) {
1179
 
        CheesePreferencesDialog* _tmp0_;
 
1209
        CheesePreferencesDialog* _tmp0_ = NULL;
1180
1210
        g_return_if_fail (self != NULL);
1181
1211
        _tmp0_ = self->priv->preferences_dialog;
1182
1212
        cheese_preferences_dialog_show (_tmp0_);
1187
1217
     * Show the Cheese help contents.
1188
1218
     */
1189
1219
static void cheese_main_on_help (CheeseMain* self) {
1190
 
        CheeseMainWindow* _tmp0_;
 
1220
        GdkScreen* screen = NULL;
 
1221
        CheeseMainWindow* _tmp0_ = NULL;
1191
1222
        GdkScreen* _tmp1_ = NULL;
1192
 
        GdkScreen* _tmp2_;
1193
 
        GdkScreen* screen;
 
1223
        GdkScreen* _tmp2_ = NULL;
1194
1224
        GError * _inner_error_ = NULL;
1195
1225
        g_return_if_fail (self != NULL);
1196
1226
        _tmp0_ = cheese_main_main_window;
1209
1239
        __catch14_g_error:
1210
1240
        {
1211
1241
                GError* err = NULL;
1212
 
                GError* _tmp4_;
1213
 
                const gchar* _tmp5_;
 
1242
                GError* _tmp4_ = NULL;
 
1243
                const gchar* _tmp5_ = NULL;
1214
1244
                err = _inner_error_;
1215
1245
                _inner_error_ = NULL;
1216
1246
                _tmp4_ = err;
1217
1247
                _tmp5_ = _tmp4_->message;
1218
 
                g_message ("cheese-main.vala:465: Error opening help: %s", _tmp5_);
 
1248
                g_message ("cheese-main.vala:471: Error opening help: %s", _tmp5_);
1219
1249
                _g_error_free0 (err);
1220
1250
        }
1221
1251
        __finally14:
1233
1263
     * Show the about dialog.
1234
1264
     */
1235
1265
static void cheese_main_on_about (CheeseMain* self) {
1236
 
        gchar* _tmp0_;
1237
 
        gchar* _tmp1_;
1238
 
        gchar* _tmp2_;
1239
 
        gchar* _tmp3_;
1240
 
        gchar* _tmp4_;
1241
 
        gchar* _tmp5_;
 
1266
        gchar** artists = NULL;
 
1267
        gchar* _tmp0_ = NULL;
 
1268
        gchar* _tmp1_ = NULL;
 
1269
        gchar* _tmp2_ = NULL;
 
1270
        gchar* _tmp3_ = NULL;
 
1271
        gchar* _tmp4_ = NULL;
 
1272
        gchar* _tmp5_ = NULL;
1242
1273
        gchar** _tmp6_ = NULL;
1243
 
        gchar** artists;
1244
 
        gint artists_length1;
1245
 
        gint _artists_size_;
1246
 
        gchar* _tmp7_;
1247
 
        gchar* _tmp8_;
1248
 
        gchar* _tmp9_;
1249
 
        gchar* _tmp10_;
1250
 
        gchar* _tmp11_;
1251
 
        gchar* _tmp12_;
1252
 
        gchar* _tmp13_;
1253
 
        gchar* _tmp14_;
1254
 
        gchar* _tmp15_;
1255
 
        gchar* _tmp16_;
1256
 
        gchar* _tmp17_;
1257
 
        gchar* _tmp18_;
1258
 
        gchar* _tmp19_;
1259
 
        gchar* _tmp20_;
1260
 
        gchar* _tmp21_;
1261
 
        gchar* _tmp22_;
1262
 
        gchar* _tmp23_;
1263
 
        gchar* _tmp24_;
1264
 
        gchar* _tmp25_;
1265
 
        gchar* _tmp26_;
1266
 
        gchar* _tmp27_;
1267
 
        gchar* _tmp28_;
1268
 
        gchar* _tmp29_;
1269
 
        gchar* _tmp30_;
1270
 
        gchar* _tmp31_;
1271
 
        gchar* _tmp32_;
1272
 
        gchar* _tmp33_;
 
1274
        gint artists_length1 = 0;
 
1275
        gint _artists_size_ = 0;
 
1276
        gchar** authors = NULL;
 
1277
        gchar* _tmp7_ = NULL;
 
1278
        gchar* _tmp8_ = NULL;
 
1279
        gchar* _tmp9_ = NULL;
 
1280
        gchar* _tmp10_ = NULL;
 
1281
        gchar* _tmp11_ = NULL;
 
1282
        gchar* _tmp12_ = NULL;
 
1283
        gchar* _tmp13_ = NULL;
 
1284
        gchar* _tmp14_ = NULL;
 
1285
        gchar* _tmp15_ = NULL;
 
1286
        gchar* _tmp16_ = NULL;
 
1287
        gchar* _tmp17_ = NULL;
 
1288
        gchar* _tmp18_ = NULL;
 
1289
        gchar* _tmp19_ = NULL;
 
1290
        gchar* _tmp20_ = NULL;
 
1291
        gchar* _tmp21_ = NULL;
 
1292
        gchar* _tmp22_ = NULL;
 
1293
        gchar* _tmp23_ = NULL;
 
1294
        gchar* _tmp24_ = NULL;
 
1295
        gchar* _tmp25_ = NULL;
 
1296
        gchar* _tmp26_ = NULL;
 
1297
        gchar* _tmp27_ = NULL;
 
1298
        gchar* _tmp28_ = NULL;
 
1299
        gchar* _tmp29_ = NULL;
 
1300
        gchar* _tmp30_ = NULL;
 
1301
        gchar* _tmp31_ = NULL;
 
1302
        gchar* _tmp32_ = NULL;
 
1303
        gchar* _tmp33_ = NULL;
1273
1304
        gchar** _tmp34_ = NULL;
1274
 
        gchar** authors;
1275
 
        gint authors_length1;
1276
 
        gint _authors_size_;
1277
 
        gchar* _tmp35_;
1278
 
        gchar* _tmp36_;
1279
 
        gchar* _tmp37_;
 
1305
        gint authors_length1 = 0;
 
1306
        gint _authors_size_ = 0;
 
1307
        gchar** documenters = NULL;
 
1308
        gchar* _tmp35_ = NULL;
 
1309
        gchar* _tmp36_ = NULL;
 
1310
        gchar* _tmp37_ = NULL;
1280
1311
        gchar** _tmp38_ = NULL;
1281
 
        gchar** documenters;
1282
 
        gint documenters_length1;
1283
 
        gint _documenters_size_;
1284
 
        CheeseMainWindow* _tmp39_;
 
1312
        gint documenters_length1 = 0;
 
1313
        gint _documenters_size_ = 0;
 
1314
        CheeseMainWindow* _tmp39_ = NULL;
1285
1315
        const gchar* _tmp40_ = NULL;
1286
1316
        const gchar* _tmp41_ = NULL;
1287
1317
        const gchar* _tmp42_ = NULL;
1390
1420
     * Destroy the main window, and shutdown the application, when quitting.
1391
1421
     */
1392
1422
static void cheese_main_on_quit (CheeseMain* self) {
1393
 
        CheeseMainWindow* _tmp0_;
 
1423
        CheeseMainWindow* _tmp0_ = NULL;
1394
1424
        g_return_if_fail (self != NULL);
1395
1425
        _tmp0_ = cheese_main_main_window;
1396
1426
        gtk_widget_destroy ((GtkWidget*) _tmp0_);
1440
1470
        gint result = 0;
1441
1471
        gboolean _tmp0_ = FALSE;
1442
1472
        CheeseMain* app = NULL;
1443
 
        CheeseMain* _tmp1_;
1444
 
        CheeseMain* _tmp2_;
1445
 
        CheeseMain* _tmp3_;
1446
 
        CheeseMain* _tmp4_;
1447
 
        gchar** _tmp5_;
1448
 
        gint _tmp5__length1;
 
1473
        CheeseMain* _tmp1_ = NULL;
 
1474
        CheeseMain* _tmp2_ = NULL;
 
1475
        CheeseMain* _tmp3_ = NULL;
 
1476
        gint status = 0;
 
1477
        CheeseMain* _tmp4_ = NULL;
 
1478
        gchar** _tmp5_ = NULL;
 
1479
        gint _tmp5__length1 = 0;
1449
1480
        gint _tmp6_ = 0;
1450
 
        gint status;
1451
1481
        bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALEDIR);
1452
1482
        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
1453
1483
        textdomain (GETTEXT_PACKAGE);