Re: g_module_close() did not really unload the module ?

2009-03-28 Thread Kuang-Chun Cheng
Sorry, the problem is in my application, not g_module_open(). I do g_module_open() for the same .so file twice ... KC On Sun, Mar 29, 2009 at 3:40 AM, Kuang-Chun Cheng wrote: > Hi, > > I did the following test: > > g_module_open() > ... do something make sure g_module_open() success ... > g_modu

g_module_close() did not really unload the module ?

2009-03-28 Thread Kuang-Chun Cheng
Hi, I did the following test: g_module_open() ... do something make sure g_module_open() success ... g_module_close() ... remove the .so file g_module_open() And I found the 2nd g_module_open() still success even the .so file is removed !!! It looks like the g_module_open() will cache the librar

Re: [PATCH] RFC: adding a #define G_VALUE_INIT for initializing GValue on the stack

2009-03-28 Thread Sven Neumann
Hi, On Fri, 2009-03-27 at 15:45 -0400, Andrew Paprocki wrote: > On Fri, Mar 27, 2009 at 1:47 PM, Andrew Paprocki wrote: > > I checked gvalue.h and I don't see a #define in there containing the > > proper initializer list for a GValue to prevent gcc warnings. Rather > > than duplicating "GValue v

Re: GtkLabel: angle and ellipsize are incompatible?

2009-03-28 Thread Behdad Esfahbod
On 03/28/2009 01:22 PM, Yu Feng wrote: Dear List, I noticed this line in gtklabel.c: gtk_label_ensure_layout: ... if (angle != 0.0&& !label->wrap&& !label->ellipsize&& ! label->select_info) { /* We rotate the standard singleton PangoContext for the widget, * depend

Re: gdk_X11_get_default_xdisplay intermittently returns bad Display pointer

2009-03-28 Thread Jannis Pohlmann
On Sat, 28 Mar 2009 17:02:37 + Xavier Toth wrote: > I've got some python code in which I'm trying to use > gdk_X11_get_default_xdisplay but it fails intermittently returning a > bad pointer. I don't believe that this problem has anything to do with > python. Have others experienced this and i

Re: GTK+ web site [PATCH]

2009-03-28 Thread Christian Dywan
Am Sat, 28 Mar 2009 15:45:55 +0100 schrieb Andreas Nilsson : > Christian Dywan wrote: > > Am Sat, 28 Mar 2009 14:22:42 +0100 > > schrieb Mike Massonnet : > > > >> Le Sat, 28 Mar 2009 12:54:41 +0100, > >> Sven Herzberg a écrit : > >> > >>> Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Ch

GtkLabel: angle and ellipsize are incompatible?

2009-03-28 Thread Yu Feng
Dear List, I noticed this line in gtklabel.c: gtk_label_ensure_layout: ... if (angle != 0.0 && !label->wrap && !label->ellipsize && ! label->select_info) { /* We rotate the standard singleton PangoContext for the widget, * depending on the fact that it's meant pretty much

gdk_X11_get_default_xdisplay intermittently returns bad Display pointer

2009-03-28 Thread Xavier Toth
I've got some python code in which I'm trying to use gdk_X11_get_default_xdisplay but it fails intermittently returning a bad pointer. I don't believe that this problem has anything to do with python. Have others experienced this and if so are there any workarounds? Is this a know issue? I'm runnin

Re: GTK+ web site [PATCH]

2009-03-28 Thread Andreas Nilsson
Christian Dywan wrote: Am Sat, 28 Mar 2009 14:22:42 +0100 schrieb Mike Massonnet : Le Sat, 28 Mar 2009 12:54:41 +0100, Sven Herzberg a écrit : Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: Am Fri, 27 Mar 2009 17:38:12 -0700 schrieb "Eugenia Loli-Queru" :

Re: GTK+ web site [PATCH]

2009-03-28 Thread Christian Dywan
Am Sat, 28 Mar 2009 14:22:42 +0100 schrieb Mike Massonnet : > Le Sat, 28 Mar 2009 12:54:41 +0100, > Sven Herzberg a écrit : > > > Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: > > > Am Fri, 27 Mar 2009 17:38:12 -0700 > > > schrieb "Eugenia Loli-Queru" : > > > > So, what about

Re: GTK+ web site [PATCH]

2009-03-28 Thread Mike Massonnet
Le Sat, 28 Mar 2009 12:54:41 +0100, Sven Herzberg a écrit : > Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: > > Am Fri, 27 Mar 2009 17:38:12 -0700 > > schrieb "Eugenia Loli-Queru" : > > > So, what about that link? :-) > > > > Here's a patch. I'm not quite sure who decides if w

Re: GTK+ web site [PATCH]

2009-03-28 Thread Sven Herzberg
Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: > Am Fri, 27 Mar 2009 17:38:12 -0700 > schrieb "Eugenia Loli-Queru" : > > So, what about that link? :-) > > Here's a patch. I'm not quite sure who decides if we can change it > back, but it's ready to go. I don't think we should fav

Re: GTK+ web site [PATCH]

2009-03-28 Thread Christian Dywan
Am Fri, 27 Mar 2009 17:38:12 -0700 schrieb "Eugenia Loli-Queru" : > >excuse me if this wasn't intentional but I think your tone is > inappropriate here. > > I didn't see anything wrong with my tone on my previous email! I > don't understand why you saw it as hostile! > [...] > > And if you are wi