Re: GTK+ and memory allocation

2009-06-28 Thread Michael Torrie
joshua...@comcast.net wrote: > GtkWidget widget; > > &widget = gtk_window_new(GTK_WINDOW_TOPLEVEL); I don't believe this is valid C Code. You can't take a static variable and change its address! gtk_window_new allocates a new GtkWindow object on the heap, increases its ref count to 1 and retu

Re: GTK+ and memory allocation

2009-06-28 Thread Chris Vine
On Sun, 28 Jun 2009 18:20:51 + (UTC) joshua...@comcast.net wrote: > Hello, > Since I've started gtk+ I've been wondering what happens to all the > windows and stuff you don't explicitly destroy, do you need to > destroy it? does gtk_main_quit do it for you? Sometimes I've been > told to use g_

GTK+ and memory allocation

2009-06-28 Thread joshua . rh
Hello, Since I've started gtk+ I've been wondering what happens to all the windows and stuff you don't explicitly destroy, do you need to destroy it? does gtk_main_quit do it for you? Sometimes I've been told to use g_free on things and I know if you make things non-pointers they get destroyed

unsubscribe

2009-06-28 Thread dambrosio.vito
unsubscribe Alice Messenger ;-) chatti anche con gli amici di Windows Live Messenger e tutti i telefonini TIM! Vai su http://maileservizi.alice.it/alice_messenger/index.html?pmk=footer ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/m

gtk-color-scheme in gtk_rc_parse_string not like the current theme leads to infinite loops

2009-06-28 Thread Alban Browaeys
Here is an example that trigger the inifinite loop. If one restore tooltip_bg_color:#F5F5B5 instead of F5F5B2 the program does not loop indefinitely. This may be related to no support for multiple gtk-color-scheme as told in http://live.gnome.org/GnomeArt/Tutorials/GtkThemes/SymbolicColors/ Wh