~philip.scott/elementary-tweaks/github

« back to all changes in this revision

Viewing changes to src/Panes/AudiencePane.vala

  • Committer: philip-scott
  • Date: 2016-08-22 20:10:21 UTC
  • Revision ID: git-v1:d55163a785fbfaf909df71d781ce3b0a21536002
Protect against crashes for not having a schema

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        }
28
28
 
29
29
        construct {
30
 
            build_ui ();
31
 
            init_data ();
32
 
            connect_signals ();
 
30
            if (Util.schema_exists ("org.pantheon.audience")) {
 
31
                build_ui ();
 
32
                init_data ();
 
33
                connect_signals ();
 
34
            }
33
35
        }
34
36
 
35
37
        private void build_ui () {