~ricotz/plank/wayland

« back to all changes in this revision

Viewing changes to lib/Services/Settings.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-12-04 07:46:51 UTC
  • Revision ID: ricotz@ubuntu.com-20151204074651-kxb5d8df94rskwkc
Use fixed ObjectClass.list_properties() of valac 0.31/32 if available

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                        
50
50
                        debug ("Bind '%s' to '%s'", class_type_name, settings.path);
51
51
                        
52
 
#if VALA_0_26
 
52
#if VALA_0_32
 
53
                        (unowned ParamSpec)[] properties = get_class ().list_properties ();
 
54
#elif VALA_0_26
53
55
                        (unowned ParamSpec)[] properties = g_object_class_list_properties (get_class ());
54
56
#else
55
57
                        unowned ParamSpec[] properties = get_class ().list_properties ();