mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
17bbbde74a
commit
a8d58a409e
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -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)
|
||||
|
||||
Fri Dec 6 17:46:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_window_size_request): Use
|
||||
|
@ -496,7 +496,9 @@ make_solid_mask (GdkScreen *screen, 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,
|
||||
|
Loading…
Reference in New Issue
Block a user