Re: gtk & system startup



Use the g_timer_xxx functions instead of gtk_timer_xxx, and
link with glib only.

Ralph Walden


> Marek Stochel wrote:
> 
> I'd like to get such result:
> An application is using gtk, but not in graphical form
> (gtk_timeout_add & remove)
> It acts as a daemon - collects information, serving to other
> applications, etc.
> The operating system is Solaris7, and application is compiled under
>  gcc.
> When initiated as last of rc3.d scripts it reports: Gtk warning:
> Cannot open display.
> So, as it doesn't need any display is there a possibility to start it
> as described above?
> Or the only way is to get rid of gtk functions in this application?
> 
> Thanks in advance for any help,
> 
> Marek
> 
> ----------------------------------------
> Marek Stochel
> mailto:m stochel wasko pl
> ----------------------------------------

-- 

Ralph E. Walden
Tripos, Inc.
rwalden tripos com




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