pidgin/pidgin

Clear conversation typing source ID in callback
release-2.x.y
2021-11-05, Mohammed Sadiq
ee34beb053a0
Clear conversation typing source ID in callback

Since the callback is run only once, the source ID should be
set to 0 so that the source ID won t be an invalid value.

This avoids a GLib critical on removing the invalid Source ID

Testing Done:
Build and run pidgin and verified that the GLib warning has gone in logs

Reviewed at https://reviews.imfreedom.org/r/1123/
# vi:et:ts=2 sw=2 sts=2
image: pidgin/builder-debian:buster
pipelines:
default:
- step:
script:
- set -ex
- meson -Dsilc=false -Ddoc=true -Ddebug=true build
- ninja -C build
- ninja -C build test
branches:
release-2.x.y:
- step:
image: pidgin/builders-2:debian-buster-amd64
script:
- set -ex
- hg clone https://bitbucket.org/pidgin/libgnt -b release-2.x.y
- meson -Dprefix=/usr libgnt libgnt/build
- ninja -C libgnt/build install
- ldconfig
- build.sh