[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
possible TreeView DND code simplification
- From: Christof Petig <christof petig-baender de>
- To: gtk-devel-list gnome org
- Subject: possible TreeView DND code simplification
- Date: Tue, 06 Jan 2004 12:56:27 +0100
Good morning,
While browsing the dnd code, I realized that gtktreednd.c:257
struct_size = sizeof (TreeRowData) + len + 1 -
(sizeof (TreeRowData) - G_STRUCT_OFFSET (TreeRowData, path));
might be far easier to read as
struct_size = G_STRUCT_OFFSET (TreeRowData, path) + len + 1;
(mathematical equivalent of the above)?
Should I send a patch?
Yours
Christof
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]