Re: question about libsoup dependency



On 02/10/2010 05:07 PM, n179911 wrote:
> HI,
> 
> From LibSoup webpage, it said 'It uses GObjects and the glib main
> loop, to integrate well with GNOME applications,'
> 
> can you please tell me if I can run LibSoup without calling 'gtk_main()'?
> If yes, how can I create a main loop which LibSoup needs?

Yes, just make a GMainLoop. See
http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html

Also, most of the test programs in the libsoup sources (tests/ subdir)
give examples of this.

-- Dan


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