~people-project/people-core/deep-refactoring

« back to all changes in this revision

Viewing changes to backends/twitter/contact-source-factory.vala

  • Committer: Ali Sabil
  • Date: 2009-01-16 23:38:19 UTC
  • Revision ID: ali.sabil@gmail.com-20090116233819-mst2gxgq74rw88w6
- Updated the Twitter backend

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
using Gee;
23
23
 
24
24
using People;
 
25
using People.Utils;
25
26
 
26
27
 
27
28
namespace People.Backend.Twitter {
38
39
                        return parameters;
39
40
                }
40
41
 
41
 
                public override Backend.ContactSource get_contact_source (Map<string, string>? parameters) {
42
 
                        return new ContactSource (parameters.get("account"),
43
 
                                                  parameters.get("password"));
 
42
                public override AsyncOperation<Backend.ContactSource> get_contact_source (Map<string, string>? parameters) {
 
43
                        return sync_result (new ContactSource (parameters.get("account"), parameters.get("password")));
44
44
                }
45
45
        }
46
46