Re: g_idle_add source & memory leaks

2011-05-10 Thread Olivier Sessink
On 05/09/2011 01:36 PM, Gabriele Greco wrote: just a note on your example code: use the GPOINTER_TO_INT and GINT_TO_POINTER macro's to avoid 64bit portability problems: gboolean mycbk(gpointer data) { gint val = GPOINTER_TO_INT(data); char buffer[16]; sprintf(buffer, "%09d",

Re: Maximize on Windows 7 seems broken.

2011-05-10 Thread James Steward
On 11/05/2011 8:19 AM, Matteo Landi wrote: On Wed, May 11, 2011 at 12:07 AM, James Steward wrote: Hi, I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity with a Posix type system. I have installed gtk+-bundle_2.22.1-20101227_win32.zip, and building a 32bit app for compatibi

Re: Maximize on Windows 7 seems broken.

2011-05-10 Thread Matteo Landi
Is it maybe a problem with the window manager? I had problem trying to raise a window up if covered. Just guessing... Regards, Matteo On Wed, May 11, 2011 at 12:07 AM, James Steward wrote: > Hi, > > I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity > with a Posix type system.

Maximize on Windows 7 seems broken.

2011-05-10 Thread James Steward
Hi, I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity with a Posix type system. I have installed gtk+-bundle_2.22.1-20101227_win32.zip, and building a 32bit app for compatibility. My application calls gtk_window_maximize(GTK_WINDOW(window)); but the resulting window is not

When drag scroll, page content show incorrectly

2011-05-10 Thread Corey Fu
I use gtk+-2.16.6 and compiled with configure: --with-gdktarget=directfb \ --without-libtiff \ --with-libjasper \ --with-included-loaders=jpeg,png,jasper \ --disable-glibtest \ --disable-modules I run the gtk-demo and choose "Source" option, then click the page down button to scroll the win