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/
environment:
- DOCS_BUILD_IMAGE=pidgin/2.x.y-builders:debian-bookworm-amd64
tasks:
clean:
type: convey/clean
files:
- pidgin2-docs
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
script:
- set -ex
- ./autogen.sh --disable-gevolution
- make -s -j$(nproc) docs
docs-clean:
type: convey/clean
files:
- pidgin2-docs
docs-export:
type: docker/export
files:
- doc/html:pidgin2-docs
import:
type: docker/import
files: .:.
plans:
clean:
stages:
- tasks: [clean]
docs:
stages:
- tasks: [docs-clean, import, docs-build, docs-export]