Re: Not answering clipboard requests



On 20 Jul 2001, Owen Taylor wrote:

> You called bonobo_main() with the GDK lock held and bonobo_main didn't
> drop it before calling g_main_loop_run().

not that I understand why, but the solution was to change

    if (!bonobo_init (&argc, argv))
	g_error ("bonobo_init failed");

    gtk_init (&argc, &argv);

    g_idle_add (start_test, 0);

    bonobo_main ();

to
    gtk_init (&argc, &argv);

    if (!bonobo_init (&argc, argv))
	g_error ("bonobo_init failed");

    g_idle_add (start_test, 0);
    
    bonobo_main ();


Thanks,
	Cactus

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Minden lehetseges, kiveve forgoajton atsielni.





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