contrib/git-credential-gnome-keyring.c: support really ancient gnome-keyring
commit15f7221686eac053902b906c278680b485c865ce
authorBrandon Casey <drafnel@gmail.com>
Mon, 23 Sep 2013 18:49:17 +0000 (23 11:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Oct 2013 16:35:33 +0000 (16 09:35 -0700)
tree5e1abd2d9f54ad3345dc3a5809588ce79b620b5a
parent5a3db110533b3b58002a03da837aa38fdc4bfc56
contrib/git-credential-gnome-keyring.c: support really ancient gnome-keyring

The gnome-keyring lib (0.4) distributed with RHEL 4.X is really ancient
and does not provide most of the synchronous functions that even ancient
releases do.  Thankfully, we're only using one function that is missing.
Let's emulate gnome_keyring_item_delete_sync() by calling the asynchronous
function and then triggering the event loop processing until our
callback is called.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c