gatchat: fix canceling in progress commands
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 2 Dec 2010 20:13:42 +0000 (17:13 -0300)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 7 Dec 2010 18:16:20 +0000 (12:16 -0600)
commit2702a2e34974bfdba3e5d302017ac016236ff1c0
tree1b5568af93acfb338ac6f849ad9105fa46605657
parent353d1548bdd1b417b09d69bfe5dac61c8a8a3c25
gatchat: fix canceling in progress commands

As g_queue_peek_head() returns the node data field, we have to compare
it against the actual command, not against the pointer to the queue node.
gatchat/gatchat.c