Home GnuPG

gtk+-2: When the dialog is destroyed, remove any pending timers.
88772ddaac96Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gtk+-2: When the dialog is destroyed, remove any pending timers.

* gtk+-2/pinentry-gtk-2.c (timeout_source): New variable.
(timeout_cb): Set it to 0.
(create_window): When setting up the timeout, save the source
identifier in TIMEOUT_SOURCE.
(gtk_cmd_handler): If TIMEOUT_SOURCE is not 0, remove the timeout.
  • Reported-by: Daniel Kahn Gillmorr <dkg@fifthhorseman.net>.

Details

Provenance
nealAuthored on May 16 2015, 6:39 PM
Parents
rPf3cb78985c3c: curses: If an error occurs while reading input, cancel the operation.
Branches
Unknown
Tags
Unknown