Re: gnome-keyring Getting junk data while storing and accessing key



On 11/19/2011 12:12 AM, Piyush Kansal wrote:
> *Issue:* I am facing two issues:
> 1. Getting junk data while storing and accessing keys

The gpointer returned by the gnome-keyring functions should not be
accessed. It's normal that you get garbage, when you try to print it.

> 2. Callback function is not being called

The reply from GNOME keyring is asynchronous (it's a D-Bus service), so
you must run a GMainLoop in order to get your callback invoked.

HTH,
  Alberto

-- 
http://blog.mardy.it <- geek in un lingua international!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]