On Tue, 2009-05-26 at 15:37 +0200, Jaroslav Reznik wrote: > > Seems like direct DBus communication is the only way to do it from Qt/KDE apps > as PolKit library requires gtk_init() somewhere in code... I've prepared > patch for polkit-qt to the new PK1 Core API but... Or is there any other way > to initialize glib without need for it? I'm not familiar with GTK app > development... But library that expects gtk_init somewhere in application to > be correctly intialized... Calling g_type_init() should be enough; there is no direct GTK+ dependency in polkit-gobject. Even g_type_init() may be too much for KDE apps to swallow though, so going directly to the bus is still a good idea. > PK1 should be split into parts - cross-desktop backends should be on > freedesktop, gnome specific libraries should be in gnome repository. This > should stop confusion. You mean like http://cgit.freedesktop.org/PolicyKit http://git.gnome.org/cgit/PolicyKit-gnome ? -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list