~robru/ubuntu/quantal/gwibber/sru-twitter-1.1

« back to all changes in this revision

Viewing changes to libgwibber/accounts.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell, Ken VanDine, Robert Ancell
  • Date: 2012-05-14 17:39:39 UTC
  • mfrom: (130.1.1 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20120514173939-p4px9mculkege533
Tags: 3.4.1-0ubuntu2
[ Ken VanDine ]
* debian/control
  - dropped unneeded recommends for python-libproxy (LP: #997706)
  - dropped unneeded depends for python-simplejson
* debian/gwibber.install
  - dropped unused service icons for jaiku and brightkite
  
[ Robert Ancell ]
* debian/control:
  - Use standards version 3.9.3
  - Drop dependency on liblaunchpad-integration-3.0-dev
* debian/patches/01_lpi.patch:
  - Dropped, we no longer do Launchpad integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* accounts.c generated by valac 0.15.2, the Vala compiler
 
1
/* accounts.c generated by valac 0.16.0, the Vala compiler
2
2
 * generated from accounts.vala, do not modify */
3
3
 
4
4
/*
139
139
static const GDBusInterfaceVTable _accounts_interface_dbus_interface_vtable = {accounts_interface_dbus_interface_method_call, accounts_interface_dbus_interface_get_property, accounts_interface_dbus_interface_set_property};
140
140
 
141
141
gchar* accounts_interface_List (AccountsInterface* self, GError** error) {
142
 
#line 27 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
143
142
        g_return_val_if_fail (self != NULL, NULL);
144
 
#line 27 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
145
143
        return ACCOUNTS_INTERFACE_GET_INTERFACE (self)->List (self, error);
146
 
#line 147 "accounts.c"
147
144
}
148
145
 
149
146
 
150
147
gchar* accounts_interface_Get (AccountsInterface* self, const gchar* id, GError** error) {
151
 
#line 28 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
152
148
        g_return_val_if_fail (self != NULL, NULL);
153
 
#line 28 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
154
149
        return ACCOUNTS_INTERFACE_GET_INTERFACE (self)->Get (self, id, error);
155
 
#line 156 "accounts.c"
156
150
}
157
151
 
158
152
 
159
153
void accounts_interface_SendEnabled (AccountsInterface* self, const gchar* id, GError** error) {
160
 
#line 29 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
161
154
        g_return_if_fail (self != NULL);
162
 
#line 29 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
163
155
        ACCOUNTS_INTERFACE_GET_INTERFACE (self)->SendEnabled (self, id, error);
164
 
#line 165 "accounts.c"
165
156
}
166
157
 
167
158
 
168
159
static void accounts_interface_base_init (AccountsInterfaceIface * iface) {
169
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
170
160
        static gboolean initialized = FALSE;
171
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
172
161
        if (!initialized) {
173
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
174
162
                initialized = TRUE;
175
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
176
163
                g_signal_new ("updated", TYPE_ACCOUNTS_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
177
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
178
164
                g_signal_new ("created", TYPE_ACCOUNTS_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
179
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
180
165
                g_signal_new ("deleted", TYPE_ACCOUNTS_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
181
 
#line 182 "accounts.c"
182
166
        }
183
167
}
184
168
 
550
534
 
551
535
 
552
536
static void _gwibber_accounts_accounts_available_gwibber_utils_available (GwibberUtils* _sender, gboolean up, gpointer self) {
553
 
#line 86 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
554
537
        gwibber_accounts_accounts_available (self, up);
555
 
#line 556 "accounts.c"
556
538
}
557
539
 
558
540
 
559
541
static void ___lambda2_ (GwibberAccounts* self, const gchar* source) {
560
542
        const gchar* _tmp0_;
561
 
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
562
543
        g_return_if_fail (source != NULL);
563
 
#line 89 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
564
544
        _tmp0_ = source;
565
 
#line 89 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
566
545
        gwibber_accounts_account_updated (self, _tmp0_);
567
 
#line 568 "accounts.c"
568
546
}
569
547
 
570
548
 
571
549
static void ____lambda2__accounts_interface_updated (AccountsInterface* _sender, const gchar* account, gpointer self) {
572
 
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
573
550
        ___lambda2_ (self, account);
574
 
#line 575 "accounts.c"
575
551
}
576
552
 
577
553
 
578
554
static void ___lambda3_ (GwibberAccounts* self, const gchar* source) {
579
555
        const gchar* _tmp0_;
580
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
581
556
        g_return_if_fail (source != NULL);
582
 
#line 93 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
583
557
        _tmp0_ = source;
584
 
#line 93 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
585
558
        gwibber_accounts_account_created (self, _tmp0_);
586
 
#line 587 "accounts.c"
587
559
}
588
560
 
589
561
 
590
562
static void ____lambda3__accounts_interface_created (AccountsInterface* _sender, const gchar* account, gpointer self) {
591
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
592
563
        ___lambda3_ (self, account);
593
 
#line 594 "accounts.c"
594
564
}
595
565
 
596
566
 
597
567
static void ___lambda4_ (GwibberAccounts* self, const gchar* source) {
598
568
        const gchar* _tmp0_;
599
 
#line 96 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
600
569
        g_return_if_fail (source != NULL);
601
 
#line 97 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
602
570
        _tmp0_ = source;
603
 
#line 97 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
604
571
        gwibber_accounts_account_deleted (self, _tmp0_);
605
 
#line 606 "accounts.c"
606
572
}
607
573
 
608
574
 
609
575
static void ____lambda4__accounts_interface_deleted (AccountsInterface* _sender, const gchar* account, gpointer self) {
610
 
#line 96 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
611
576
        ___lambda4_ (self, account);
612
 
#line 613 "accounts.c"
613
577
}
614
578
 
615
579
 
616
580
GwibberAccounts* gwibber_accounts_construct (GType object_type) {
617
581
        GwibberAccounts * self = NULL;
618
582
        GError * _inner_error_ = NULL;
619
 
#line 76 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
620
583
        self = (GwibberAccounts*) g_object_new (object_type, NULL);
621
 
#line 622 "accounts.c"
622
584
        {
623
585
                AccountsInterface* _tmp0_ = NULL;
624
586
                AccountsInterface* _tmp1_;
628
590
                AccountsInterface* _tmp5_;
629
591
                AccountsInterface* _tmp6_;
630
592
                AccountsInterface* _tmp7_;
631
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
632
593
                _tmp0_ = g_initable_new (TYPE_ACCOUNTS_INTERFACE_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", GWIBBER_ACCOUNTS_accounts_name, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", GWIBBER_ACCOUNTS_accounts_path, "g-interface-name", "com.Gwibber.Accounts", NULL);
633
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
634
594
                _tmp1_ = (AccountsInterface*) _tmp0_;
635
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
636
595
                if (_inner_error_ != NULL) {
637
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
638
596
                        if (_inner_error_->domain == G_IO_ERROR) {
639
 
#line 640 "accounts.c"
640
597
                                goto __catch1_g_io_error;
641
598
                        }
642
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
643
599
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
644
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
645
600
                        g_clear_error (&_inner_error_);
646
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
647
601
                        return NULL;
648
 
#line 649 "accounts.c"
649
602
                }
650
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
651
603
                _g_object_unref0 (self->priv->accounts_service);
652
 
#line 80 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
653
604
                self->priv->accounts_service = _tmp1_;
654
 
#line 84 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
655
605
                _tmp2_ = gwibber_utils_new ();
656
 
#line 84 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
657
606
                _g_object_unref0 (self->priv->utils);
658
 
#line 84 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
659
607
                self->priv->utils = _tmp2_;
660
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
661
608
                _tmp3_ = self->priv->utils;
662
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
663
609
                gwibber_utils_setup (_tmp3_, GWIBBER_ACCOUNTS_accounts_name, &_inner_error_);
664
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
665
610
                if (_inner_error_ != NULL) {
666
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
667
611
                        if (_inner_error_->domain == G_IO_ERROR) {
668
 
#line 669 "accounts.c"
669
612
                                goto __catch1_g_io_error;
670
613
                        }
671
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
672
614
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
673
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
674
615
                        g_clear_error (&_inner_error_);
675
 
#line 85 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
676
616
                        return NULL;
677
 
#line 678 "accounts.c"
678
617
                }
679
 
#line 86 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
680
618
                _tmp4_ = self->priv->utils;
681
 
#line 86 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
682
619
                g_signal_connect_object (_tmp4_, "available", (GCallback) _gwibber_accounts_accounts_available_gwibber_utils_available, self, 0);
683
 
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
684
620
                _tmp5_ = self->priv->accounts_service;
685
 
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
686
621
                g_signal_connect_object (_tmp5_, "updated", (GCallback) ____lambda2__accounts_interface_updated, self, 0);
687
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
688
622
                _tmp6_ = self->priv->accounts_service;
689
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
690
623
                g_signal_connect_object (_tmp6_, "created", (GCallback) ____lambda3__accounts_interface_created, self, 0);
691
 
#line 96 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
692
624
                _tmp7_ = self->priv->accounts_service;
693
 
#line 96 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
694
625
                g_signal_connect_object (_tmp7_, "deleted", (GCallback) ____lambda4__accounts_interface_deleted, self, 0);
695
 
#line 696 "accounts.c"
696
626
        }
697
627
        goto __finally1;
698
628
        __catch1_g_io_error:
702
632
                const gchar* _tmp9_;
703
633
                gchar* _tmp10_;
704
634
                gchar* _tmp11_;
705
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
706
635
                e = _inner_error_;
707
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
708
636
                _inner_error_ = NULL;
709
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
710
637
                _tmp8_ = e;
711
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
712
638
                _tmp9_ = _tmp8_->message;
713
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
714
639
                _tmp10_ = g_strconcat ("Unable to get Gwibber accounts: ", _tmp9_, NULL);
715
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
716
640
                _tmp11_ = _tmp10_;
717
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
718
641
                g_warning ("accounts.vala:102: %s", _tmp11_);
719
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
720
642
                _g_free0 (_tmp11_);
721
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
722
643
                _g_error_free0 (e);
723
 
#line 724 "accounts.c"
724
644
        }
725
645
        __finally1:
726
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
727
646
        if (_inner_error_ != NULL) {
728
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
729
647
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
730
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
731
648
                g_clear_error (&_inner_error_);
732
 
#line 78 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
733
649
                return NULL;
734
 
#line 735 "accounts.c"
735
650
        }
736
 
#line 76 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
737
651
        return self;
738
 
#line 739 "accounts.c"
739
652
}
740
653
 
741
654
 
742
655
GwibberAccounts* gwibber_accounts_new (void) {
743
 
#line 76 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
744
656
        return gwibber_accounts_construct (GWIBBER_TYPE_ACCOUNTS);
745
 
#line 746 "accounts.c"
746
657
}
747
658
 
748
659
 
749
660
static void _g_object_unref0_ (gpointer var) {
750
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
751
661
        (var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
752
 
#line 753 "accounts.c"
753
662
}
754
663
 
755
664
 
756
665
static void _g_list_free__g_object_unref0_ (GList* self) {
757
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
758
666
        g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
759
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
760
667
        g_list_free (self);
761
 
#line 762 "accounts.c"
762
668
}
763
669
 
764
670
 
765
671
static JsonArray* _vala_JsonArray_copy (JsonArray* self) {
766
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
767
672
        return g_boxed_copy (json_array_get_type (), self);
768
 
#line 769 "accounts.c"
769
673
}
770
674
 
771
675
 
772
676
static gpointer __vala_JsonArray_copy0 (gpointer self) {
773
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
774
677
        return self ? _vala_JsonArray_copy (self) : NULL;
775
 
#line 776 "accounts.c"
776
678
}
777
679
 
778
680
 
779
681
static gpointer _g_object_ref0 (gpointer self) {
780
 
#line 118 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
781
682
        return self ? g_object_ref (self) : NULL;
782
 
#line 783 "accounts.c"
783
683
}
784
684
 
785
685
 
786
686
static void _vala_JsonArray_free (JsonArray* self) {
787
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
788
687
        g_boxed_free (json_array_get_type (), self);
789
 
#line 790 "accounts.c"
790
688
}
791
689
 
792
690
 
794
692
        GList* result = NULL;
795
693
        GList* accounts;
796
694
        GError * _inner_error_ = NULL;
797
 
#line 106 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
798
695
        g_return_val_if_fail (self != NULL, NULL);
799
 
#line 108 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
800
696
        accounts = NULL;
801
 
#line 802 "accounts.c"
802
697
        {
803
698
                AccountsInterface* _tmp0_;
804
699
                gchar* _tmp1_ = NULL;
805
700
                gchar* accounts_string;
806
701
                JsonParser* _tmp2_;
807
702
                JsonParser* parser;
808
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
809
703
                _tmp0_ = self->priv->accounts_service;
810
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
811
704
                _tmp1_ = accounts_interface_List (_tmp0_, &_inner_error_);
812
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
813
705
                accounts_string = _tmp1_;
814
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
815
706
                if (_inner_error_ != NULL) {
816
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
817
707
                        if (_inner_error_->domain == G_IO_ERROR) {
818
 
#line 819 "accounts.c"
819
708
                                goto __catch2_g_io_error;
820
709
                        }
821
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
822
710
                        __g_list_free__g_object_unref0_0 (accounts);
823
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
824
711
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
825
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
826
712
                        g_clear_error (&_inner_error_);
827
 
#line 110 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
828
713
                        return NULL;
829
 
#line 830 "accounts.c"
830
714
                }
831
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
832
715
                _tmp2_ = json_parser_new ();
833
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
834
716
                parser = _tmp2_;
835
 
#line 836 "accounts.c"
836
717
                {
837
718
                        JsonParser* _tmp3_;
838
719
                        const gchar* _tmp4_;
841
722
                        JsonArray* _tmp7_ = NULL;
842
723
                        JsonArray* _tmp8_;
843
724
                        JsonArray* nodeArray;
844
 
#line 113 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
845
725
                        _tmp3_ = parser;
846
 
#line 113 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
847
726
                        _tmp4_ = accounts_string;
848
 
#line 113 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
849
727
                        json_parser_load_from_data (_tmp3_, _tmp4_, (gssize) (-1), &_inner_error_);
850
 
#line 113 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
851
728
                        if (_inner_error_ != NULL) {
852
 
#line 853 "accounts.c"
853
729
                                goto __catch3_g_error;
854
730
                        }
855
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
856
731
                        _tmp5_ = parser;
857
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
858
732
                        _tmp6_ = json_parser_get_root (_tmp5_);
859
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
860
733
                        _tmp7_ = json_node_get_array (_tmp6_);
861
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
862
734
                        _tmp8_ = __vala_JsonArray_copy0 (_tmp7_);
863
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
864
735
                        nodeArray = _tmp8_;
865
 
#line 866 "accounts.c"
866
736
                        {
867
737
                                gint i;
868
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
869
738
                                i = 0;
870
 
#line 871 "accounts.c"
871
739
                                {
872
740
                                        gboolean _tmp9_;
873
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
874
741
                                        _tmp9_ = TRUE;
875
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
876
742
                                        while (TRUE) {
877
 
#line 878 "accounts.c"
878
743
                                                gboolean _tmp10_;
879
744
                                                gint _tmp12_;
880
745
                                                JsonArray* _tmp13_;
891
756
                                                GwibberAccount* account;
892
757
                                                GwibberAccount* _tmp23_;
893
758
                                                GwibberAccount* _tmp24_;
894
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
895
759
                                                _tmp10_ = _tmp9_;
896
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
897
760
                                                if (!_tmp10_) {
898
 
#line 899 "accounts.c"
899
761
                                                        gint _tmp11_;
900
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
901
762
                                                        _tmp11_ = i;
902
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
903
763
                                                        i = _tmp11_ + 1;
904
 
#line 905 "accounts.c"
905
764
                                                }
906
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
907
765
                                                _tmp9_ = FALSE;
908
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
909
766
                                                _tmp12_ = i;
910
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
911
767
                                                _tmp13_ = nodeArray;
912
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
913
768
                                                _tmp14_ = json_array_get_length (_tmp13_);
914
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
915
769
                                                if (!(((guint) _tmp12_) < _tmp14_)) {
916
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
917
770
                                                        break;
918
 
#line 919 "accounts.c"
919
771
                                                }
920
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
921
772
                                                _tmp15_ = nodeArray;
922
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
923
773
                                                _tmp16_ = i;
924
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
925
774
                                                _tmp17_ = json_array_get_element (_tmp15_, (guint) _tmp16_);
926
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
927
775
                                                _tmp18_ = json_node_get_object (_tmp17_);
928
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
929
776
                                                _tmp19_ = json_object_get_string_member (_tmp18_, "id");
930
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
931
777
                                                _tmp20_ = g_strdup (_tmp19_);
932
 
#line 116 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
933
778
                                                id = _tmp20_;
934
 
#line 117 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
935
779
                                                _tmp21_ = id;
936
 
#line 117 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
937
780
                                                _tmp22_ = gwibber_account_new (_tmp21_);
938
 
#line 117 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
939
781
                                                account = _tmp22_;
940
 
#line 118 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
941
782
                                                _tmp23_ = account;
942
 
#line 118 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
943
783
                                                _tmp24_ = _g_object_ref0 (_tmp23_);
944
 
#line 118 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
945
784
                                                accounts = g_list_append (accounts, _tmp24_);
946
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
947
785
                                                _g_object_unref0 (account);
948
 
#line 115 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
949
786
                                                _g_free0 (id);
950
 
#line 951 "accounts.c"
951
787
                                        }
952
788
                                }
953
789
                        }
954
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
955
790
                        __vala_JsonArray_free0 (nodeArray);
956
 
#line 957 "accounts.c"
957
791
                }
958
792
                goto __finally3;
959
793
                __catch3_g_error:
961
795
                        GError* e = NULL;
962
796
                        GError* _tmp25_;
963
797
                        const gchar* _tmp26_;
964
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
965
798
                        e = _inner_error_;
966
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
967
799
                        _inner_error_ = NULL;
968
 
#line 121 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
969
800
                        _tmp25_ = e;
970
 
#line 121 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
971
801
                        _tmp26_ = _tmp25_->message;
972
 
#line 121 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
973
802
                        g_warning ("accounts.vala:121: %s", _tmp26_);
974
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
975
803
                        _g_error_free0 (e);
976
 
#line 977 "accounts.c"
977
804
                }
978
805
                __finally3:
979
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
980
806
                if (_inner_error_ != NULL) {
981
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
982
807
                        _g_object_unref0 (parser);
983
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
984
808
                        _g_free0 (accounts_string);
985
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
986
809
                        if (_inner_error_->domain == G_IO_ERROR) {
987
 
#line 988 "accounts.c"
988
810
                                goto __catch2_g_io_error;
989
811
                        }
990
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
991
812
                        _g_object_unref0 (parser);
992
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
993
813
                        _g_free0 (accounts_string);
994
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
995
814
                        __g_list_free__g_object_unref0_0 (accounts);
996
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
997
815
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
998
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
999
816
                        g_clear_error (&_inner_error_);
1000
 
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1001
817
                        return NULL;
1002
 
#line 1003 "accounts.c"
1003
818
                }
1004
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1005
819
                _g_object_unref0 (parser);
1006
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1007
820
                _g_free0 (accounts_string);
1008
 
#line 1009 "accounts.c"
1009
821
        }
1010
822
        goto __finally2;
1011
823
        __catch2_g_io_error:
1013
825
                GError* e = NULL;
1014
826
                GError* _tmp27_;
1015
827
                const gchar* _tmp28_;
1016
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1017
828
                e = _inner_error_;
1018
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1019
829
                _inner_error_ = NULL;
1020
 
#line 124 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1021
830
                _tmp27_ = e;
1022
 
#line 124 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1023
831
                _tmp28_ = _tmp27_->message;
1024
 
#line 124 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1025
832
                g_warning ("accounts.vala:124: %s", _tmp28_);
1026
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1027
833
                _g_error_free0 (e);
1028
 
#line 1029 "accounts.c"
1029
834
        }
1030
835
        __finally2:
1031
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1032
836
        if (_inner_error_ != NULL) {
1033
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1034
837
                __g_list_free__g_object_unref0_0 (accounts);
1035
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1036
838
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1037
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1038
839
                g_clear_error (&_inner_error_);
1039
 
#line 109 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1040
840
                return NULL;
1041
 
#line 1042 "accounts.c"
1042
841
        }
1043
 
#line 126 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1044
842
        result = accounts;
1045
 
#line 126 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1046
843
        return result;
1047
 
#line 1048 "accounts.c"
1048
844
}
1049
845
 
1050
846
 
1051
847
gchar* gwibber_accounts_lookup_str_by_id (GwibberAccounts* self, const gchar* id) {
1052
848
        gchar* result = NULL;
1053
849
        GError * _inner_error_ = NULL;
1054
 
#line 129 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1055
850
        g_return_val_if_fail (self != NULL, NULL);
1056
 
#line 129 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1057
851
        g_return_val_if_fail (id != NULL, NULL);
1058
 
#line 1059 "accounts.c"
1059
852
        {
1060
853
                AccountsInterface* _tmp0_;
1061
854
                const gchar* _tmp1_;
1062
855
                gchar* _tmp2_ = NULL;
1063
856
                gchar* account;
1064
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1065
857
                _tmp0_ = self->priv->accounts_service;
1066
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1067
858
                _tmp1_ = id;
1068
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1069
859
                _tmp2_ = accounts_interface_Get (_tmp0_, _tmp1_, &_inner_error_);
1070
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1071
860
                account = _tmp2_;
1072
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1073
861
                if (_inner_error_ != NULL) {
1074
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1075
862
                        if (_inner_error_->domain == G_IO_ERROR) {
1076
 
#line 1077 "accounts.c"
1077
863
                                goto __catch4_g_io_error;
1078
864
                        }
1079
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1080
865
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1081
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1082
866
                        g_clear_error (&_inner_error_);
1083
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1084
867
                        return NULL;
1085
 
#line 1086 "accounts.c"
1086
868
                }
1087
 
#line 133 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1088
869
                result = account;
1089
 
#line 133 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1090
870
                return result;
1091
 
#line 1092 "accounts.c"
1092
871
        }
1093
872
        goto __finally4;
1094
873
        __catch4_g_io_error:
1097
876
                GError* _tmp3_;
1098
877
                const gchar* _tmp4_;
1099
878
                gchar* _tmp5_;
1100
 
#line 131 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1101
879
                e = _inner_error_;
1102
 
#line 131 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1103
880
                _inner_error_ = NULL;
1104
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1105
881
                _tmp3_ = e;
1106
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1107
882
                _tmp4_ = _tmp3_->message;
1108
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1109
883
                g_warning ("accounts.vala:135: %s", _tmp4_);
1110
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1111
884
                _tmp5_ = g_strdup ("");
1112
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1113
885
                result = _tmp5_;
1114
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1115
886
                _g_error_free0 (e);
1116
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1117
887
                return result;
1118
 
#line 1119 "accounts.c"
1119
888
        }
1120
889
        __finally4:
1121
 
#line 131 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1122
890
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1123
 
#line 131 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1124
891
        g_clear_error (&_inner_error_);
1125
 
#line 131 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1126
892
        return NULL;
1127
 
#line 1128 "accounts.c"
1128
893
}
1129
894
 
1130
895
 
1133
898
        const gchar* _tmp0_;
1134
899
        GwibberAccount* _tmp1_;
1135
900
        GwibberAccount* acct;
1136
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1137
901
        g_return_val_if_fail (self != NULL, NULL);
1138
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1139
902
        g_return_val_if_fail (id != NULL, NULL);
1140
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1141
903
        _tmp0_ = id;
1142
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1143
904
        _tmp1_ = gwibber_account_new (_tmp0_);
1144
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1145
905
        acct = _tmp1_;
1146
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1147
906
        result = acct;
1148
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1149
907
        return result;
1150
 
#line 1151 "accounts.c"
1151
908
}
1152
909
 
1153
910
 
1158
915
        */
1159
916
void gwibber_accounts_send_enabled (GwibberAccounts* self, const gchar* id) {
1160
917
        GError * _inner_error_ = NULL;
1161
 
#line 152 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1162
918
        g_return_if_fail (self != NULL);
1163
 
#line 152 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1164
919
        g_return_if_fail (id != NULL);
1165
 
#line 1166 "accounts.c"
1166
920
        {
1167
921
                AccountsInterface* _tmp0_;
1168
922
                const gchar* _tmp1_;
1169
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1170
923
                _tmp0_ = self->priv->accounts_service;
1171
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1172
924
                _tmp1_ = id;
1173
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1174
925
                accounts_interface_SendEnabled (_tmp0_, _tmp1_, &_inner_error_);
1175
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1176
926
                if (_inner_error_ != NULL) {
1177
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1178
927
                        if (_inner_error_->domain == G_IO_ERROR) {
1179
 
#line 1180 "accounts.c"
1180
928
                                goto __catch5_g_io_error;
1181
929
                        }
1182
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1183
930
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1184
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1185
931
                        g_clear_error (&_inner_error_);
1186
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1187
932
                        return;
1188
 
#line 1189 "accounts.c"
1189
933
                }
1190
934
        }
1191
935
        goto __finally5;
1194
938
                GError* e = NULL;
1195
939
                GError* _tmp2_;
1196
940
                const gchar* _tmp3_;
1197
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1198
941
                e = _inner_error_;
1199
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1200
942
                _inner_error_ = NULL;
1201
 
#line 157 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1202
943
                _tmp2_ = e;
1203
 
#line 157 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1204
944
                _tmp3_ = _tmp2_->message;
1205
 
#line 157 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1206
945
                g_warning ("accounts.vala:157: %s", _tmp3_);
1207
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1208
946
                _g_error_free0 (e);
1209
 
#line 1210 "accounts.c"
1210
947
        }
1211
948
        __finally5:
1212
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1213
949
        if (_inner_error_ != NULL) {
1214
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1215
950
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1216
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1217
951
                g_clear_error (&_inner_error_);
1218
 
#line 154 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1219
952
                return;
1220
 
#line 1221 "accounts.c"
1221
953
        }
1222
954
}
1223
955
 
1224
956
 
1225
957
static JsonObject* _vala_JsonObject_copy (JsonObject* self) {
1226
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1227
958
        return g_boxed_copy (json_object_get_type (), self);
1228
 
#line 1229 "accounts.c"
1229
959
}
1230
960
 
1231
961
 
1232
962
static gpointer __vala_JsonObject_copy0 (gpointer self) {
1233
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1234
963
        return self ? _vala_JsonObject_copy (self) : NULL;
1235
 
#line 1236 "accounts.c"
1236
964
}
1237
965
 
1238
966
 
1239
967
static void _vala_JsonObject_free (JsonObject* self) {
1240
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1241
968
        g_boxed_free (json_object_get_type (), self);
1242
 
#line 1243 "accounts.c"
1243
969
}
1244
970
 
1245
971
 
1248
974
        gchar* _tmp1_;
1249
975
        gchar* account_string;
1250
976
        GError * _inner_error_ = NULL;
1251
 
#line 161 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1252
977
        g_return_if_fail (self != NULL);
1253
 
#line 161 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1254
978
        g_return_if_fail (account_in != NULL);
1255
 
#line 163 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1256
979
        _tmp0_ = account_in;
1257
 
#line 163 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1258
980
        _tmp1_ = g_strdup ((const gchar*) _tmp0_);
1259
 
#line 163 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1260
981
        account_string = _tmp1_;
1261
 
#line 1262 "accounts.c"
1262
982
        {
1263
983
                JsonParser* _tmp2_;
1264
984
                JsonParser* parser;
1275
995
                GwibberAccount* _tmp11_;
1276
996
                GwibberAccount* account;
1277
997
                GwibberAccount* _tmp12_;
1278
 
#line 165 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1279
998
                _tmp2_ = json_parser_new ();
1280
 
#line 165 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1281
999
                parser = _tmp2_;
1282
 
#line 166 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1283
1000
                json_parser_load_from_data (parser, account_string, (gssize) (-1), &_inner_error_);
1284
 
#line 166 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1285
1001
                if (_inner_error_ != NULL) {
1286
 
#line 166 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1287
1002
                        _g_object_unref0 (parser);
1288
 
#line 1289 "accounts.c"
1289
1003
                        goto __catch6_g_error;
1290
1004
                }
1291
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1292
1005
                _tmp3_ = json_parser_get_root (parser);
1293
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1294
1006
                _tmp4_ = json_node_get_object (_tmp3_);
1295
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1296
1007
                _tmp5_ = __vala_JsonObject_copy0 (_tmp4_);
1297
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1298
1008
                root_object = _tmp5_;
1299
 
#line 168 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1300
1009
                _tmp6_ = root_object;
1301
 
#line 168 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1302
1010
                _tmp7_ = json_object_get_string_member (_tmp6_, "id");
1303
 
#line 168 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1304
1011
                _tmp8_ = g_strdup (_tmp7_);
1305
 
#line 168 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1306
1012
                id = _tmp8_;
1307
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1308
1013
                _tmp9_ = id;
1309
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1310
1014
                g_debug ("accounts.vala:169: ID is %s", _tmp9_);
1311
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1312
1015
                _tmp10_ = id;
1313
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1314
1016
                _tmp11_ = gwibber_account_new (_tmp10_);
1315
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1316
1017
                account = _tmp11_;
1317
 
#line 171 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1318
1018
                _tmp12_ = account;
1319
 
#line 171 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1320
1019
                g_signal_emit_by_name (self, "updated", _tmp12_);
1321
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1322
1020
                _g_object_unref0 (account);
1323
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1324
1021
                _g_free0 (id);
1325
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1326
1022
                __vala_JsonObject_free0 (root_object);
1327
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1328
1023
                _g_object_unref0 (parser);
1329
 
#line 1330 "accounts.c"
1330
1024
        }
1331
1025
        goto __finally6;
1332
1026
        __catch6_g_error:
1334
1028
                GError* e = NULL;
1335
1029
                GError* _tmp13_;
1336
1030
                const gchar* _tmp14_;
1337
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1338
1031
                e = _inner_error_;
1339
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1340
1032
                _inner_error_ = NULL;
1341
 
#line 173 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1342
1033
                _tmp13_ = e;
1343
 
#line 173 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1344
1034
                _tmp14_ = _tmp13_->message;
1345
 
#line 173 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1346
1035
                g_warning ("accounts.vala:173: %s", _tmp14_);
1347
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1348
1036
                _g_error_free0 (e);
1349
 
#line 1350 "accounts.c"
1350
1037
        }
1351
1038
        __finally6:
1352
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1353
1039
        if (_inner_error_ != NULL) {
1354
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1355
1040
                _g_free0 (account_string);
1356
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1357
1041
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1358
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1359
1042
                g_clear_error (&_inner_error_);
1360
 
#line 164 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1361
1043
                return;
1362
 
#line 1363 "accounts.c"
1363
1044
        }
1364
 
#line 161 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1365
1045
        _g_free0 (account_string);
1366
 
#line 1367 "accounts.c"
1367
1046
}
1368
1047
 
1369
1048
 
1372
1051
        gchar* _tmp1_;
1373
1052
        gchar* account_string;
1374
1053
        GError * _inner_error_ = NULL;
1375
 
#line 177 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1376
1054
        g_return_if_fail (self != NULL);
1377
 
#line 177 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1378
1055
        g_return_if_fail (account_in != NULL);
1379
 
#line 179 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1380
1056
        _tmp0_ = account_in;
1381
 
#line 179 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1382
1057
        _tmp1_ = g_strdup ((const gchar*) _tmp0_);
1383
 
#line 179 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1384
1058
        account_string = _tmp1_;
1385
 
#line 1386 "accounts.c"
1386
1059
        {
1387
1060
                JsonParser* _tmp2_;
1388
1061
                JsonParser* parser;
1399
1072
                GwibberAccount* _tmp11_;
1400
1073
                GwibberAccount* account;
1401
1074
                GwibberAccount* _tmp12_;
1402
 
#line 181 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1403
1075
                _tmp2_ = json_parser_new ();
1404
 
#line 181 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1405
1076
                parser = _tmp2_;
1406
 
#line 182 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1407
1077
                json_parser_load_from_data (parser, account_string, (gssize) (-1), &_inner_error_);
1408
 
#line 182 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1409
1078
                if (_inner_error_ != NULL) {
1410
 
#line 182 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1411
1079
                        _g_object_unref0 (parser);
1412
 
#line 1413 "accounts.c"
1413
1080
                        goto __catch7_g_error;
1414
1081
                }
1415
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1416
1082
                _tmp3_ = json_parser_get_root (parser);
1417
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1418
1083
                _tmp4_ = json_node_get_object (_tmp3_);
1419
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1420
1084
                _tmp5_ = __vala_JsonObject_copy0 (_tmp4_);
1421
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1422
1085
                root_object = _tmp5_;
1423
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1424
1086
                _tmp6_ = root_object;
1425
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1426
1087
                _tmp7_ = json_object_get_string_member (_tmp6_, "id");
1427
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1428
1088
                _tmp8_ = g_strdup (_tmp7_);
1429
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1430
1089
                id = _tmp8_;
1431
 
#line 185 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1432
1090
                _tmp9_ = id;
1433
 
#line 185 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1434
1091
                g_debug ("accounts.vala:185: ID is %s", _tmp9_);
1435
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1436
1092
                _tmp10_ = id;
1437
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1438
1093
                _tmp11_ = gwibber_account_new (_tmp10_);
1439
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1440
1094
                account = _tmp11_;
1441
 
#line 187 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1442
1095
                _tmp12_ = account;
1443
 
#line 187 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1444
1096
                g_signal_emit_by_name (self, "created", _tmp12_);
1445
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1446
1097
                _g_object_unref0 (account);
1447
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1448
1098
                _g_free0 (id);
1449
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1450
1099
                __vala_JsonObject_free0 (root_object);
1451
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1452
1100
                _g_object_unref0 (parser);
1453
 
#line 1454 "accounts.c"
1454
1101
        }
1455
1102
        goto __finally7;
1456
1103
        __catch7_g_error:
1458
1105
                GError* e = NULL;
1459
1106
                GError* _tmp13_;
1460
1107
                const gchar* _tmp14_;
1461
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1462
1108
                e = _inner_error_;
1463
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1464
1109
                _inner_error_ = NULL;
1465
 
#line 189 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1466
1110
                _tmp13_ = e;
1467
 
#line 189 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1468
1111
                _tmp14_ = _tmp13_->message;
1469
 
#line 189 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1470
1112
                g_warning ("accounts.vala:189: %s", _tmp14_);
1471
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1472
1113
                _g_error_free0 (e);
1473
 
#line 1474 "accounts.c"
1474
1114
        }
1475
1115
        __finally7:
1476
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1477
1116
        if (_inner_error_ != NULL) {
1478
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1479
1117
                _g_free0 (account_string);
1480
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1481
1118
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1482
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1483
1119
                g_clear_error (&_inner_error_);
1484
 
#line 180 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1485
1120
                return;
1486
 
#line 1487 "accounts.c"
1487
1121
        }
1488
 
#line 177 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1489
1122
        _g_free0 (account_string);
1490
 
#line 1491 "accounts.c"
1491
1123
}
1492
1124
 
1493
1125
 
1496
1128
        gchar* _tmp1_;
1497
1129
        gchar* account_string;
1498
1130
        GError * _inner_error_ = NULL;
1499
 
#line 192 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1500
1131
        g_return_if_fail (self != NULL);
1501
 
#line 192 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1502
1132
        g_return_if_fail (account_in != NULL);
1503
 
#line 195 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1504
1133
        _tmp0_ = account_in;
1505
 
#line 195 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1506
1134
        _tmp1_ = g_strdup ((const gchar*) _tmp0_);
1507
 
#line 195 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1508
1135
        account_string = _tmp1_;
1509
 
#line 1510 "accounts.c"
1510
1136
        {
1511
1137
                JsonParser* _tmp2_;
1512
1138
                JsonParser* parser;
1520
1146
                gchar* id;
1521
1147
                const gchar* _tmp9_;
1522
1148
                const gchar* _tmp10_;
1523
 
#line 197 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1524
1149
                _tmp2_ = json_parser_new ();
1525
 
#line 197 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1526
1150
                parser = _tmp2_;
1527
 
#line 198 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1528
1151
                json_parser_load_from_data (parser, account_string, (gssize) (-1), &_inner_error_);
1529
 
#line 198 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1530
1152
                if (_inner_error_ != NULL) {
1531
 
#line 198 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1532
1153
                        _g_object_unref0 (parser);
1533
 
#line 1534 "accounts.c"
1534
1154
                        goto __catch8_g_error;
1535
1155
                }
1536
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1537
1156
                _tmp3_ = json_parser_get_root (parser);
1538
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1539
1157
                _tmp4_ = json_node_get_object (_tmp3_);
1540
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1541
1158
                _tmp5_ = __vala_JsonObject_copy0 (_tmp4_);
1542
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1543
1159
                root_object = _tmp5_;
1544
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1545
1160
                _tmp6_ = root_object;
1546
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1547
1161
                _tmp7_ = json_object_get_string_member (_tmp6_, "id");
1548
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1549
1162
                _tmp8_ = g_strdup (_tmp7_);
1550
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1551
1163
                id = _tmp8_;
1552
 
#line 201 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1553
1164
                _tmp9_ = id;
1554
 
#line 201 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1555
1165
                g_debug ("accounts.vala:201: ID is %s", _tmp9_);
1556
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1557
1166
                _tmp10_ = id;
1558
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1559
1167
                g_signal_emit_by_name (self, "deleted", _tmp10_);
1560
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1561
1168
                _g_free0 (id);
1562
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1563
1169
                __vala_JsonObject_free0 (root_object);
1564
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1565
1170
                _g_object_unref0 (parser);
1566
 
#line 1567 "accounts.c"
1567
1171
        }
1568
1172
        goto __finally8;
1569
1173
        __catch8_g_error:
1571
1175
                GError* e = NULL;
1572
1176
                GError* _tmp11_;
1573
1177
                const gchar* _tmp12_;
1574
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1575
1178
                e = _inner_error_;
1576
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1577
1179
                _inner_error_ = NULL;
1578
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1579
1180
                _tmp11_ = e;
1580
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1581
1181
                _tmp12_ = _tmp11_->message;
1582
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1583
1182
                g_warning ("accounts.vala:204: %s", _tmp12_);
1584
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1585
1183
                _g_error_free0 (e);
1586
 
#line 1587 "accounts.c"
1587
1184
        }
1588
1185
        __finally8:
1589
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1590
1186
        if (_inner_error_ != NULL) {
1591
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1592
1187
                _g_free0 (account_string);
1593
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1594
1188
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1595
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1596
1189
                g_clear_error (&_inner_error_);
1597
 
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1598
1190
                return;
1599
 
#line 1600 "accounts.c"
1600
1191
        }
1601
 
#line 192 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1602
1192
        _g_free0 (account_string);
1603
 
#line 1604 "accounts.c"
1604
1193
}
1605
1194
 
1606
1195
 
1607
1196
void gwibber_accounts_accounts_available (GwibberAccounts* self, gboolean is_up) {
1608
1197
        gboolean _tmp0_;
1609
 
#line 209 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1610
1198
        g_return_if_fail (self != NULL);
1611
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1612
1199
        _tmp0_ = is_up;
1613
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1614
1200
        g_signal_emit_by_name (self, "is-available", _tmp0_);
1615
 
#line 1616 "accounts.c"
1616
1201
}
1617
1202
 
1618
1203
 
1619
1204
static void gwibber_accounts_class_init (GwibberAccountsClass * klass) {
1620
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1621
1205
        gwibber_accounts_parent_class = g_type_class_peek_parent (klass);
1622
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1623
1206
        g_type_class_add_private (klass, sizeof (GwibberAccountsPrivate));
1624
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1625
1207
        G_OBJECT_CLASS (klass)->finalize = gwibber_accounts_finalize;
1626
 
#line 1627 "accounts.c"
1627
1208
        /** 
1628
1209
                    Accounts::is_available:
1629
1210
                    @arg0: The current state
1630
1211
        
1631
1212
                    Emitted when com.Gwibber.Accounts availability state changes
1632
1213
        */
1633
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1634
1214
        g_signal_new ("is_available", GWIBBER_TYPE_ACCOUNTS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
1635
 
#line 1636 "accounts.c"
1636
1215
        /** 
1637
1216
                    Accounts::updated:
1638
1217
                    @arg0: HashTable of an account
1639
1218
        
1640
1219
                    Emitted when an account has changed
1641
1220
                */
1642
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1643
1221
        g_signal_new ("updated", GWIBBER_TYPE_ACCOUNTS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GWIBBER_TYPE_ACCOUNT);
1644
 
#line 1645 "accounts.c"
1645
1222
        /** 
1646
1223
                    Accounts::created:
1647
1224
                    @arg0: HashTable of an account
1648
1225
        
1649
1226
                    Emitted when an account has changed
1650
1227
                */
1651
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1652
1228
        g_signal_new ("created", GWIBBER_TYPE_ACCOUNTS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GWIBBER_TYPE_ACCOUNT);
1653
 
#line 1654 "accounts.c"
1654
1229
        /** 
1655
1230
                    Accounts::deleted:
1656
1231
                    @arg0: account id as a string
1657
1232
        
1658
1233
                    Emitted when an account has changed
1659
1234
                */
1660
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1661
1235
        g_signal_new ("deleted", GWIBBER_TYPE_ACCOUNTS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
1662
 
#line 1663 "accounts.c"
1663
1236
}
1664
1237
 
1665
1238
 
1666
1239
static void gwibber_accounts_instance_init (GwibberAccounts * self) {
1667
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1668
1240
        self->priv = GWIBBER_ACCOUNTS_GET_PRIVATE (self);
1669
 
#line 1670 "accounts.c"
1670
1241
}
1671
1242
 
1672
1243
 
1673
1244
static void gwibber_accounts_finalize (GObject* obj) {
1674
1245
        GwibberAccounts * self;
1675
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1676
1246
        self = GWIBBER_ACCOUNTS (obj);
1677
 
#line 41 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1678
1247
        _g_object_unref0 (self->priv->accounts_service);
1679
 
#line 42 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1680
1248
        _g_object_unref0 (self->priv->utils);
1681
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/accounts.vala"
1682
1249
        G_OBJECT_CLASS (gwibber_accounts_parent_class)->finalize (obj);
1683
 
#line 1684 "accounts.c"
1684
1250
}
1685
1251
 
1686
1252