Problems with fillpatterns and Gtk for Windows

2006-08-04 Thread Guenther Sohler
Hallo Group, I have problems with fill pattern generation with GTK For windows. On Linux and Unix my testcase works fine. On GTK For windows just an empty window appears with no fillpattern. What is wrong ? Please find my testcase below #includestdio.h #includegtk/gtk.h GdkGC *gc; int

Re: set default theme for a new display

2006-08-04 Thread ensonic
Answering to my self. For now I don't run gtk+ tests in a forked environment. There seems to be some curruption/problem with the gdk_thread handing in this case. Stefan On 10:05:38 pm 03/08/2006 Stefan Kost [EMAIL PROTECTED] wrote: hi, for unit-tests I open a second display on a Xvfb server

Re: Problems with fillpatterns and Gtk for Windows

2006-08-04 Thread Tor Lillqvist
Guenther Sohler writes: On Linux and Unix my testcase works fine. On what kind of visuals, what kind of machines? It doesn't work for me on Linux on a x86, on a 24-bit default TrueColor visual. I get a uniform (random?) colour in the window, like on Windows. What is wrong ?

memory leak with gtk+-2.8.20-r1

2006-08-04 Thread gwenhael
Hello, I use gtk+ for my soft's graphic interface. But valgrind make an log file containing approximately 22700 lines for an simple source code like : #include gtk/gtk.h int main(int argc, char **argv) { gtk_init(argc, argv); GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);

Re: Problems with fillpatterns and Gtk for Windows

2006-08-04 Thread Guenther Sohler
Dear Tor, Thank you for your reply! Now it works! I have always done it the wrong way so far :( Maybe the GTK Documentation was not intuitive for me ... Not wanting to be unpolite. Now I got a different problem . Now the Letters of the Menus and all the other labels in my program are gone. All

Re: Problems with fillpatterns and Gtk for Windows

2006-08-04 Thread Tor Lillqvist
Guenther Sohler writes: Now the Letters of the Menus and all the other labels in my program are gone. All of them are repalced by these square windows boxes. Are you using a recent Pango version, and from where? Is your pango.aliases file borked? Try using Pango 1.12.3 from