~ubuntu-branches/ubuntu/trusty/d-conf/trusty-proposed

« back to all changes in this revision

Viewing changes to editor/dconf-view.c

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Jackson Doak
  • Date: 2014-03-24 21:08:24 UTC
  • mfrom: (1.1.34) (6.2.7 experimental)
  • Revision ID: package-import@ubuntu.com-20140324210824-7ptw8y51yr0z7qpf
Tags: 0.20.0-1
[ Jackson Doak ]
* New upstream release
* Bump valac build-depend to 0.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* dconf-view.c generated by valac 0.23.3, the Vala compiler
 
1
/* dconf-view.c generated by valac 0.18.1, the Vala compiler
2
2
 * generated from dconf-view.vala, do not modify */
3
3
 
4
4
 
398
398
 
399
399
static gdouble key_value_renderer_get_variant_as_double (GVariant* value) {
400
400
        gdouble result = 0.0;
401
 
        GVariant* _tmp0_ = NULL;
402
 
        GVariant* _tmp1_ = NULL;
 
401
        GVariant* _tmp0_;
 
402
        GVariant* _tmp1_;
403
403
        GVariantClass _tmp2_ = 0;
404
404
        g_return_val_if_fail (value != NULL, 0.0);
405
405
        _tmp0_ = value;
412
412
        switch (_tmp2_) {
413
413
                case G_VARIANT_CLASS_BYTE:
414
414
                {
415
 
                        GVariant* _tmp3_ = NULL;
 
415
                        GVariant* _tmp3_;
416
416
                        guint8 _tmp4_ = 0U;
417
417
                        _tmp3_ = value;
418
418
                        _tmp4_ = g_variant_get_byte (_tmp3_);
421
421
                }
422
422
                case G_VARIANT_CLASS_INT16:
423
423
                {
424
 
                        GVariant* _tmp5_ = NULL;
 
424
                        GVariant* _tmp5_;
425
425
                        gint16 _tmp6_ = 0;
426
426
                        _tmp5_ = value;
427
427
                        _tmp6_ = g_variant_get_int16 (_tmp5_);
430
430
                }
431
431
                case G_VARIANT_CLASS_UINT16:
432
432
                {
433
 
                        GVariant* _tmp7_ = NULL;
 
433
                        GVariant* _tmp7_;
434
434
                        guint16 _tmp8_ = 0U;
435
435
                        _tmp7_ = value;
436
436
                        _tmp8_ = g_variant_get_uint16 (_tmp7_);
439
439
                }
440
440
                case G_VARIANT_CLASS_INT32:
441
441
                {
442
 
                        GVariant* _tmp9_ = NULL;
 
442
                        GVariant* _tmp9_;
443
443
                        gint32 _tmp10_ = 0;
444
444
                        _tmp9_ = value;
445
445
                        _tmp10_ = g_variant_get_int32 (_tmp9_);
448
448
                }
449
449
                case G_VARIANT_CLASS_UINT32:
450
450
                {
451
 
                        GVariant* _tmp11_ = NULL;
 
451
                        GVariant* _tmp11_;
452
452
                        guint32 _tmp12_ = 0U;
453
453
                        _tmp11_ = value;
454
454
                        _tmp12_ = g_variant_get_uint32 (_tmp11_);
457
457
                }
458
458
                case G_VARIANT_CLASS_INT64:
459
459
                {
460
 
                        GVariant* _tmp13_ = NULL;
 
460
                        GVariant* _tmp13_;
461
461
                        gint64 _tmp14_ = 0LL;
462
462
                        _tmp13_ = value;
463
463
                        _tmp14_ = g_variant_get_int64 (_tmp13_);
466
466
                }
467
467
                case G_VARIANT_CLASS_UINT64:
468
468
                {
469
 
                        GVariant* _tmp15_ = NULL;
 
469
                        GVariant* _tmp15_;
470
470
                        guint64 _tmp16_ = 0ULL;
471
471
                        _tmp15_ = value;
472
472
                        _tmp16_ = g_variant_get_uint64 (_tmp15_);
475
475
                }
476
476
                case G_VARIANT_CLASS_DOUBLE:
477
477
                {
478
 
                        GVariant* _tmp17_ = NULL;
 
478
                        GVariant* _tmp17_;
479
479
                        gdouble _tmp18_ = 0.0;
480
480
                        _tmp17_ = value;
481
481
                        _tmp18_ = g_variant_get_double (_tmp17_);
497
497
 
498
498
 
499
499
static void _key_value_renderer_text_edited_cb_gtk_cell_renderer_text_edited (GtkCellRendererText* _sender, const gchar* path, const gchar* new_text, gpointer self) {
500
 
        key_value_renderer_text_edited_cb ((KeyValueRenderer*) self, _sender, path, new_text);
 
500
        key_value_renderer_text_edited_cb (self, _sender, path, new_text);
501
501
}
502
502
 
503
503
 
504
504
static void _key_value_renderer_spin_edited_cb_gtk_cell_renderer_text_edited (GtkCellRendererText* _sender, const gchar* path, const gchar* new_text, gpointer self) {
505
 
        key_value_renderer_spin_edited_cb ((KeyValueRenderer*) self, _sender, path, new_text);
 
505
        key_value_renderer_spin_edited_cb (self, _sender, path, new_text);
506
506
}
507
507
 
508
508
 
509
509
static void _key_value_renderer_toggle_cb_gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
510
 
        key_value_renderer_toggle_cb ((KeyValueRenderer*) self, _sender, path);
 
510
        key_value_renderer_toggle_cb (self, _sender, path);
511
511
}
512
512
 
513
513
 
514
514
KeyValueRenderer* key_value_renderer_construct (GType object_type, DConfKeyView* view) {
515
515
        KeyValueRenderer * self = NULL;
516
 
        DConfKeyView* _tmp0_ = NULL;
517
 
        DConfKeyView* _tmp1_ = NULL;
518
 
        GtkCellRendererText* _tmp2_ = NULL;
519
 
        GtkCellRendererText* _tmp3_ = NULL;
520
 
        GtkCellRendererText* _tmp4_ = NULL;
521
 
        GtkCellRendererSpin* _tmp5_ = NULL;
522
 
        GtkCellRendererSpin* _tmp6_ = NULL;
523
 
        GtkCellRendererSpin* _tmp7_ = NULL;
524
 
        GtkCellRendererToggle* _tmp8_ = NULL;
525
 
        GtkCellRendererToggle* _tmp9_ = NULL;
526
 
        GtkCellRendererToggle* _tmp10_ = NULL;
527
 
        GtkCellRendererToggle* _tmp11_ = NULL;
528
 
        GtkCellRendererCombo* _tmp12_ = NULL;
529
 
        GtkCellRendererCombo* _tmp13_ = NULL;
530
 
        GtkCellRendererCombo* _tmp14_ = NULL;
531
 
        GtkCellRendererCombo* _tmp15_ = NULL;
532
 
        GtkCellRendererCombo* _tmp16_ = NULL;
 
516
        DConfKeyView* _tmp0_;
 
517
        DConfKeyView* _tmp1_;
 
518
        GtkCellRendererText* _tmp2_;
 
519
        GtkCellRendererText* _tmp3_;
 
520
        GtkCellRendererText* _tmp4_;
 
521
        GtkCellRendererSpin* _tmp5_;
 
522
        GtkCellRendererSpin* _tmp6_;
 
523
        GtkCellRendererSpin* _tmp7_;
 
524
        GtkCellRendererToggle* _tmp8_;
 
525
        GtkCellRendererToggle* _tmp9_;
 
526
        GtkCellRendererToggle* _tmp10_;
 
527
        GtkCellRendererToggle* _tmp11_;
 
528
        GtkCellRendererCombo* _tmp12_;
 
529
        GtkCellRendererCombo* _tmp13_;
 
530
        GtkCellRendererCombo* _tmp14_;
 
531
        GtkCellRendererCombo* _tmp15_;
 
532
        GtkCellRendererCombo* _tmp16_;
533
533
        g_return_val_if_fail (view != NULL, NULL);
534
534
        self = (KeyValueRenderer*) g_object_new (object_type, NULL);
535
535
        _tmp0_ = view;
589
589
        gint _vala_y_offset = 0;
590
590
        gint _vala_width = 0;
591
591
        gint _vala_height = 0;
592
 
        GtkCellRenderer* _tmp0_ = NULL;
593
 
        GtkCellRenderer* _tmp1_ = NULL;
594
 
        GtkWidget* _tmp2_ = NULL;
595
 
        GdkRectangle* _tmp3_ = NULL;
 
592
        GtkCellRenderer* _tmp0_;
 
593
        GtkCellRenderer* _tmp1_;
 
594
        GtkWidget* _tmp2_;
 
595
        GdkRectangle* _tmp3_;
596
596
        gint _tmp4_ = 0;
597
597
        gint _tmp5_ = 0;
598
598
        gint _tmp6_ = 0;
627
627
        KeyValueRenderer * self;
628
628
        gint _vala_minimum_size = 0;
629
629
        gint _vala_natural_size = 0;
630
 
        GtkCellRenderer* _tmp0_ = NULL;
631
 
        GtkCellRenderer* _tmp1_ = NULL;
632
 
        GtkWidget* _tmp2_ = NULL;
 
630
        GtkCellRenderer* _tmp0_;
 
631
        GtkCellRenderer* _tmp1_;
 
632
        GtkWidget* _tmp2_;
633
633
        gint _tmp3_ = 0;
634
634
        gint _tmp4_ = 0;
635
635
        self = (KeyValueRenderer*) base;
653
653
        KeyValueRenderer * self;
654
654
        gint _vala_minimum_height = 0;
655
655
        gint _vala_natural_height = 0;
656
 
        GtkCellRenderer* _tmp0_ = NULL;
657
 
        GtkCellRenderer* _tmp1_ = NULL;
658
 
        GtkWidget* _tmp2_ = NULL;
659
 
        gint _tmp3_ = 0;
 
656
        GtkCellRenderer* _tmp0_;
 
657
        GtkCellRenderer* _tmp1_;
 
658
        GtkWidget* _tmp2_;
 
659
        gint _tmp3_;
660
660
        gint _tmp4_ = 0;
661
661
        gint _tmp5_ = 0;
662
662
        self = (KeyValueRenderer*) base;
681
681
        KeyValueRenderer * self;
682
682
        gint _vala_minimum_size = 0;
683
683
        gint _vala_natural_size = 0;
684
 
        GtkCellRenderer* _tmp0_ = NULL;
685
 
        GtkCellRenderer* _tmp1_ = NULL;
686
 
        GtkWidget* _tmp2_ = NULL;
 
684
        GtkCellRenderer* _tmp0_;
 
685
        GtkCellRenderer* _tmp1_;
 
686
        GtkWidget* _tmp2_;
687
687
        gint _tmp3_ = 0;
688
688
        gint _tmp4_ = 0;
689
689
        self = (KeyValueRenderer*) base;
707
707
        KeyValueRenderer * self;
708
708
        gint _vala_minimum_width = 0;
709
709
        gint _vala_natural_width = 0;
710
 
        GtkCellRenderer* _tmp0_ = NULL;
711
 
        GtkCellRenderer* _tmp1_ = NULL;
712
 
        GtkWidget* _tmp2_ = NULL;
713
 
        gint _tmp3_ = 0;
 
710
        GtkCellRenderer* _tmp0_;
 
711
        GtkCellRenderer* _tmp1_;
 
712
        GtkWidget* _tmp2_;
 
713
        gint _tmp3_;
714
714
        gint _tmp4_ = 0;
715
715
        gint _tmp5_ = 0;
716
716
        self = (KeyValueRenderer*) base;
733
733
 
734
734
static void key_value_renderer_real_render (GtkCellRenderer* base, cairo_t* context, GtkWidget* widget, GdkRectangle* background_area, GdkRectangle* cell_area, GtkCellRendererState flags) {
735
735
        KeyValueRenderer * self;
736
 
        GtkCellRenderer* _tmp0_ = NULL;
737
 
        GtkCellRenderer* _tmp1_ = NULL;
738
 
        cairo_t* _tmp2_ = NULL;
739
 
        GtkWidget* _tmp3_ = NULL;
740
 
        GdkRectangle _tmp4_ = {0};
741
 
        GdkRectangle _tmp5_ = {0};
742
 
        GtkCellRendererState _tmp6_ = 0;
 
736
        GtkCellRenderer* _tmp0_;
 
737
        GtkCellRenderer* _tmp1_;
 
738
        cairo_t* _tmp2_;
 
739
        GtkWidget* _tmp3_;
 
740
        GdkRectangle _tmp4_;
 
741
        GdkRectangle _tmp5_;
 
742
        GtkCellRendererState _tmp6_;
743
743
        self = (KeyValueRenderer*) base;
744
744
        g_return_if_fail (context != NULL);
745
745
        g_return_if_fail (widget != NULL);
759
759
static gboolean key_value_renderer_real_activate (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, GdkRectangle* background_area, GdkRectangle* cell_area, GtkCellRendererState flags) {
760
760
        KeyValueRenderer * self;
761
761
        gboolean result = FALSE;
762
 
        GtkCellRenderer* _tmp0_ = NULL;
763
 
        GtkCellRenderer* _tmp1_ = NULL;
764
 
        GdkEvent* _tmp2_ = NULL;
765
 
        GtkWidget* _tmp3_ = NULL;
766
 
        const gchar* _tmp4_ = NULL;
767
 
        GdkRectangle _tmp5_ = {0};
768
 
        GdkRectangle _tmp6_ = {0};
769
 
        GtkCellRendererState _tmp7_ = 0;
 
762
        GtkCellRenderer* _tmp0_;
 
763
        GtkCellRenderer* _tmp1_;
 
764
        GdkEvent* _tmp2_;
 
765
        GtkWidget* _tmp3_;
 
766
        const gchar* _tmp4_;
 
767
        GdkRectangle _tmp5_;
 
768
        GdkRectangle _tmp6_;
 
769
        GtkCellRendererState _tmp7_;
770
770
        gboolean _tmp8_ = FALSE;
771
771
        self = (KeyValueRenderer*) base;
772
772
        g_return_val_if_fail (event != NULL, FALSE);
791
791
static GtkCellEditable* key_value_renderer_real_start_editing (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, GdkRectangle* background_area, GdkRectangle* cell_area, GtkCellRendererState flags) {
792
792
        KeyValueRenderer * self;
793
793
        GtkCellEditable* result = NULL;
794
 
        GtkCellRenderer* _tmp0_ = NULL;
795
 
        GtkCellRenderer* _tmp1_ = NULL;
796
 
        GdkEvent* _tmp2_ = NULL;
797
 
        GtkWidget* _tmp3_ = NULL;
798
 
        const gchar* _tmp4_ = NULL;
799
 
        GdkRectangle _tmp5_ = {0};
800
 
        GdkRectangle _tmp6_ = {0};
801
 
        GtkCellRendererState _tmp7_ = 0;
 
794
        GtkCellRenderer* _tmp0_;
 
795
        GtkCellRenderer* _tmp1_;
 
796
        GdkEvent* _tmp2_;
 
797
        GtkWidget* _tmp3_;
 
798
        const gchar* _tmp4_;
 
799
        GdkRectangle _tmp5_;
 
800
        GdkRectangle _tmp6_;
 
801
        GtkCellRendererState _tmp7_;
802
802
        GtkCellEditable* _tmp8_ = NULL;
803
803
        self = (KeyValueRenderer*) base;
804
804
        g_return_val_if_fail (event != NULL, NULL);
823
823
static Key* key_value_renderer_get_key_from_path (KeyValueRenderer* self, const gchar* path) {
824
824
        Key* result = NULL;
825
825
        GtkTreeIter iter = {0};
826
 
        DConfKeyView* _tmp0_ = NULL;
827
 
        GtkTreeModel* _tmp1_ = NULL;
828
 
        GtkTreeModel* _tmp2_ = NULL;
829
 
        const gchar* _tmp3_ = NULL;
 
826
        DConfKeyView* _tmp0_;
 
827
        GtkTreeModel* _tmp1_;
 
828
        GtkTreeModel* _tmp2_;
 
829
        const gchar* _tmp3_;
830
830
        GtkTreeIter _tmp4_ = {0};
831
831
        Key* key = NULL;
832
 
        DConfKeyView* _tmp5_ = NULL;
833
 
        GtkTreeModel* _tmp6_ = NULL;
834
 
        GtkTreeModel* _tmp7_ = NULL;
835
 
        GtkTreeIter _tmp8_ = {0};
 
832
        DConfKeyView* _tmp5_;
 
833
        GtkTreeModel* _tmp6_;
 
834
        GtkTreeModel* _tmp7_;
 
835
        GtkTreeIter _tmp8_;
836
836
        g_return_val_if_fail (self != NULL, NULL);
837
837
        g_return_val_if_fail (path != NULL, NULL);
838
838
        _tmp0_ = self->priv->view;
852
852
 
853
853
 
854
854
static void key_value_renderer_toggle_cb (KeyValueRenderer* self, GtkCellRendererToggle* renderer, const gchar* path) {
855
 
        Key* key = NULL;
856
 
        const gchar* _tmp0_ = NULL;
 
855
        const gchar* _tmp0_;
857
856
        Key* _tmp1_ = NULL;
858
 
        GVariant* _tmp2_ = NULL;
859
 
        GVariant* _tmp3_ = NULL;
 
857
        Key* key;
 
858
        GVariant* _tmp2_;
 
859
        GVariant* _tmp3_;
860
860
        gboolean _tmp4_ = FALSE;
861
 
        GVariant* _tmp5_ = NULL;
862
 
        GVariant* _tmp6_ = NULL;
 
861
        GVariant* _tmp5_;
 
862
        GVariant* _tmp6_;
863
863
        g_return_if_fail (self != NULL);
864
864
        g_return_if_fail (renderer != NULL);
865
865
        g_return_if_fail (path != NULL);
879
879
 
880
880
 
881
881
static void key_value_renderer_text_edited_cb (KeyValueRenderer* self, GtkCellRendererText* renderer, const gchar* path, const gchar* text) {
882
 
        Key* key = NULL;
883
 
        const gchar* _tmp0_ = NULL;
 
882
        const gchar* _tmp0_;
884
883
        Key* _tmp1_ = NULL;
 
884
        Key* key;
885
885
        gboolean _tmp2_ = FALSE;
886
 
        Key* _tmp3_ = NULL;
887
 
        const gchar* _tmp4_ = NULL;
888
 
        const gchar* _tmp5_ = NULL;
 
886
        Key* _tmp3_;
 
887
        const gchar* _tmp4_;
 
888
        const gchar* _tmp5_;
 
889
        gboolean _tmp9_;
889
890
        GError * _inner_error_ = NULL;
890
891
        g_return_if_fail (self != NULL);
891
892
        g_return_if_fail (renderer != NULL);
900
901
        if (g_strcmp0 (_tmp5_, "s") == 0) {
901
902
                _tmp2_ = TRUE;
902
903
        } else {
903
 
                Key* _tmp6_ = NULL;
904
 
                const gchar* _tmp7_ = NULL;
905
 
                const gchar* _tmp8_ = NULL;
 
904
                Key* _tmp6_;
 
905
                const gchar* _tmp7_;
 
906
                const gchar* _tmp8_;
906
907
                _tmp6_ = key;
907
908
                _tmp7_ = key_get_type_string (_tmp6_);
908
909
                _tmp8_ = _tmp7_;
909
910
                _tmp2_ = g_strcmp0 (_tmp8_, "<enum>") == 0;
910
911
        }
911
 
        if (_tmp2_) {
912
 
                Key* _tmp9_ = NULL;
913
 
                const gchar* _tmp10_ = NULL;
914
 
                GVariant* _tmp11_ = NULL;
915
 
                GVariant* _tmp12_ = NULL;
916
 
                _tmp9_ = key;
917
 
                _tmp10_ = text;
918
 
                _tmp11_ = g_variant_new_string (_tmp10_);
919
 
                g_variant_ref_sink (_tmp11_);
920
 
                _tmp12_ = _tmp11_;
921
 
                key_set_value (_tmp9_, _tmp12_);
922
 
                _g_variant_unref0 (_tmp12_);
 
912
        _tmp9_ = _tmp2_;
 
913
        if (_tmp9_) {
 
914
                Key* _tmp10_;
 
915
                const gchar* _tmp11_;
 
916
                GVariant* _tmp12_;
 
917
                GVariant* _tmp13_;
 
918
                _tmp10_ = key;
 
919
                _tmp11_ = text;
 
920
                _tmp12_ = g_variant_new_string (_tmp11_);
 
921
                g_variant_ref_sink (_tmp12_);
 
922
                _tmp13_ = _tmp12_;
 
923
                key_set_value (_tmp10_, _tmp13_);
 
924
                _g_variant_unref0 (_tmp13_);
923
925
        } else {
924
926
                {
925
 
                        GVariant* value = NULL;
926
 
                        Key* _tmp13_ = NULL;
927
 
                        const gchar* _tmp14_ = NULL;
928
 
                        const gchar* _tmp15_ = NULL;
929
 
                        GVariantType* _tmp16_ = NULL;
930
 
                        GVariantType* _tmp17_ = NULL;
931
 
                        const gchar* _tmp18_ = NULL;
932
 
                        GVariant* _tmp19_ = NULL;
 
927
                        Key* _tmp14_;
 
928
                        const gchar* _tmp15_;
 
929
                        const gchar* _tmp16_;
 
930
                        GVariantType* _tmp17_;
 
931
                        GVariantType* _tmp18_;
 
932
                        const gchar* _tmp19_;
933
933
                        GVariant* _tmp20_ = NULL;
934
 
                        Key* _tmp21_ = NULL;
935
 
                        GVariant* _tmp22_ = NULL;
936
 
                        _tmp13_ = key;
937
 
                        _tmp14_ = key_get_type_string (_tmp13_);
938
 
                        _tmp15_ = _tmp14_;
939
 
                        _tmp16_ = g_variant_type_new (_tmp15_);
940
 
                        _tmp17_ = _tmp16_;
941
 
                        _tmp18_ = text;
942
 
                        _tmp19_ = g_variant_parse (_tmp17_, _tmp18_, NULL, NULL, &_inner_error_);
943
 
                        _tmp20_ = _tmp19_;
944
 
                        _g_variant_type_free0 (_tmp17_);
945
 
                        value = _tmp20_;
 
934
                        GVariant* _tmp21_;
 
935
                        GVariant* value;
 
936
                        Key* _tmp22_;
 
937
                        GVariant* _tmp23_;
 
938
                        _tmp14_ = key;
 
939
                        _tmp15_ = key_get_type_string (_tmp14_);
 
940
                        _tmp16_ = _tmp15_;
 
941
                        _tmp17_ = g_variant_type_new (_tmp16_);
 
942
                        _tmp18_ = _tmp17_;
 
943
                        _tmp19_ = text;
 
944
                        _tmp20_ = g_variant_parse (_tmp18_, _tmp19_, NULL, NULL, &_inner_error_);
 
945
                        _tmp21_ = _tmp20_;
 
946
                        _g_variant_type_free0 (_tmp18_);
 
947
                        value = _tmp21_;
946
948
                        if (_inner_error_ != NULL) {
947
949
                                if (_inner_error_->domain == G_VARIANT_PARSE_ERROR) {
948
950
                                        goto __catch12_g_variant_parse_error;
952
954
                                g_clear_error (&_inner_error_);
953
955
                                return;
954
956
                        }
955
 
                        _tmp21_ = key;
956
 
                        _tmp22_ = value;
957
 
                        key_set_value (_tmp21_, _tmp22_);
 
957
                        _tmp22_ = key;
 
958
                        _tmp23_ = value;
 
959
                        key_set_value (_tmp22_, _tmp23_);
958
960
                        _g_variant_unref0 (value);
959
961
                }
960
962
                goto __finally12;
961
963
                __catch12_g_variant_parse_error:
962
964
                {
963
965
                        GError* e = NULL;
964
 
                        GtkMessageDialog* dialog = NULL;
965
 
                        const gchar* _tmp23_ = NULL;
966
 
                        GError* _tmp24_ = NULL;
967
 
                        const gchar* _tmp25_ = NULL;
968
 
                        GtkMessageDialog* _tmp26_ = NULL;
969
 
                        GtkMessageDialog* _tmp27_ = NULL;
970
 
                        GtkMessageDialog* _tmp28_ = NULL;
 
966
                        const gchar* _tmp24_ = NULL;
 
967
                        GError* _tmp25_;
 
968
                        const gchar* _tmp26_;
 
969
                        GtkMessageDialog* _tmp27_;
 
970
                        GtkMessageDialog* dialog;
 
971
                        GtkMessageDialog* _tmp28_;
 
972
                        GtkMessageDialog* _tmp29_;
971
973
                        e = _inner_error_;
972
974
                        _inner_error_ = NULL;
973
 
                        _tmp23_ = _ ("Error setting value: %s");
974
 
                        _tmp24_ = e;
975
 
                        _tmp25_ = _tmp24_->message;
976
 
                        _tmp26_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _tmp23_, _tmp25_);
977
 
                        g_object_ref_sink (_tmp26_);
978
 
                        dialog = _tmp26_;
979
 
                        _tmp27_ = dialog;
980
 
                        gtk_dialog_run ((GtkDialog*) _tmp27_);
 
975
                        _tmp24_ = _ ("Error setting value: %s");
 
976
                        _tmp25_ = e;
 
977
                        _tmp26_ = _tmp25_->message;
 
978
                        _tmp27_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _tmp24_, _tmp26_);
 
979
                        g_object_ref_sink (_tmp27_);
 
980
                        dialog = _tmp27_;
981
981
                        _tmp28_ = dialog;
982
 
                        gtk_widget_destroy ((GtkWidget*) _tmp28_);
 
982
                        gtk_dialog_run ((GtkDialog*) _tmp28_);
 
983
                        _tmp29_ = dialog;
 
984
                        gtk_widget_destroy ((GtkWidget*) _tmp29_);
983
985
                        _g_object_unref0 (dialog);
984
986
                        _g_error_free0 (e);
985
987
                }
997
999
 
998
1000
static gdouble double_parse (const gchar* str) {
999
1001
        gdouble result = 0.0;
1000
 
        const gchar* _tmp0_ = NULL;
 
1002
        const gchar* _tmp0_;
1001
1003
        gdouble _tmp1_ = 0.0;
1002
1004
        g_return_val_if_fail (str != NULL, 0.0);
1003
1005
        _tmp0_ = str;
1008
1010
 
1009
1011
 
1010
1012
static void key_value_renderer_spin_edited_cb (KeyValueRenderer* self, GtkCellRendererText* renderer, const gchar* path, const gchar* text) {
1011
 
        Key* key = NULL;
1012
 
        const gchar* _tmp0_ = NULL;
 
1013
        const gchar* _tmp0_;
1013
1014
        Key* _tmp1_ = NULL;
1014
 
        Key* _tmp2_ = NULL;
1015
 
        const gchar* _tmp3_ = NULL;
1016
 
        const gchar* _tmp4_ = NULL;
1017
 
        const gchar* _tmp5_ = NULL;
 
1015
        Key* key;
 
1016
        Key* _tmp2_;
 
1017
        const gchar* _tmp3_;
 
1018
        const gchar* _tmp4_;
 
1019
        const gchar* _tmp5_;
1018
1020
        GQuark _tmp7_ = 0U;
1019
1021
        static GQuark _tmp6_label0 = 0;
1020
1022
        static GQuark _tmp6_label1 = 0;
1040
1042
                switch (0) {
1041
1043
                        default:
1042
1044
                        {
1043
 
                                Key* _tmp8_ = NULL;
1044
 
                                const gchar* _tmp9_ = NULL;
 
1045
                                Key* _tmp8_;
 
1046
                                const gchar* _tmp9_;
1045
1047
                                gint _tmp10_ = 0;
1046
 
                                GVariant* _tmp11_ = NULL;
1047
 
                                GVariant* _tmp12_ = NULL;
 
1048
                                GVariant* _tmp11_;
 
1049
                                GVariant* _tmp12_;
1048
1050
                                _tmp8_ = key;
1049
1051
                                _tmp9_ = text;
1050
1052
                                _tmp10_ = atoi (_tmp9_);
1060
1062
                switch (0) {
1061
1063
                        default:
1062
1064
                        {
1063
 
                                Key* _tmp13_ = NULL;
1064
 
                                const gchar* _tmp14_ = NULL;
 
1065
                                Key* _tmp13_;
 
1066
                                const gchar* _tmp14_;
1065
1067
                                gint _tmp15_ = 0;
1066
 
                                GVariant* _tmp16_ = NULL;
1067
 
                                GVariant* _tmp17_ = NULL;
 
1068
                                GVariant* _tmp16_;
 
1069
                                GVariant* _tmp17_;
1068
1070
                                _tmp13_ = key;
1069
1071
                                _tmp14_ = text;
1070
1072
                                _tmp15_ = atoi (_tmp14_);
1080
1082
                switch (0) {
1081
1083
                        default:
1082
1084
                        {
1083
 
                                Key* _tmp18_ = NULL;
1084
 
                                const gchar* _tmp19_ = NULL;
 
1085
                                Key* _tmp18_;
 
1086
                                const gchar* _tmp19_;
1085
1087
                                gint _tmp20_ = 0;
1086
 
                                GVariant* _tmp21_ = NULL;
1087
 
                                GVariant* _tmp22_ = NULL;
 
1088
                                GVariant* _tmp21_;
 
1089
                                GVariant* _tmp22_;
1088
1090
                                _tmp18_ = key;
1089
1091
                                _tmp19_ = text;
1090
1092
                                _tmp20_ = atoi (_tmp19_);
1100
1102
                switch (0) {
1101
1103
                        default:
1102
1104
                        {
1103
 
                                Key* _tmp23_ = NULL;
1104
 
                                const gchar* _tmp24_ = NULL;
 
1105
                                Key* _tmp23_;
 
1106
                                const gchar* _tmp24_;
1105
1107
                                gint _tmp25_ = 0;
1106
 
                                GVariant* _tmp26_ = NULL;
1107
 
                                GVariant* _tmp27_ = NULL;
 
1108
                                GVariant* _tmp26_;
 
1109
                                GVariant* _tmp27_;
1108
1110
                                _tmp23_ = key;
1109
1111
                                _tmp24_ = text;
1110
1112
                                _tmp25_ = atoi (_tmp24_);
1120
1122
                switch (0) {
1121
1123
                        default:
1122
1124
                        {
1123
 
                                Key* _tmp28_ = NULL;
1124
 
                                const gchar* _tmp29_ = NULL;
 
1125
                                Key* _tmp28_;
 
1126
                                const gchar* _tmp29_;
1125
1127
                                gint _tmp30_ = 0;
1126
 
                                GVariant* _tmp31_ = NULL;
1127
 
                                GVariant* _tmp32_ = NULL;
 
1128
                                GVariant* _tmp31_;
 
1129
                                GVariant* _tmp32_;
1128
1130
                                _tmp28_ = key;
1129
1131
                                _tmp29_ = text;
1130
1132
                                _tmp30_ = atoi (_tmp29_);
1140
1142
                switch (0) {
1141
1143
                        default:
1142
1144
                        {
1143
 
                                Key* _tmp33_ = NULL;
1144
 
                                const gchar* _tmp34_ = NULL;
 
1145
                                Key* _tmp33_;
 
1146
                                const gchar* _tmp34_;
1145
1147
                                gint _tmp35_ = 0;
1146
 
                                GVariant* _tmp36_ = NULL;
1147
 
                                GVariant* _tmp37_ = NULL;
 
1148
                                GVariant* _tmp36_;
 
1149
                                GVariant* _tmp37_;
1148
1150
                                _tmp33_ = key;
1149
1151
                                _tmp34_ = text;
1150
1152
                                _tmp35_ = atoi (_tmp34_);
1160
1162
                switch (0) {
1161
1163
                        default:
1162
1164
                        {
1163
 
                                Key* _tmp38_ = NULL;
1164
 
                                const gchar* _tmp39_ = NULL;
 
1165
                                Key* _tmp38_;
 
1166
                                const gchar* _tmp39_;
1165
1167
                                gint _tmp40_ = 0;
1166
 
                                GVariant* _tmp41_ = NULL;
1167
 
                                GVariant* _tmp42_ = NULL;
 
1168
                                GVariant* _tmp41_;
 
1169
                                GVariant* _tmp42_;
1168
1170
                                _tmp38_ = key;
1169
1171
                                _tmp39_ = text;
1170
1172
                                _tmp40_ = atoi (_tmp39_);
1180
1182
                switch (0) {
1181
1183
                        default:
1182
1184
                        {
1183
 
                                Key* _tmp43_ = NULL;
1184
 
                                const gchar* _tmp44_ = NULL;
 
1185
                                Key* _tmp43_;
 
1186
                                const gchar* _tmp44_;
1185
1187
                                gdouble _tmp45_ = 0.0;
1186
 
                                GVariant* _tmp46_ = NULL;
1187
 
                                GVariant* _tmp47_ = NULL;
 
1188
                                GVariant* _tmp46_;
 
1189
                                GVariant* _tmp47_;
1188
1190
                                _tmp43_ = key;
1189
1191
                                _tmp44_ = text;
1190
1192
                                _tmp45_ = double_parse (_tmp44_);
1203
1205
 
1204
1206
Key* key_value_renderer_get_key (KeyValueRenderer* self) {
1205
1207
        Key* result;
1206
 
        Key* _tmp0_ = NULL;
 
1208
        Key* _tmp0_;
1207
1209
        g_return_val_if_fail (self != NULL, NULL);
1208
1210
        _tmp0_ = self->priv->_key;
1209
1211
        result = _tmp0_;
1217
1219
 
1218
1220
 
1219
1221
void key_value_renderer_set_key (KeyValueRenderer* self, Key* value) {
1220
 
        Key* _tmp0_ = NULL;
1221
 
        Key* _tmp1_ = NULL;
 
1222
        Key* _tmp0_;
 
1223
        Key* _tmp1_;
1222
1224
        gboolean _tmp2_ = FALSE;
1223
 
        Key* _tmp3_ = NULL;
1224
 
        Key* _tmp4_ = NULL;
1225
 
        gboolean _tmp5_ = FALSE;
1226
 
        gboolean _tmp6_ = FALSE;
1227
 
        Key* _tmp36_ = NULL;
1228
 
        Key* _tmp37_ = NULL;
1229
 
        const gchar* _tmp38_ = NULL;
1230
 
        const gchar* _tmp39_ = NULL;
1231
 
        const gchar* _tmp40_ = NULL;
1232
 
        GQuark _tmp42_ = 0U;
1233
 
        static GQuark _tmp41_label0 = 0;
1234
 
        static GQuark _tmp41_label1 = 0;
1235
 
        static GQuark _tmp41_label2 = 0;
1236
 
        static GQuark _tmp41_label3 = 0;
1237
 
        static GQuark _tmp41_label4 = 0;
1238
 
        static GQuark _tmp41_label5 = 0;
1239
 
        static GQuark _tmp41_label6 = 0;
1240
 
        static GQuark _tmp41_label7 = 0;
1241
 
        static GQuark _tmp41_label8 = 0;
1242
 
        static GQuark _tmp41_label9 = 0;
1243
 
        static GQuark _tmp41_label10 = 0;
 
1225
        Key* _tmp3_;
 
1226
        Key* _tmp4_;
 
1227
        gboolean _tmp5_;
 
1228
        gboolean _tmp6_;
 
1229
        gboolean _tmp11_;
 
1230
        Key* _tmp37_;
 
1231
        Key* _tmp38_;
 
1232
        const gchar* _tmp39_;
 
1233
        const gchar* _tmp40_;
 
1234
        const gchar* _tmp41_;
 
1235
        GQuark _tmp43_ = 0U;
 
1236
        static GQuark _tmp42_label0 = 0;
 
1237
        static GQuark _tmp42_label1 = 0;
 
1238
        static GQuark _tmp42_label2 = 0;
 
1239
        static GQuark _tmp42_label3 = 0;
 
1240
        static GQuark _tmp42_label4 = 0;
 
1241
        static GQuark _tmp42_label5 = 0;
 
1242
        static GQuark _tmp42_label6 = 0;
 
1243
        static GQuark _tmp42_label7 = 0;
 
1244
        static GQuark _tmp42_label8 = 0;
 
1245
        static GQuark _tmp42_label9 = 0;
 
1246
        static GQuark _tmp42_label10 = 0;
1244
1247
        g_return_if_fail (self != NULL);
1245
1248
        _tmp0_ = value;
1246
1249
        _tmp1_ = _g_object_ref0 (_tmp0_);
1251
1254
        _tmp5_ = key_get_has_schema (_tmp4_);
1252
1255
        _tmp6_ = _tmp5_;
1253
1256
        if (_tmp6_) {
1254
 
                Key* _tmp7_ = NULL;
1255
 
                Key* _tmp8_ = NULL;
1256
 
                SchemaKey* _tmp9_ = NULL;
1257
 
                GList* _tmp10_ = NULL;
 
1257
                Key* _tmp7_;
 
1258
                Key* _tmp8_;
 
1259
                SchemaKey* _tmp9_;
 
1260
                GList* _tmp10_;
1258
1261
                _tmp7_ = key_value_renderer_get_key (self);
1259
1262
                _tmp8_ = _tmp7_;
1260
1263
                _tmp9_ = _tmp8_->schema;
1263
1266
        } else {
1264
1267
                _tmp2_ = FALSE;
1265
1268
        }
1266
 
        if (_tmp2_) {
1267
 
                GtkCellRendererCombo* _tmp11_ = NULL;
1268
 
                Key* _tmp12_ = NULL;
1269
 
                Key* _tmp13_ = NULL;
1270
 
                GVariant* _tmp14_ = NULL;
1271
 
                GVariant* _tmp15_ = NULL;
1272
 
                gchar* _tmp16_ = NULL;
 
1269
        _tmp11_ = _tmp2_;
 
1270
        if (_tmp11_) {
 
1271
                GtkCellRendererCombo* _tmp12_;
 
1272
                Key* _tmp13_;
 
1273
                Key* _tmp14_;
 
1274
                GVariant* _tmp15_;
 
1275
                GVariant* _tmp16_;
1273
1276
                gchar* _tmp17_ = NULL;
1274
 
                GtkListStore* model = NULL;
1275
 
                GtkListStore* _tmp18_ = NULL;
1276
 
                Key* _tmp19_ = NULL;
1277
 
                Key* _tmp20_ = NULL;
1278
 
                SchemaKey* _tmp21_ = NULL;
1279
 
                GList* _tmp22_ = NULL;
1280
 
                GtkCellRendererCombo* _tmp34_ = NULL;
1281
 
                GtkListStore* _tmp35_ = NULL;
1282
 
                _tmp11_ = self->priv->combo_renderer;
1283
 
                _tmp12_ = key_value_renderer_get_key (self);
1284
 
                _tmp13_ = _tmp12_;
1285
 
                _tmp14_ = key_get_value (_tmp13_);
1286
 
                _tmp15_ = _tmp14_;
1287
 
                _tmp16_ = g_variant_print (_tmp15_, FALSE);
1288
 
                _tmp17_ = _tmp16_;
1289
 
                g_object_set ((GtkCellRendererText*) _tmp11_, "text", _tmp17_, NULL);
1290
 
                _g_free0 (_tmp17_);
1291
 
                _tmp18_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
1292
 
                model = _tmp18_;
1293
 
                _tmp19_ = key_value_renderer_get_key (self);
1294
 
                _tmp20_ = _tmp19_;
1295
 
                _tmp21_ = _tmp20_->schema;
1296
 
                _tmp22_ = _tmp21_->choices;
 
1277
                gchar* _tmp18_;
 
1278
                GtkListStore* _tmp19_;
 
1279
                GtkListStore* model;
 
1280
                Key* _tmp20_;
 
1281
                Key* _tmp21_;
 
1282
                SchemaKey* _tmp22_;
 
1283
                GList* _tmp23_;
 
1284
                GtkCellRendererCombo* _tmp35_;
 
1285
                GtkListStore* _tmp36_;
 
1286
                _tmp12_ = self->priv->combo_renderer;
 
1287
                _tmp13_ = key_value_renderer_get_key (self);
 
1288
                _tmp14_ = _tmp13_;
 
1289
                _tmp15_ = key_get_value (_tmp14_);
 
1290
                _tmp16_ = _tmp15_;
 
1291
                _tmp17_ = g_variant_print (_tmp16_, FALSE);
 
1292
                _tmp18_ = _tmp17_;
 
1293
                g_object_set ((GtkCellRendererText*) _tmp12_, "text", _tmp18_, NULL);
 
1294
                _g_free0 (_tmp18_);
 
1295
                _tmp19_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
 
1296
                model = _tmp19_;
 
1297
                _tmp20_ = key_value_renderer_get_key (self);
 
1298
                _tmp21_ = _tmp20_;
 
1299
                _tmp22_ = _tmp21_->schema;
 
1300
                _tmp23_ = _tmp22_->choices;
1297
1301
                {
1298
1302
                        GList* choice_collection = NULL;
1299
1303
                        GList* choice_it = NULL;
1300
 
                        choice_collection = _tmp22_;
 
1304
                        choice_collection = _tmp23_;
1301
1305
                        for (choice_it = choice_collection; choice_it != NULL; choice_it = choice_it->next) {
1302
 
                                SchemaChoice* _tmp23_ = NULL;
 
1306
                                SchemaChoice* _tmp24_;
1303
1307
                                SchemaChoice* choice = NULL;
1304
 
                                _tmp23_ = _schema_choice_ref0 ((SchemaChoice*) choice_it->data);
1305
 
                                choice = _tmp23_;
 
1308
                                _tmp24_ = _schema_choice_ref0 ((SchemaChoice*) choice_it->data);
 
1309
                                choice = _tmp24_;
1306
1310
                                {
1307
1311
                                        GtkTreeIter iter = {0};
1308
 
                                        GtkListStore* _tmp24_ = NULL;
1309
 
                                        GtkTreeIter _tmp25_ = {0};
1310
 
                                        GtkListStore* _tmp26_ = NULL;
1311
 
                                        GtkTreeIter _tmp27_ = {0};
1312
 
                                        SchemaChoice* _tmp28_ = NULL;
1313
 
                                        const gchar* _tmp29_ = NULL;
1314
 
                                        SchemaChoice* _tmp30_ = NULL;
1315
 
                                        GVariant* _tmp31_ = NULL;
1316
 
                                        gchar* _tmp32_ = NULL;
 
1312
                                        GtkListStore* _tmp25_;
 
1313
                                        GtkTreeIter _tmp26_ = {0};
 
1314
                                        GtkListStore* _tmp27_;
 
1315
                                        GtkTreeIter _tmp28_;
 
1316
                                        SchemaChoice* _tmp29_;
 
1317
                                        const gchar* _tmp30_;
 
1318
                                        SchemaChoice* _tmp31_;
 
1319
                                        GVariant* _tmp32_;
1317
1320
                                        gchar* _tmp33_ = NULL;
1318
 
                                        _tmp24_ = model;
1319
 
                                        gtk_list_store_append (_tmp24_, &_tmp25_);
1320
 
                                        iter = _tmp25_;
1321
 
                                        _tmp26_ = model;
1322
 
                                        _tmp27_ = iter;
1323
 
                                        _tmp28_ = choice;
1324
 
                                        _tmp29_ = _tmp28_->name;
1325
 
                                        _tmp30_ = choice;
1326
 
                                        _tmp31_ = _tmp30_->value;
1327
 
                                        _tmp32_ = g_variant_print (_tmp31_, FALSE);
1328
 
                                        _tmp33_ = _tmp32_;
1329
 
                                        gtk_list_store_set (_tmp26_, &_tmp27_, 0, _tmp29_, 1, _tmp33_, -1, -1);
1330
 
                                        _g_free0 (_tmp33_);
 
1321
                                        gchar* _tmp34_;
 
1322
                                        _tmp25_ = model;
 
1323
                                        gtk_list_store_append (_tmp25_, &_tmp26_);
 
1324
                                        iter = _tmp26_;
 
1325
                                        _tmp27_ = model;
 
1326
                                        _tmp28_ = iter;
 
1327
                                        _tmp29_ = choice;
 
1328
                                        _tmp30_ = _tmp29_->name;
 
1329
                                        _tmp31_ = choice;
 
1330
                                        _tmp32_ = _tmp31_->value;
 
1331
                                        _tmp33_ = g_variant_print (_tmp32_, FALSE);
 
1332
                                        _tmp34_ = _tmp33_;
 
1333
                                        gtk_list_store_set (_tmp27_, &_tmp28_, 0, _tmp30_, 1, _tmp34_, -1, -1);
 
1334
                                        _g_free0 (_tmp34_);
1331
1335
                                        _schema_choice_unref0 (choice);
1332
1336
                                }
1333
1337
                        }
1334
1338
                }
1335
 
                _tmp34_ = self->priv->combo_renderer;
1336
 
                _tmp35_ = model;
1337
 
                g_object_set (_tmp34_, "model", (GtkTreeModel*) _tmp35_, NULL);
 
1339
                _tmp35_ = self->priv->combo_renderer;
 
1340
                _tmp36_ = model;
 
1341
                g_object_set (_tmp35_, "model", (GtkTreeModel*) _tmp36_, NULL);
1338
1342
                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
1339
1343
                _g_object_unref0 (model);
1340
1344
                return;
1341
1345
        }
1342
 
        _tmp36_ = key_value_renderer_get_key (self);
1343
 
        _tmp37_ = _tmp36_;
1344
 
        _tmp38_ = key_get_type_string (_tmp37_);
1345
 
        _tmp39_ = _tmp38_;
 
1346
        _tmp37_ = key_value_renderer_get_key (self);
 
1347
        _tmp38_ = _tmp37_;
 
1348
        _tmp39_ = key_get_type_string (_tmp38_);
1346
1349
        _tmp40_ = _tmp39_;
1347
 
        _tmp42_ = (NULL == _tmp40_) ? 0 : g_quark_from_string (_tmp40_);
1348
 
        if (_tmp42_ == ((0 != _tmp41_label0) ? _tmp41_label0 : (_tmp41_label0 = g_quark_from_static_string ("<enum>")))) {
 
1350
        _tmp41_ = _tmp40_;
 
1351
        _tmp43_ = (NULL == _tmp41_) ? 0 : g_quark_from_string (_tmp41_);
 
1352
        if (_tmp43_ == ((0 != _tmp42_label0) ? _tmp42_label0 : (_tmp42_label0 = g_quark_from_static_string ("<enum>")))) {
1349
1353
                switch (0) {
1350
1354
                        default:
1351
1355
                        {
1352
 
                                GtkCellRendererCombo* _tmp43_ = NULL;
1353
 
                                Key* _tmp44_ = NULL;
1354
 
                                Key* _tmp45_ = NULL;
1355
 
                                GVariant* _tmp46_ = NULL;
1356
 
                                GVariant* _tmp47_ = NULL;
1357
 
                                const gchar* _tmp48_ = NULL;
1358
 
                                GtkCellRendererCombo* _tmp49_ = NULL;
1359
 
                                Key* _tmp50_ = NULL;
1360
 
                                Key* _tmp51_ = NULL;
1361
 
                                SchemaKey* _tmp52_ = NULL;
1362
 
                                Schema* _tmp53_ = NULL;
1363
 
                                SchemaList* _tmp54_ = NULL;
1364
 
                                GHashTable* _tmp55_ = NULL;
1365
 
                                Key* _tmp56_ = NULL;
1366
 
                                Key* _tmp57_ = NULL;
1367
 
                                SchemaKey* _tmp58_ = NULL;
1368
 
                                const gchar* _tmp59_ = NULL;
1369
 
                                gconstpointer _tmp60_ = NULL;
1370
 
                                EnumModel* _tmp61_ = NULL;
1371
 
                                EnumModel* _tmp62_ = NULL;
1372
 
                                _tmp43_ = self->priv->combo_renderer;
1373
 
                                _tmp44_ = key_value_renderer_get_key (self);
1374
 
                                _tmp45_ = _tmp44_;
1375
 
                                _tmp46_ = key_get_value (_tmp45_);
1376
 
                                _tmp47_ = _tmp46_;
1377
 
                                _tmp48_ = g_variant_get_string (_tmp47_, NULL);
1378
 
                                g_object_set ((GtkCellRendererText*) _tmp43_, "text", _tmp48_, NULL);
1379
 
                                _tmp49_ = self->priv->combo_renderer;
1380
 
                                _tmp50_ = key_value_renderer_get_key (self);
1381
 
                                _tmp51_ = _tmp50_;
1382
 
                                _tmp52_ = _tmp51_->schema;
 
1356
                                GtkCellRendererCombo* _tmp44_;
 
1357
                                Key* _tmp45_;
 
1358
                                Key* _tmp46_;
 
1359
                                GVariant* _tmp47_;
 
1360
                                GVariant* _tmp48_;
 
1361
                                const gchar* _tmp49_ = NULL;
 
1362
                                GtkCellRendererCombo* _tmp50_;
 
1363
                                Key* _tmp51_;
 
1364
                                Key* _tmp52_;
 
1365
                                SchemaKey* _tmp53_;
 
1366
                                Schema* _tmp54_;
 
1367
                                SchemaList* _tmp55_;
 
1368
                                GHashTable* _tmp56_;
 
1369
                                Key* _tmp57_;
 
1370
                                Key* _tmp58_;
 
1371
                                SchemaKey* _tmp59_;
 
1372
                                const gchar* _tmp60_;
 
1373
                                gconstpointer _tmp61_ = NULL;
 
1374
                                EnumModel* _tmp62_;
 
1375
                                EnumModel* _tmp63_;
 
1376
                                _tmp44_ = self->priv->combo_renderer;
 
1377
                                _tmp45_ = key_value_renderer_get_key (self);
 
1378
                                _tmp46_ = _tmp45_;
 
1379
                                _tmp47_ = key_get_value (_tmp46_);
 
1380
                                _tmp48_ = _tmp47_;
 
1381
                                _tmp49_ = g_variant_get_string (_tmp48_, NULL);
 
1382
                                g_object_set ((GtkCellRendererText*) _tmp44_, "text", _tmp49_, NULL);
 
1383
                                _tmp50_ = self->priv->combo_renderer;
 
1384
                                _tmp51_ = key_value_renderer_get_key (self);
 
1385
                                _tmp52_ = _tmp51_;
1383
1386
                                _tmp53_ = _tmp52_->schema;
1384
 
                                _tmp54_ = _tmp53_->list;
1385
 
                                _tmp55_ = _tmp54_->enums;
1386
 
                                _tmp56_ = key_value_renderer_get_key (self);
1387
 
                                _tmp57_ = _tmp56_;
1388
 
                                _tmp58_ = _tmp57_->schema;
1389
 
                                _tmp59_ = _tmp58_->enum_name;
1390
 
                                _tmp60_ = g_hash_table_lookup (_tmp55_, _tmp59_);
1391
 
                                _tmp61_ = enum_model_new ((SchemaEnum*) _tmp60_);
1392
 
                                _tmp62_ = _tmp61_;
1393
 
                                g_object_set (_tmp49_, "model", (GtkTreeModel*) _tmp62_, NULL);
1394
 
                                _g_object_unref0 (_tmp62_);
 
1387
                                _tmp54_ = _tmp53_->schema;
 
1388
                                _tmp55_ = _tmp54_->list;
 
1389
                                _tmp56_ = _tmp55_->enums;
 
1390
                                _tmp57_ = key_value_renderer_get_key (self);
 
1391
                                _tmp58_ = _tmp57_;
 
1392
                                _tmp59_ = _tmp58_->schema;
 
1393
                                _tmp60_ = _tmp59_->enum_name;
 
1394
                                _tmp61_ = g_hash_table_lookup (_tmp56_, _tmp60_);
 
1395
                                _tmp62_ = enum_model_new ((SchemaEnum*) _tmp61_);
 
1396
                                _tmp63_ = _tmp62_;
 
1397
                                g_object_set (_tmp50_, "model", (GtkTreeModel*) _tmp63_, NULL);
 
1398
                                _g_object_unref0 (_tmp63_);
1395
1399
                                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
1396
1400
                                break;
1397
1401
                        }
1398
1402
                }
1399
 
        } else if (_tmp42_ == ((0 != _tmp41_label1) ? _tmp41_label1 : (_tmp41_label1 = g_quark_from_static_string ("b")))) {
 
1403
        } else if (_tmp43_ == ((0 != _tmp42_label1) ? _tmp42_label1 : (_tmp42_label1 = g_quark_from_static_string ("b")))) {
1400
1404
                switch (0) {
1401
1405
                        default:
1402
1406
                        {
1403
 
                                GtkCellRendererToggle* _tmp63_ = NULL;
1404
 
                                Key* _tmp64_ = NULL;
1405
 
                                Key* _tmp65_ = NULL;
1406
 
                                GVariant* _tmp66_ = NULL;
1407
 
                                GVariant* _tmp67_ = NULL;
1408
 
                                gboolean _tmp68_ = FALSE;
1409
 
                                _tmp63_ = self->priv->toggle_renderer;
1410
 
                                _tmp64_ = key_value_renderer_get_key (self);
1411
 
                                _tmp65_ = _tmp64_;
1412
 
                                _tmp66_ = key_get_value (_tmp65_);
1413
 
                                _tmp67_ = _tmp66_;
1414
 
                                _tmp68_ = g_variant_get_boolean (_tmp67_);
1415
 
                                gtk_cell_renderer_toggle_set_active (_tmp63_, _tmp68_);
 
1407
                                GtkCellRendererToggle* _tmp64_;
 
1408
                                Key* _tmp65_;
 
1409
                                Key* _tmp66_;
 
1410
                                GVariant* _tmp67_;
 
1411
                                GVariant* _tmp68_;
 
1412
                                gboolean _tmp69_ = FALSE;
 
1413
                                _tmp64_ = self->priv->toggle_renderer;
 
1414
                                _tmp65_ = key_value_renderer_get_key (self);
 
1415
                                _tmp66_ = _tmp65_;
 
1416
                                _tmp67_ = key_get_value (_tmp66_);
 
1417
                                _tmp68_ = _tmp67_;
 
1418
                                _tmp69_ = g_variant_get_boolean (_tmp68_);
 
1419
                                gtk_cell_renderer_toggle_set_active (_tmp64_, _tmp69_);
1416
1420
                                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_ACTIVATABLE, NULL);
1417
1421
                                break;
1418
1422
                        }
1419
1423
                }
1420
 
        } else if (_tmp42_ == ((0 != _tmp41_label2) ? _tmp41_label2 : (_tmp41_label2 = g_quark_from_static_string ("s")))) {
 
1424
        } else if (_tmp43_ == ((0 != _tmp42_label2) ? _tmp42_label2 : (_tmp42_label2 = g_quark_from_static_string ("s")))) {
1421
1425
                switch (0) {
1422
1426
                        default:
1423
1427
                        {
1424
 
                                GtkCellRendererText* _tmp69_ = NULL;
1425
 
                                Key* _tmp70_ = NULL;
1426
 
                                Key* _tmp71_ = NULL;
1427
 
                                GVariant* _tmp72_ = NULL;
1428
 
                                GVariant* _tmp73_ = NULL;
1429
 
                                const gchar* _tmp74_ = NULL;
1430
 
                                _tmp69_ = self->priv->text_renderer;
1431
 
                                _tmp70_ = key_value_renderer_get_key (self);
1432
 
                                _tmp71_ = _tmp70_;
1433
 
                                _tmp72_ = key_get_value (_tmp71_);
1434
 
                                _tmp73_ = _tmp72_;
1435
 
                                _tmp74_ = g_variant_get_string (_tmp73_, NULL);
1436
 
                                g_object_set (_tmp69_, "text", _tmp74_, NULL);
 
1428
                                GtkCellRendererText* _tmp70_;
 
1429
                                Key* _tmp71_;
 
1430
                                Key* _tmp72_;
 
1431
                                GVariant* _tmp73_;
 
1432
                                GVariant* _tmp74_;
 
1433
                                const gchar* _tmp75_ = NULL;
 
1434
                                _tmp70_ = self->priv->text_renderer;
 
1435
                                _tmp71_ = key_value_renderer_get_key (self);
 
1436
                                _tmp72_ = _tmp71_;
 
1437
                                _tmp73_ = key_get_value (_tmp72_);
 
1438
                                _tmp74_ = _tmp73_;
 
1439
                                _tmp75_ = g_variant_get_string (_tmp74_, NULL);
 
1440
                                g_object_set (_tmp70_, "text", _tmp75_, NULL);
1437
1441
                                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
1438
1442
                                break;
1439
1443
                        }
1440
1444
                }
1441
 
        } else if ((((((((_tmp42_ == ((0 != _tmp41_label3) ? _tmp41_label3 : (_tmp41_label3 = g_quark_from_static_string ("y")))) || (_tmp42_ == ((0 != _tmp41_label4) ? _tmp41_label4 : (_tmp41_label4 = g_quark_from_static_string ("n"))))) || (_tmp42_ == ((0 != _tmp41_label5) ? _tmp41_label5 : (_tmp41_label5 = g_quark_from_static_string ("q"))))) || (_tmp42_ == ((0 != _tmp41_label6) ? _tmp41_label6 : (_tmp41_label6 = g_quark_from_static_string ("i"))))) || (_tmp42_ == ((0 != _tmp41_label7) ? _tmp41_label7 : (_tmp41_label7 = g_quark_from_static_string ("u"))))) || (_tmp42_ == ((0 != _tmp41_label8) ? _tmp41_label8 : (_tmp41_label8 = g_quark_from_static_string ("x"))))) || (_tmp42_ == ((0 != _tmp41_label9) ? _tmp41_label9 : (_tmp41_label9 = g_quark_from_static_string ("t"))))) || (_tmp42_ == ((0 != _tmp41_label10) ? _tmp41_label10 : (_tmp41_label10 = g_quark_from_static_string ("d"))))) {
 
1445
        } else if ((((((((_tmp43_ == ((0 != _tmp42_label3) ? _tmp42_label3 : (_tmp42_label3 = g_quark_from_static_string ("y")))) || (_tmp43_ == ((0 != _tmp42_label4) ? _tmp42_label4 : (_tmp42_label4 = g_quark_from_static_string ("n"))))) || (_tmp43_ == ((0 != _tmp42_label5) ? _tmp42_label5 : (_tmp42_label5 = g_quark_from_static_string ("q"))))) || (_tmp43_ == ((0 != _tmp42_label6) ? _tmp42_label6 : (_tmp42_label6 = g_quark_from_static_string ("i"))))) || (_tmp43_ == ((0 != _tmp42_label7) ? _tmp42_label7 : (_tmp42_label7 = g_quark_from_static_string ("u"))))) || (_tmp43_ == ((0 != _tmp42_label8) ? _tmp42_label8 : (_tmp42_label8 = g_quark_from_static_string ("x"))))) || (_tmp43_ == ((0 != _tmp42_label9) ? _tmp42_label9 : (_tmp42_label9 = g_quark_from_static_string ("t"))))) || (_tmp43_ == ((0 != _tmp42_label10) ? _tmp42_label10 : (_tmp42_label10 = g_quark_from_static_string ("d"))))) {
1442
1446
                switch (0) {
1443
1447
                        default:
1444
1448
                        {
1445
 
                                GtkCellRendererSpin* _tmp75_ = NULL;
1446
 
                                Key* _tmp76_ = NULL;
1447
 
                                Key* _tmp77_ = NULL;
1448
 
                                GVariant* _tmp78_ = NULL;
1449
 
                                GVariant* _tmp79_ = NULL;
1450
 
                                gchar* _tmp80_ = NULL;
 
1449
                                GtkCellRendererSpin* _tmp76_;
 
1450
                                Key* _tmp77_;
 
1451
                                Key* _tmp78_;
 
1452
                                GVariant* _tmp79_;
 
1453
                                GVariant* _tmp80_;
1451
1454
                                gchar* _tmp81_ = NULL;
1452
 
                                gdouble v = 0.0;
1453
 
                                Key* _tmp82_ = NULL;
1454
 
                                Key* _tmp83_ = NULL;
1455
 
                                GVariant* _tmp84_ = NULL;
1456
 
                                GVariant* _tmp85_ = NULL;
1457
 
                                gdouble _tmp86_ = 0.0;
1458
 
                                gdouble min = 0.0;
1459
 
                                gdouble max = 0.0;
1460
 
                                gboolean _tmp87_ = FALSE;
1461
 
                                Key* _tmp88_ = NULL;
1462
 
                                Key* _tmp89_ = NULL;
1463
 
                                gboolean _tmp90_ = FALSE;
1464
 
                                gboolean _tmp91_ = FALSE;
1465
 
                                GtkCellRendererSpin* _tmp118_ = NULL;
1466
 
                                gdouble _tmp119_ = 0.0;
1467
 
                                gdouble _tmp120_ = 0.0;
1468
 
                                gdouble _tmp121_ = 0.0;
1469
 
                                GtkAdjustment* _tmp122_ = NULL;
1470
 
                                GtkAdjustment* _tmp123_ = NULL;
1471
 
                                GtkCellRendererSpin* _tmp124_ = NULL;
1472
 
                                _tmp75_ = self->priv->spin_renderer;
1473
 
                                _tmp76_ = key_value_renderer_get_key (self);
1474
 
                                _tmp77_ = _tmp76_;
1475
 
                                _tmp78_ = key_get_value (_tmp77_);
1476
 
                                _tmp79_ = _tmp78_;
1477
 
                                _tmp80_ = g_variant_print (_tmp79_, FALSE);
1478
 
                                _tmp81_ = _tmp80_;
1479
 
                                g_object_set ((GtkCellRendererText*) _tmp75_, "text", _tmp81_, NULL);
1480
 
                                _g_free0 (_tmp81_);
1481
 
                                _tmp82_ = key_value_renderer_get_key (self);
1482
 
                                _tmp83_ = _tmp82_;
1483
 
                                _tmp84_ = key_get_value (_tmp83_);
1484
 
                                _tmp85_ = _tmp84_;
1485
 
                                _tmp86_ = key_value_renderer_get_variant_as_double (_tmp85_);
1486
 
                                v = _tmp86_;
 
1455
                                gchar* _tmp82_;
 
1456
                                Key* _tmp83_;
 
1457
                                Key* _tmp84_;
 
1458
                                GVariant* _tmp85_;
 
1459
                                GVariant* _tmp86_;
 
1460
                                gdouble _tmp87_ = 0.0;
 
1461
                                gdouble v;
 
1462
                                gdouble min;
 
1463
                                gdouble max;
 
1464
                                gboolean _tmp88_ = FALSE;
 
1465
                                Key* _tmp89_;
 
1466
                                Key* _tmp90_;
 
1467
                                gboolean _tmp91_;
 
1468
                                gboolean _tmp92_;
 
1469
                                gboolean _tmp97_;
 
1470
                                GtkCellRendererSpin* _tmp120_;
 
1471
                                gdouble _tmp121_;
 
1472
                                gdouble _tmp122_;
 
1473
                                gdouble _tmp123_;
 
1474
                                GtkAdjustment* _tmp124_;
 
1475
                                GtkAdjustment* _tmp125_;
 
1476
                                GtkCellRendererSpin* _tmp126_;
 
1477
                                _tmp76_ = self->priv->spin_renderer;
 
1478
                                _tmp77_ = key_value_renderer_get_key (self);
 
1479
                                _tmp78_ = _tmp77_;
 
1480
                                _tmp79_ = key_get_value (_tmp78_);
 
1481
                                _tmp80_ = _tmp79_;
 
1482
                                _tmp81_ = g_variant_print (_tmp80_, FALSE);
 
1483
                                _tmp82_ = _tmp81_;
 
1484
                                g_object_set ((GtkCellRendererText*) _tmp76_, "text", _tmp82_, NULL);
 
1485
                                _g_free0 (_tmp82_);
 
1486
                                _tmp83_ = key_value_renderer_get_key (self);
 
1487
                                _tmp84_ = _tmp83_;
 
1488
                                _tmp85_ = key_get_value (_tmp84_);
 
1489
                                _tmp86_ = _tmp85_;
 
1490
                                _tmp87_ = key_value_renderer_get_variant_as_double (_tmp86_);
 
1491
                                v = _tmp87_;
1487
1492
                                min = 0.0;
1488
1493
                                max = 0.0;
1489
 
                                _tmp88_ = key_value_renderer_get_key (self);
1490
 
                                _tmp89_ = _tmp88_;
1491
 
                                _tmp90_ = key_get_has_schema (_tmp89_);
1492
 
                                _tmp91_ = _tmp90_;
1493
 
                                if (_tmp91_) {
1494
 
                                        Key* _tmp92_ = NULL;
1495
 
                                        Key* _tmp93_ = NULL;
1496
 
                                        SchemaKey* _tmp94_ = NULL;
1497
 
                                        SchemaValueRange* _tmp95_ = NULL;
1498
 
                                        _tmp92_ = key_value_renderer_get_key (self);
1499
 
                                        _tmp93_ = _tmp92_;
1500
 
                                        _tmp94_ = _tmp93_->schema;
1501
 
                                        _tmp95_ = _tmp94_->range;
1502
 
                                        _tmp87_ = _tmp95_ != NULL;
 
1494
                                _tmp89_ = key_value_renderer_get_key (self);
 
1495
                                _tmp90_ = _tmp89_;
 
1496
                                _tmp91_ = key_get_has_schema (_tmp90_);
 
1497
                                _tmp92_ = _tmp91_;
 
1498
                                if (_tmp92_) {
 
1499
                                        Key* _tmp93_;
 
1500
                                        Key* _tmp94_;
 
1501
                                        SchemaKey* _tmp95_;
 
1502
                                        SchemaValueRange* _tmp96_;
 
1503
                                        _tmp93_ = key_value_renderer_get_key (self);
 
1504
                                        _tmp94_ = _tmp93_;
 
1505
                                        _tmp95_ = _tmp94_->schema;
 
1506
                                        _tmp96_ = _tmp95_->range;
 
1507
                                        _tmp88_ = _tmp96_ != NULL;
1503
1508
                                } else {
1504
 
                                        _tmp87_ = FALSE;
 
1509
                                        _tmp88_ = FALSE;
1505
1510
                                }
1506
 
                                if (_tmp87_) {
1507
 
                                        Key* _tmp96_ = NULL;
1508
 
                                        Key* _tmp97_ = NULL;
1509
 
                                        SchemaKey* _tmp98_ = NULL;
1510
 
                                        SchemaValueRange* _tmp99_ = NULL;
1511
 
                                        GVariant* _tmp100_ = NULL;
1512
 
                                        gdouble _tmp101_ = 0.0;
1513
 
                                        Key* _tmp102_ = NULL;
1514
 
                                        Key* _tmp103_ = NULL;
1515
 
                                        SchemaKey* _tmp104_ = NULL;
1516
 
                                        SchemaValueRange* _tmp105_ = NULL;
1517
 
                                        GVariant* _tmp106_ = NULL;
1518
 
                                        gdouble _tmp107_ = 0.0;
1519
 
                                        _tmp96_ = key_value_renderer_get_key (self);
1520
 
                                        _tmp97_ = _tmp96_;
1521
 
                                        _tmp98_ = _tmp97_->schema;
1522
 
                                        _tmp99_ = _tmp98_->range;
1523
 
                                        _tmp100_ = _tmp99_->min;
1524
 
                                        _tmp101_ = key_value_renderer_get_variant_as_double (_tmp100_);
1525
 
                                        min = _tmp101_;
1526
 
                                        _tmp102_ = key_value_renderer_get_key (self);
1527
 
                                        _tmp103_ = _tmp102_;
1528
 
                                        _tmp104_ = _tmp103_->schema;
1529
 
                                        _tmp105_ = _tmp104_->range;
1530
 
                                        _tmp106_ = _tmp105_->max;
1531
 
                                        _tmp107_ = key_value_renderer_get_variant_as_double (_tmp106_);
1532
 
                                        max = _tmp107_;
 
1511
                                _tmp97_ = _tmp88_;
 
1512
                                if (_tmp97_) {
 
1513
                                        Key* _tmp98_;
 
1514
                                        Key* _tmp99_;
 
1515
                                        SchemaKey* _tmp100_;
 
1516
                                        SchemaValueRange* _tmp101_;
 
1517
                                        GVariant* _tmp102_;
 
1518
                                        gdouble _tmp103_ = 0.0;
 
1519
                                        Key* _tmp104_;
 
1520
                                        Key* _tmp105_;
 
1521
                                        SchemaKey* _tmp106_;
 
1522
                                        SchemaValueRange* _tmp107_;
 
1523
                                        GVariant* _tmp108_;
 
1524
                                        gdouble _tmp109_ = 0.0;
 
1525
                                        _tmp98_ = key_value_renderer_get_key (self);
 
1526
                                        _tmp99_ = _tmp98_;
 
1527
                                        _tmp100_ = _tmp99_->schema;
 
1528
                                        _tmp101_ = _tmp100_->range;
 
1529
                                        _tmp102_ = _tmp101_->min;
 
1530
                                        _tmp103_ = key_value_renderer_get_variant_as_double (_tmp102_);
 
1531
                                        min = _tmp103_;
 
1532
                                        _tmp104_ = key_value_renderer_get_key (self);
 
1533
                                        _tmp105_ = _tmp104_;
 
1534
                                        _tmp106_ = _tmp105_->schema;
 
1535
                                        _tmp107_ = _tmp106_->range;
 
1536
                                        _tmp108_ = _tmp107_->max;
 
1537
                                        _tmp109_ = key_value_renderer_get_variant_as_double (_tmp108_);
 
1538
                                        max = _tmp109_;
1533
1539
                                } else {
1534
 
                                        Key* _tmp108_ = NULL;
1535
 
                                        Key* _tmp109_ = NULL;
1536
 
                                        GVariant* _tmp110_ = NULL;
1537
 
                                        GVariant* _tmp111_ = NULL;
1538
 
                                        gdouble _tmp112_ = 0.0;
1539
 
                                        Key* _tmp113_ = NULL;
1540
 
                                        Key* _tmp114_ = NULL;
1541
 
                                        GVariant* _tmp115_ = NULL;
1542
 
                                        GVariant* _tmp116_ = NULL;
1543
 
                                        gdouble _tmp117_ = 0.0;
1544
 
                                        _tmp108_ = key_value_renderer_get_key (self);
1545
 
                                        _tmp109_ = _tmp108_;
1546
 
                                        _tmp110_ = key_get_min (_tmp109_);
 
1540
                                        Key* _tmp110_;
 
1541
                                        Key* _tmp111_;
 
1542
                                        GVariant* _tmp112_ = NULL;
 
1543
                                        GVariant* _tmp113_;
 
1544
                                        gdouble _tmp114_ = 0.0;
 
1545
                                        Key* _tmp115_;
 
1546
                                        Key* _tmp116_;
 
1547
                                        GVariant* _tmp117_ = NULL;
 
1548
                                        GVariant* _tmp118_;
 
1549
                                        gdouble _tmp119_ = 0.0;
 
1550
                                        _tmp110_ = key_value_renderer_get_key (self);
1547
1551
                                        _tmp111_ = _tmp110_;
1548
 
                                        _tmp112_ = key_value_renderer_get_variant_as_double (_tmp111_);
1549
 
                                        min = _tmp112_;
1550
 
                                        _g_variant_unref0 (_tmp111_);
1551
 
                                        _tmp113_ = key_value_renderer_get_key (self);
1552
 
                                        _tmp114_ = _tmp113_;
1553
 
                                        _tmp115_ = key_get_max (_tmp114_);
 
1552
                                        _tmp112_ = key_get_min (_tmp111_);
 
1553
                                        _tmp113_ = _tmp112_;
 
1554
                                        _tmp114_ = key_value_renderer_get_variant_as_double (_tmp113_);
 
1555
                                        min = _tmp114_;
 
1556
                                        _g_variant_unref0 (_tmp113_);
 
1557
                                        _tmp115_ = key_value_renderer_get_key (self);
1554
1558
                                        _tmp116_ = _tmp115_;
1555
 
                                        _tmp117_ = key_value_renderer_get_variant_as_double (_tmp116_);
1556
 
                                        max = _tmp117_;
1557
 
                                        _g_variant_unref0 (_tmp116_);
 
1559
                                        _tmp117_ = key_get_max (_tmp116_);
 
1560
                                        _tmp118_ = _tmp117_;
 
1561
                                        _tmp119_ = key_value_renderer_get_variant_as_double (_tmp118_);
 
1562
                                        max = _tmp119_;
 
1563
                                        _g_variant_unref0 (_tmp118_);
1558
1564
                                }
1559
 
                                _tmp118_ = self->priv->spin_renderer;
1560
 
                                _tmp119_ = v;
1561
 
                                _tmp120_ = min;
1562
 
                                _tmp121_ = max;
1563
 
                                _tmp122_ = gtk_adjustment_new (_tmp119_, _tmp120_, _tmp121_, (gdouble) 1, (gdouble) 0, (gdouble) 0);
1564
 
                                g_object_ref_sink (_tmp122_);
1565
 
                                _tmp123_ = _tmp122_;
1566
 
                                g_object_set (_tmp118_, "adjustment", _tmp123_, NULL);
1567
 
                                _g_object_unref0 (_tmp123_);
1568
 
                                _tmp124_ = self->priv->spin_renderer;
1569
 
                                g_object_set (_tmp124_, "digits", (guint) 0, NULL);
 
1565
                                _tmp120_ = self->priv->spin_renderer;
 
1566
                                _tmp121_ = v;
 
1567
                                _tmp122_ = min;
 
1568
                                _tmp123_ = max;
 
1569
                                _tmp124_ = gtk_adjustment_new (_tmp121_, _tmp122_, _tmp123_, (gdouble) 1, (gdouble) 0, (gdouble) 0);
 
1570
                                g_object_ref_sink (_tmp124_);
 
1571
                                _tmp125_ = _tmp124_;
 
1572
                                g_object_set (_tmp120_, "adjustment", _tmp125_, NULL);
 
1573
                                _g_object_unref0 (_tmp125_);
 
1574
                                _tmp126_ = self->priv->spin_renderer;
 
1575
                                g_object_set (_tmp126_, "digits", (guint) 0, NULL);
1570
1576
                                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
1571
1577
                                break;
1572
1578
                        }
1575
1581
                switch (0) {
1576
1582
                        default:
1577
1583
                        {
1578
 
                                GtkCellRendererText* _tmp125_ = NULL;
1579
 
                                Key* _tmp126_ = NULL;
1580
 
                                Key* _tmp127_ = NULL;
1581
 
                                GVariant* _tmp128_ = NULL;
1582
 
                                GVariant* _tmp129_ = NULL;
1583
 
                                gchar* _tmp130_ = NULL;
1584
 
                                gchar* _tmp131_ = NULL;
1585
 
                                _tmp125_ = self->priv->text_renderer;
1586
 
                                _tmp126_ = key_value_renderer_get_key (self);
1587
 
                                _tmp127_ = _tmp126_;
1588
 
                                _tmp128_ = key_get_value (_tmp127_);
 
1584
                                GtkCellRendererText* _tmp127_;
 
1585
                                Key* _tmp128_;
 
1586
                                Key* _tmp129_;
 
1587
                                GVariant* _tmp130_;
 
1588
                                GVariant* _tmp131_;
 
1589
                                gchar* _tmp132_ = NULL;
 
1590
                                gchar* _tmp133_;
 
1591
                                _tmp127_ = self->priv->text_renderer;
 
1592
                                _tmp128_ = key_value_renderer_get_key (self);
1589
1593
                                _tmp129_ = _tmp128_;
1590
 
                                _tmp130_ = g_variant_print (_tmp129_, FALSE);
 
1594
                                _tmp130_ = key_get_value (_tmp129_);
1591
1595
                                _tmp131_ = _tmp130_;
1592
 
                                g_object_set (_tmp125_, "text", _tmp131_, NULL);
1593
 
                                _g_free0 (_tmp131_);
 
1596
                                _tmp132_ = g_variant_print (_tmp131_, FALSE);
 
1597
                                _tmp133_ = _tmp132_;
 
1598
                                g_object_set (_tmp127_, "text", _tmp133_, NULL);
 
1599
                                _g_free0 (_tmp133_);
1594
1600
                                g_object_set ((GtkCellRenderer*) self, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
1595
1601
                                break;
1596
1602
                        }
1603
1609
static GtkCellRenderer* key_value_renderer_get_renderer (KeyValueRenderer* self) {
1604
1610
        GtkCellRenderer* result;
1605
1611
        gboolean _tmp0_ = FALSE;
1606
 
        Key* _tmp1_ = NULL;
1607
 
        Key* _tmp2_ = NULL;
1608
 
        gboolean _tmp3_ = FALSE;
1609
 
        gboolean _tmp4_ = FALSE;
1610
 
        Key* _tmp10_ = NULL;
1611
 
        Key* _tmp11_ = NULL;
1612
 
        const gchar* _tmp12_ = NULL;
1613
 
        const gchar* _tmp13_ = NULL;
1614
 
        const gchar* _tmp14_ = NULL;
1615
 
        GQuark _tmp16_ = 0U;
1616
 
        static GQuark _tmp15_label0 = 0;
1617
 
        static GQuark _tmp15_label1 = 0;
1618
 
        static GQuark _tmp15_label2 = 0;
1619
 
        static GQuark _tmp15_label3 = 0;
1620
 
        static GQuark _tmp15_label4 = 0;
1621
 
        static GQuark _tmp15_label5 = 0;
1622
 
        static GQuark _tmp15_label6 = 0;
1623
 
        static GQuark _tmp15_label7 = 0;
1624
 
        static GQuark _tmp15_label8 = 0;
1625
 
        static GQuark _tmp15_label9 = 0;
 
1612
        Key* _tmp1_;
 
1613
        Key* _tmp2_;
 
1614
        gboolean _tmp3_;
 
1615
        gboolean _tmp4_;
 
1616
        gboolean _tmp9_;
 
1617
        Key* _tmp11_;
 
1618
        Key* _tmp12_;
 
1619
        const gchar* _tmp13_;
 
1620
        const gchar* _tmp14_;
 
1621
        const gchar* _tmp15_;
 
1622
        GQuark _tmp17_ = 0U;
 
1623
        static GQuark _tmp16_label0 = 0;
 
1624
        static GQuark _tmp16_label1 = 0;
 
1625
        static GQuark _tmp16_label2 = 0;
 
1626
        static GQuark _tmp16_label3 = 0;
 
1627
        static GQuark _tmp16_label4 = 0;
 
1628
        static GQuark _tmp16_label5 = 0;
 
1629
        static GQuark _tmp16_label6 = 0;
 
1630
        static GQuark _tmp16_label7 = 0;
 
1631
        static GQuark _tmp16_label8 = 0;
 
1632
        static GQuark _tmp16_label9 = 0;
1626
1633
        g_return_val_if_fail (self != NULL, NULL);
1627
1634
        _tmp1_ = key_value_renderer_get_key (self);
1628
1635
        _tmp2_ = _tmp1_;
1629
1636
        _tmp3_ = key_get_has_schema (_tmp2_);
1630
1637
        _tmp4_ = _tmp3_;
1631
1638
        if (_tmp4_) {
1632
 
                Key* _tmp5_ = NULL;
1633
 
                Key* _tmp6_ = NULL;
1634
 
                SchemaKey* _tmp7_ = NULL;
1635
 
                GList* _tmp8_ = NULL;
 
1639
                Key* _tmp5_;
 
1640
                Key* _tmp6_;
 
1641
                SchemaKey* _tmp7_;
 
1642
                GList* _tmp8_;
1636
1643
                _tmp5_ = key_value_renderer_get_key (self);
1637
1644
                _tmp6_ = _tmp5_;
1638
1645
                _tmp7_ = _tmp6_->schema;
1641
1648
        } else {
1642
1649
                _tmp0_ = FALSE;
1643
1650
        }
1644
 
        if (_tmp0_) {
1645
 
                GtkCellRendererCombo* _tmp9_ = NULL;
1646
 
                _tmp9_ = self->priv->combo_renderer;
1647
 
                result = (GtkCellRenderer*) _tmp9_;
 
1651
        _tmp9_ = _tmp0_;
 
1652
        if (_tmp9_) {
 
1653
                GtkCellRendererCombo* _tmp10_;
 
1654
                _tmp10_ = self->priv->combo_renderer;
 
1655
                result = (GtkCellRenderer*) _tmp10_;
1648
1656
                return result;
1649
1657
        }
1650
 
        _tmp10_ = key_value_renderer_get_key (self);
1651
 
        _tmp11_ = _tmp10_;
1652
 
        _tmp12_ = key_get_type_string (_tmp11_);
1653
 
        _tmp13_ = _tmp12_;
 
1658
        _tmp11_ = key_value_renderer_get_key (self);
 
1659
        _tmp12_ = _tmp11_;
 
1660
        _tmp13_ = key_get_type_string (_tmp12_);
1654
1661
        _tmp14_ = _tmp13_;
1655
 
        _tmp16_ = (NULL == _tmp14_) ? 0 : g_quark_from_string (_tmp14_);
1656
 
        if (_tmp16_ == ((0 != _tmp15_label0) ? _tmp15_label0 : (_tmp15_label0 = g_quark_from_static_string ("<enum>")))) {
1657
 
                switch (0) {
1658
 
                        default:
1659
 
                        {
1660
 
                                GtkCellRendererCombo* _tmp17_ = NULL;
1661
 
                                _tmp17_ = self->priv->combo_renderer;
1662
 
                                result = (GtkCellRenderer*) _tmp17_;
1663
 
                                return result;
1664
 
                        }
1665
 
                }
1666
 
        } else if (_tmp16_ == ((0 != _tmp15_label1) ? _tmp15_label1 : (_tmp15_label1 = g_quark_from_static_string ("b")))) {
1667
 
                switch (0) {
1668
 
                        default:
1669
 
                        {
1670
 
                                GtkCellRendererToggle* _tmp18_ = NULL;
1671
 
                                _tmp18_ = self->priv->toggle_renderer;
 
1662
        _tmp15_ = _tmp14_;
 
1663
        _tmp17_ = (NULL == _tmp15_) ? 0 : g_quark_from_string (_tmp15_);
 
1664
        if (_tmp17_ == ((0 != _tmp16_label0) ? _tmp16_label0 : (_tmp16_label0 = g_quark_from_static_string ("<enum>")))) {
 
1665
                switch (0) {
 
1666
                        default:
 
1667
                        {
 
1668
                                GtkCellRendererCombo* _tmp18_;
 
1669
                                _tmp18_ = self->priv->combo_renderer;
1672
1670
                                result = (GtkCellRenderer*) _tmp18_;
1673
1671
                                return result;
1674
1672
                        }
1675
1673
                }
1676
 
        } else if ((((((((_tmp16_ == ((0 != _tmp15_label2) ? _tmp15_label2 : (_tmp15_label2 = g_quark_from_static_string ("y")))) || (_tmp16_ == ((0 != _tmp15_label3) ? _tmp15_label3 : (_tmp15_label3 = g_quark_from_static_string ("n"))))) || (_tmp16_ == ((0 != _tmp15_label4) ? _tmp15_label4 : (_tmp15_label4 = g_quark_from_static_string ("q"))))) || (_tmp16_ == ((0 != _tmp15_label5) ? _tmp15_label5 : (_tmp15_label5 = g_quark_from_static_string ("i"))))) || (_tmp16_ == ((0 != _tmp15_label6) ? _tmp15_label6 : (_tmp15_label6 = g_quark_from_static_string ("u"))))) || (_tmp16_ == ((0 != _tmp15_label7) ? _tmp15_label7 : (_tmp15_label7 = g_quark_from_static_string ("x"))))) || (_tmp16_ == ((0 != _tmp15_label8) ? _tmp15_label8 : (_tmp15_label8 = g_quark_from_static_string ("t"))))) || (_tmp16_ == ((0 != _tmp15_label9) ? _tmp15_label9 : (_tmp15_label9 = g_quark_from_static_string ("d"))))) {
 
1674
        } else if (_tmp17_ == ((0 != _tmp16_label1) ? _tmp16_label1 : (_tmp16_label1 = g_quark_from_static_string ("b")))) {
1677
1675
                switch (0) {
1678
1676
                        default:
1679
1677
                        {
1680
 
                                GtkCellRendererSpin* _tmp19_ = NULL;
1681
 
                                _tmp19_ = self->priv->spin_renderer;
 
1678
                                GtkCellRendererToggle* _tmp19_;
 
1679
                                _tmp19_ = self->priv->toggle_renderer;
1682
1680
                                result = (GtkCellRenderer*) _tmp19_;
1683
1681
                                return result;
1684
1682
                        }
1685
1683
                }
1686
 
        } else {
 
1684
        } else if ((((((((_tmp17_ == ((0 != _tmp16_label2) ? _tmp16_label2 : (_tmp16_label2 = g_quark_from_static_string ("y")))) || (_tmp17_ == ((0 != _tmp16_label3) ? _tmp16_label3 : (_tmp16_label3 = g_quark_from_static_string ("n"))))) || (_tmp17_ == ((0 != _tmp16_label4) ? _tmp16_label4 : (_tmp16_label4 = g_quark_from_static_string ("q"))))) || (_tmp17_ == ((0 != _tmp16_label5) ? _tmp16_label5 : (_tmp16_label5 = g_quark_from_static_string ("i"))))) || (_tmp17_ == ((0 != _tmp16_label6) ? _tmp16_label6 : (_tmp16_label6 = g_quark_from_static_string ("u"))))) || (_tmp17_ == ((0 != _tmp16_label7) ? _tmp16_label7 : (_tmp16_label7 = g_quark_from_static_string ("x"))))) || (_tmp17_ == ((0 != _tmp16_label8) ? _tmp16_label8 : (_tmp16_label8 = g_quark_from_static_string ("t"))))) || (_tmp17_ == ((0 != _tmp16_label9) ? _tmp16_label9 : (_tmp16_label9 = g_quark_from_static_string ("d"))))) {
1687
1685
                switch (0) {
1688
1686
                        default:
1689
1687
                        {
1690
 
                                GtkCellRendererText* _tmp20_ = NULL;
1691
 
                                _tmp20_ = self->priv->text_renderer;
 
1688
                                GtkCellRendererSpin* _tmp20_;
 
1689
                                _tmp20_ = self->priv->spin_renderer;
1692
1690
                                result = (GtkCellRenderer*) _tmp20_;
1693
1691
                                return result;
1694
1692
                        }
1695
1693
                }
 
1694
        } else {
 
1695
                switch (0) {
 
1696
                        default:
 
1697
                        {
 
1698
                                GtkCellRendererText* _tmp21_;
 
1699
                                _tmp21_ = self->priv->text_renderer;
 
1700
                                result = (GtkCellRenderer*) _tmp21_;
 
1701
                                return result;
 
1702
                        }
 
1703
                }
1696
1704
        }
1697
1705
}
1698
1706
 
1780
1788
 
1781
1789
DConfDirView* dconf_dir_view_construct (GType object_type) {
1782
1790
        DConfDirView * self = NULL;
1783
 
        GtkCellRendererText* _tmp0_ = NULL;
1784
 
        GtkCellRendererText* _tmp1_ = NULL;
 
1791
        GtkCellRendererText* _tmp0_;
 
1792
        GtkCellRendererText* _tmp1_;
1785
1793
        self = (DConfDirView*) g_object_new (object_type, NULL);
1786
1794
        gtk_tree_view_set_headers_visible ((GtkTreeView*) self, FALSE);
1787
1795
        _tmp0_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
1821
1829
 
1822
1830
DConfKeyView* dconf_key_view_construct (GType object_type) {
1823
1831
        DConfKeyView * self = NULL;
1824
 
        GtkTreeViewColumn* column = NULL;
1825
1832
        const gchar* _tmp0_ = NULL;
1826
 
        GtkCellRendererText* _tmp1_ = NULL;
1827
 
        GtkCellRendererText* _tmp2_ = NULL;
1828
 
        GtkTreeViewColumn* _tmp3_ = NULL;
1829
 
        GtkTreeViewColumn* _tmp4_ = NULL;
 
1833
        GtkCellRendererText* _tmp1_;
 
1834
        GtkCellRendererText* _tmp2_;
 
1835
        GtkTreeViewColumn* _tmp3_;
 
1836
        GtkTreeViewColumn* _tmp4_;
 
1837
        GtkTreeViewColumn* column;
1830
1838
        const gchar* _tmp5_ = NULL;
1831
 
        KeyValueRenderer* _tmp6_ = NULL;
1832
 
        KeyValueRenderer* _tmp7_ = NULL;
 
1839
        KeyValueRenderer* _tmp6_;
 
1840
        KeyValueRenderer* _tmp7_;
1833
1841
        self = (DConfKeyView*) g_object_new (object_type, NULL);
1834
1842
        _tmp0_ = _ ("Name");
1835
1843
        _tmp1_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();