~aacebedo/i3ipc-glib/master

Viewing all changes in revision 124.

  • Committer: Tony Crisci
  • Date: 2014-09-22 01:54:12 UTC
  • Revision ID: git-v1:97a8d169e49a53fc1e2af147526405c202f009fe
Bugfix: check workspace num for json null

In conn::get_workspaces(), check the "num" property of a workspace
object reply for null. In this case, set num to -1.

Without this check, when "num" is null, other properties on the
workspace reply object will not be set correctly.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: