Fix incorrect masks in PACKED_COLOR definition. (#99795, John Finlay)
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect masks in PACKED_COLOR definition. (#99795, John Finlay)
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Fri Dec 6 17:50:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
|
||||
masks in PACKED_COLOR definition. (#99795,
|
||||
John Finlay)
|
||||
|
||||
Tue Dec 3 17:47:24 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
|
||||
|
||||
@@ -492,7 +492,9 @@ make_solid_mask (gint width, gint height)
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
#define PACKED_COLOR(c) ((((c)->red & 0xff) << 8) | ((c)->green & 0xff) | ((c)->blue >> 8))
|
||||
#define PACKED_COLOR(c) ((((c)->red & 0xff00) << 8) | \
|
||||
((c)->green & 0xff00) | \
|
||||
((c)->blue >> 8))
|
||||
|
||||
static GdkPixmap *
|
||||
gdk_pixmap_colormap_new_from_pixbuf (GdkColormap *colormap,
|
||||
|
||||
Reference in New Issue
Block a user