diff options
author | Benjamin Otte <otte@redhat.com> | 2012-05-04 00:31:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-05-07 00:12:26 +0200 |
commit | ee91e272a8926489f9df3a7c05c36f0eb34c5384 (patch) | |
tree | 8d27d45c607c4077656c54aa356e92a9bcc1a05f /gtk/gtkiconviewprivate.h | |
parent | 7604e2d4185555636928f7572bac6760f4f2f187 (diff) | |
download | gtk+-ee91e272a8926489f9df3a7c05c36f0eb34c5384.tar.gz |
iconview: Remove needless requirement
If we use
&item->cell_area
instead of
(GdkRectangle *) item
there is no need anymore to keep the cell_area as the first member of
the the item. And we cget compile-time checks for changes to the item
struct.
Diffstat (limited to 'gtk/gtkiconviewprivate.h')
-rw-r--r-- | gtk/gtkiconviewprivate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkiconviewprivate.h b/gtk/gtkiconviewprivate.h index dd2f121063..81ffd991db 100644 --- a/gtk/gtkiconviewprivate.h +++ b/gtk/gtkiconviewprivate.h @@ -23,8 +23,6 @@ typedef struct _GtkIconViewItem GtkIconViewItem; struct _GtkIconViewItem { - /* First member is always the rectangle so it - * can be cast to a rectangle. */ GdkRectangle cell_area; GtkTreeIter iter; |