Re: Installing property in interface

2007-02-04 Thread Stefan Kost
Hi Thomas, only one small change needed: static void goofy_file_transfer_base_init (gpointer g_iface) { static gboolean initialized = FALSE; if (!initialized) { g_object_interface_install_property (g_iface, g_param_spec_string (transfer-status,

Re: Question about properties in GObject

2007-02-04 Thread Stefan Kost
hi Thomas, Tomasz Jankowski wrote: Hi! I have short question. I installed G_TYPE_STRING property in my object. Will it free allocated memory when object will be destroyed or i should do it on my own? you needs to do the ressource management yourself. That is whenever one sets the string,

Re: instal gtk on windows

2007-02-04 Thread Jens Sauer
Am Samstag, den 03.02.2007, 13:40 +0100 schrieb nostradamo: I installed gtk2 on windows. I want compile with gcc. but compiler can not find the hedaer files. For example gtk.h Ich i make a include with dir direkt to gtk.h a list of a lot of unknow files und dirs will be showed. What

Re: GdkWindow's position

2007-02-04 Thread Michael Torrie
On Sun, 2007-02-04 at 03:25 -0300, Matí­as Alejandro Torres wrote: gdk_window_get_root_origin throws an error If i try to call it before the widget is exposed: As it should. [..] assertion `GDK_IS_WINDOW (window)' failed Is there a way to get a widget's GdkWindow before it is drawn?