Re: [maemo-developers] Re: [maemo-users] Using osso_iap_cb example

2006-08-01 Thread Kalle Vahlman
2006/8/1, Brad Burleson <[EMAIL PROTECTED]>: My only problem is that gtk_main() transfers control away from my daemon. Is it possible to attach to the GLib main loop and return back to my own code from time to time (the project I'm working on has it's own internal scheduler and I'm not up for a b

Re: [maemo-developers] Re: [maemo-users] Using osso_iap_cb example

2006-08-01 Thread Santtu Lakkala
Brad Burleson wrote: > My only problem is that gtk_main() transfers control away from my daemon. > Is it possible to attach to the GLib main loop and return back to my own > code from time to time (the project I'm working on has it's own internal > scheduler and I'm not up for a big rewrite now)?

[maemo-developers] Re: [maemo-users] Using osso_iap_cb example

2006-07-31 Thread Brad Burleson
On 7/31/06, Kalle Valo <[EMAIL PROTECTED]> wrote: Alvis Koon writes:> If you don't run into gtk_main() or some event handling loop, you> won't be able to process events (callbacks), isn't it? You are correct. libosso-ic needs D-BUS dispatcher to work. Forexample, one can use dbus_connection_setup_w

[maemo-developers] Re: [maemo-users] Using osso_iap_cb example

2006-07-25 Thread Jari Tenhunen
On Mon, Jul 24, 2006 at 11:24:24PM -0700, Brad Burleson wrote: > I'm trying to capture the events generated when the 770 goes on and > off-line, and I've written a simple test program just to mess around. The > callback gets registered, but I never see any output from the callback. I > suspect it