gobject: Clean up logic in property checks
authorRyan Lortie <desrt@desrt.ca>
Tue, 20 Dec 2011 20:12:44 +0000 (15:12 -0500)
committerRyan Lortie <desrt@desrt.ca>
Tue, 20 Dec 2011 20:12:44 +0000 (15:12 -0500)
commit3af050f6fc760c3bedfad4e7c0f767a2e01848be
tree3106a6d18b5d4c6a9e50ee964b9c7c7ed29a8e78
parentebf572cdd81d8c0fca4641f9204dc0421ad1bf5d
gobject: Clean up logic in property checks

Simplify some of the logic in this function.

  1) Simplify flag checks as per Colin's suggestions in
     https://bugzilla.gnome.org/show_bug.cgi?id=605667

  2) Don't repeatedly recheck if class_pspec is NULL.
gobject/gobject.c