~ricotz/plank/wayland

« back to all changes in this revision

Viewing changes to lib/Items/DockItem.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:
596
596
                 */
597
597
                public void copy_values_to (DockItem target)
598
598
                {
599
 
#if VALA_0_26
 
599
#if VALA_0_32
 
600
                        (unowned ParamSpec)[] properties = get_class ().list_properties ();
 
601
#elif VALA_0_26
600
602
                        (unowned ParamSpec)[] properties = g_object_class_list_properties (get_class ());
601
603
#else
602
604
                        unowned ParamSpec[] properties = get_class ().list_properties ();