Re: GTK3 porting problem (clipboard)
- From: Jaroslav Šmíd <jardasmid gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GTK3 porting problem (clipboard)
- Date: Fri, 11 Mar 2011 00:25:58 +0100
From GTK documentation:
---
A GtkTargetList structure is a reference counted list of GtkTargetPair.
It is used to represent the same information as a table of
GtkTargetEntry, but in an efficient form. This structure should be
treated as opaque.
---
Important to read is "This structure should be treated as opaque".
You shouldn't access members of this structure directly. In GTK2,
structure definition was available in GTK headers, in GTK3, it is not.
Info:
http://library.gnome.org/devel/gtk3/stable/gtk3-Selections.html#GtkTargetList-struct
Hope this helps
J.
On 03/10/2011 08:11 PM, Miroslav Rajcic wrote:
I don't know the answer, but this is "wrong":
int nTargetCnt = g_list_length (list->list);
But as you say, it doesn't help me :(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]