summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-12-05 22:59:40 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-12-05 22:59:40 +0000
commit3bc53c742d676a974987ad084f8617a1ab6068fd (patch)
tree95b8dee20e75748d3c60828395f74317837f0294 /gdk
parenta4b2a6a857cea010ed0c2a16097bae61ad31c510 (diff)
downloadgtk+-3bc53c742d676a974987ad084f8617a1ab6068fd.tar.gz
Make GdkColor specify element sizes to avoid waste on 64-bit platforms.
* gdk/gdkcolor.h: Make GdkColor specify element sizes to avoid waste on 64-bit platforms.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkcolor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkcolor.h b/gdk/gdkcolor.h
index 1612ecab6a..811d1cf93d 100644
--- a/gdk/gdkcolor.h
+++ b/gdk/gdkcolor.h
@@ -16,10 +16,10 @@ extern "C" {
*/
struct _GdkColor
{
- gulong pixel;
- gushort red;
- gushort green;
- gushort blue;
+ guint32 pixel;
+ guint16 red;
+ guint16 green;
+ guint16 blue;
};
/* The colormap type.