Re: error in compile gtk3 in OSX

2012-01-02 Thread Luis Lopez
Apple's gcc doesn't seems to have the -x option that is passed from g-ir-scan. As a workaround, I use make V=1 to see what is executed and I copy-paste the full command excluding the -x. After doing this I can run make again with no errors. 2011/12/6 xiaobo kfih...@gmail.com: Hi, All I got a

Proportional widget

2011-12-09 Thread Luis Lopez
Hi, I'm not sure if this list is the right place for this question, so excuse me if it isn't. I'm trying to write a proportional widget, or container maybe, a widget that respect some proportions for his size, like an squared-widget (1:1) or a 5star widget (5:1). This widget should request more

Re: newbie question about g_object unref()

2010-11-19 Thread Luis Lopez
El 19/11/10 14:36, David Nečas escribió: If you want to nullify a pointer when you release your reference (which I also find often useful as once you released your reference you may not be longer sure the object exists at all) you should use a macro for that, I use one defined approximately

Unregister a GType

2010-05-20 Thread Luis Lopez
Hi list, I'm developing an application with plugin support. One of the plugins registers a GType (EinaAdb) but if I load, unload, and finally reload it I get some messages and my app crashes or freezes. Messages are: (eina:28412): GLib-GObject-WARNING **: cannot register existing type `EinaAdb'