mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix #if G_BYTE_ORDER == GDK_LSB_FIRST.
2005-06-17 Owen Taylor <otaylor@redhat.com> * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix #if G_BYTE_ORDER == GDK_LSB_FIRST.
This commit is contained in:
parent
b060f6e12d
commit
c96795ffb3
@ -1,3 +1,8 @@
|
||||
2005-06-17 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
|
||||
#if G_BYTE_ORDER == GDK_LSB_FIRST.
|
||||
|
||||
2005-06-17 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): don't try to update
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-06-17 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
|
||||
#if G_BYTE_ORDER == GDK_LSB_FIRST.
|
||||
|
||||
2005-06-17 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): don't try to update
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-06-17 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
|
||||
#if G_BYTE_ORDER == GDK_LSB_FIRST.
|
||||
|
||||
2005-06-17 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): don't try to update
|
||||
|
@ -175,10 +175,10 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
|
||||
|
||||
while (p < end)
|
||||
{
|
||||
#if G_BYTE_ORDER == GDK_LSB_FIRST
|
||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||
q[0] = p[2];
|
||||
q[1] = p[1];
|
||||
q[2] = p[2];
|
||||
q[2] = p[0];
|
||||
#else
|
||||
q[0] = p[0];
|
||||
q[1] = p[1];
|
||||
|
Loading…
Reference in New Issue
Block a user