From: Søren Sandmann Pedersen Date: Mon, 2 Apr 2012 18:59:02 +0000 (-0400) Subject: gtk-utils.c: Don't include pixman-private.h X-Git-Tag: pixman-0.25.6~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b16ddf17829633ec6eb54656924b7e841c6c69a4;p=platform%2Fupstream%2Fpixman.git gtk-utils.c: Don't include pixman-private.h Use pixman_image_get_format() instead of image->bits.format. --- diff --git a/demos/gtk-utils.c b/demos/gtk-utils.c index 0e7cb5c..b321989 100644 --- a/demos/gtk-utils.c +++ b/demos/gtk-utils.c @@ -1,8 +1,5 @@ #include #include -#include "pixman-private.h" /* For image->bits.format - * FIXME: there should probably be public API for this - */ #include "gtk-utils.h" GdkPixbuf * @@ -94,7 +91,7 @@ show_image (pixman_image_t *image) gtk_window_set_default_size (GTK_WINDOW (window), width, height); - format = image->bits.format; + format = pixman_image_get_format (image); if (format == PIXMAN_a8r8g8b8) has_alpha = TRUE;