Re: GLib questions, GArray and GNode

2008-03-28 Thread Jordan Walsh
On Thu, 2008-03-27 at 10:01 -0700, Kaustubh Patil wrote: Hi, I am using glib (version 2.0) for developing some applications. I have some questions about use of Garray and GNode (G-n-ary tree). 1. Is it safe to return an initialized GArray * from a function? e.g. copying garray array1

Re: GLib questions, GArray and GNode

2008-03-28 Thread Kaustubh Patil
Dear Jordan, Thanks for quick answer. I am not very good in extensive pointer programming. So it will be very nice of you if you can clarify some more things. 1. Is the following function ok? GArray* g_array_clone(GArray *array) { int i; GArray *clone = g_array_new(FALSE,FALSE,sizeof(long));

GLib questions, GArray and GNode

2008-03-27 Thread Kaustubh Patil
Hi, I am using glib (version 2.0) for developing some applications. I have some questions about use of Garray and GNode (G-n-ary tree). 1. Is it safe to return an initialized GArray * from a function? e.g. copying garray array1 into garray array2 and then returning pointer to array2. 2. For

Re: GTK+, GLIB Questions

2005-02-27 Thread Owen Taylor
Jim Isom wrote: To whom it may concern, We received a security issue from Hewlett Packard regarding the version GLIB-1.2.10, GTK+-1.2.10 (Which we currently have installed), I went to your site and noticed that you now have version 2.6.2 available. This server that currently has the older

GTK+, GLIB Questions

2005-02-24 Thread Jim Isom
To whom it may concern, We received a security issue from Hewlett Packard regarding the version GLIB-1.2.10, GTK+-1.2.10 (Which we currently have installed), I went to your site and noticed that you now have version 2.6.2 available. This server that currently has the older version running is

Re: GTK+, GLIB Questions

2005-02-24 Thread Pablo
the 1.2.x line, then you can upgrade to that version of gtk+-1.2. As Daniel pointed out; gtk+-2.x is a different software; so if your fix was added in gtk+-2.x, you'll have to port the software to gtk+-2.x. Or patch (you make de patch) the sources and recompile. Cheers,

Re: Glib questions.

2002-05-11 Thread Sven Neumann
Hi, [EMAIL PROTECTED] (Mojo B. Nichols) writes: I don't know if this an appropriate forum for posting Glib questions or not. I have a problem in which I was going to use a hash table to solve, but am know having doubts, or wondering if there is a better approach. Basically I need to store

Re: Glib questions.

2002-05-11 Thread Mojo B. Nichols
Sven == Sven Neumann [EMAIL PROTECTED] writes: Hi, [EMAIL PROTECTED] (Mojo B. Nichols) writes: I don't know if this an appropriate forum for posting Glib questions or not. I have a problem in which I was going to use a hash table to solve, but am know having doubts, or wondering