don't attempt to use libcacard before it's inited
authorChristophe Fergeau <cfergeau@redhat.com>
Mon, 4 Jul 2011 14:11:10 +0000 (16:11 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Mon, 4 Jul 2011 14:13:02 +0000 (16:13 +0200)
commit799b8de6c297a7b6efaa7bec85dff0beb83bb9a3
treefcb181402e38a680e104dbca6f5f3d89f8d820b9
parentf9596a0579be01952de4f328cb9d15e9da3db683
don't attempt to use libcacard before it's inited

Now that libcacard initialization is run asynchronously,
the methods to insert/remove a software smartcard need to make
sure libcacard is initialized before trying to trigger such an
insertion/removal. When these functions are called too early,
the insertion/removal attempt is ignored.
gtk/smartcard-manager.c