Re: Can not get sizeof GtkTreePath
- From: Tim Müller <zen18864 zen co uk>
- To: Dimitar Haralanov <voidtrance comcast net>, GTK App Devel List <gtk-app-devel-list gnome org>
- Subject: Re: Can not get sizeof GtkTreePath
- Date: Mon, 19 Jan 2004 02:38:04 +0000
On Monday 19 January 2004 01:41, Dimitar Haralanov wrote:
Everytime when I try to do sizeof (GtkTreePath), I get
sizeof applied to an incomplete type
Is GtkTreePath somehow hidden from the compiler so it doesn't know what
the structure is?
The structure is opaque from what I can see, ie. only the functions in
gtktreemodel.c know about its fields and its size. I suppose that is because
you'd need to make a 'deep' copy of the structure anyway, as it allocates
memory internally.
You can copy an existing tree path with gtk_tree_path_copy() though.
What do you need the size for?
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]