gtk_tree_model_get to get value from a column which type is GDK_TYPE_COLOR ?
- From: "chen.shengqi" <chen shengqi connet com tw>
- To: <gtk-app-devel-list gnome org>
- Subject: gtk_tree_model_get to get value from a column which type is GDK_TYPE_COLOR ?
- Date: Fri, 29 Nov 2002 15:01:34 +0800
I use gtk_tree_model_get to get a column value, which type is GDK_TYPE_COLOR
gtk_tree_model_get(mode, &iter,COLUMN_COLOR, &forecolor,-1);
this show out the color are correct, but how can I free forecolor?
g_free and g_value_unset both fail to free it.
the docs said after get G_TYPE_STRING value, should use g_free to free the string.
] [Thread Prev