Hi,
On Tue, 13 Dec 2005 16:36:44 +0100, Daniel Espinosa wrote:
...
> but HOW can I init the library. If you use gtk and gtk_init, it will init
> GLib too then, how do I do that?
What specific problem do you have?
glib - it does not need any init
gobject - it needs g_type_init()
Hi Stefan,
On Fri, 26 Aug 2005 02:42:00 +0900, Stefan Kost wrote:
...
> The idea now is to wrap it all in a macro (needs to be a macro, as alloca
> only work localy). In the end I'd like to do:
>
> g_object_set(G_OBJECT(self),
> "status",g_alloca_printf(_("Loading file \"%s\""),file_name),
>
Hi Stefan,
On Wed, 09 Mar 2005 02:21:16 +0900, Stefan Kost wrote:
> Matthias Clasen wrote:
...
> > g_new and g_new0
...
> I am aware that I can write my own. But if many people do that it might make
> sense to have them in the lib.
>
> What do other do in this case?
Nothing as general UNIX libra
On Wed, 09 Mar 2005 18:29:42 +0100, Andreas Rottmann wrote:
> Jan Kratochvil <[EMAIL PROTECTED]> writes:
> > On Wed, 09 Mar 2005 11:22:50 +0100, Yang Hong wrote:
> > ...
> > > I wan to compile a static gtk app, then it can run in a everiment
> > > without
Hi,
On Wed, 09 Mar 2005 11:22:50 +0100, Yang Hong wrote:
...
> I wan to compile a static gtk app, then it can run in a everiment
> without gtk libs.
It is depends if you really want just GTK or if you use also other parts of the
Gnome framework. Gnome in general is not usable for 'static builds'
Hi,
On Tue, 15 Feb 2005 12:05:03 +0100, jacky618 jacky618 wrote:
...
> gdk_threads_enter();
> gtk_clist_append(GTK_CLIST(Clist_CommStatus), &pText);
> gdk_flush();
> gdk_threads_leave();
...
> I have tried many times to get the program thread-safe. Unfortunately, the
> error "Xlib: une