Re: g_object_get not get the string property?



El mié, 16-10-2002 a las 05:53, hoyt escribió:
> [...]
> 	GtkWidget *window;
> 	GtkWidget *entry;
> 	gchar value[1024];
> [...]
> 	g_object_get(G_OBJECT(window),"title",value,NULL);

Try:
	gchar *value;
	[...]
	g_object_get(G_OBJECT(window), "title", &value, NULL);

-- 
German Poo Caaman~o
mailto:gpoo ubiobio cl
http://www.ubiobio.cl/~gpoo/chilelindo.html
"Hay 10 tipos de personas: las que entienden binario y las que no."




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]