gtk+-2.0 and xsettings protocol



Hi all,

I have a problem with xsettings sample implementation from Owen with
gtk+-2.0

While xsettings-0.1 (available from http://freedesktop.org) compiles and
works fine with gtk+-1.2, it compiles with gtk+-2.0 but doesn't work so
well.

What happens with gtk+-2.0 is that the client sometimes connects to the
manager, but not always.

I suspect some kind of race condition, somewhere, since gtk+-2.0 itself
uses xsettings internally.

So, my questions :

1) Does the sample xsettings implementation is supposed to work with
gtk+-2.0) ?
2) Is there any simple way to access xsettings values, install
callbacks, etc. from a gtk+-2.0 application w/out reimplementing the
xsetting protocol (ie using gtk+-2.0 implementation) ?

Thanks in advance,

Cheers, 
-- 
Olivier               <fourdan xfce org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems.
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




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