diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-09-29 23:47:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-09-29 23:47:22 +0000 |
commit | 41be586333346e3aa3e75922d8e4de49501df9a6 (patch) | |
tree | 37f4096b9f19f806c99609d1b3476015d32d94d0 /gdk/gdkrgb.c | |
parent | f73d6ee34a65ff1faffcd4f5e7fd364d9b7a1e7a (diff) | |
download | gdk-pixbuf-41be586333346e3aa3e75922d8e4de49501df9a6.tar.gz |
Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11 to #ifdef
Wed Sep 29 19:55:35 1999 Owen Taylor <otaylor@redhat.com>
* */*.[ch]: Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11
to #ifdef GDK_WINDOWING_X11.
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r-- | gdk/gdkrgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index e800916f5..e72d8da16 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -2681,9 +2681,9 @@ gdk_rgb_select_conv (GdkImage *image) gboolean mask_rgb, mask_bgr; depth = image_info->visual->depth; -#if defined (GDK_RGB_STANDALONE) || (GDK_WINDOWING == GDK_WINDOWING_X11) +#if defined (GDK_RGB_STANDALONE) || defined (GDK_WINDOWING_X11) bpp = ((GdkImagePrivate *)image)->ximage->bits_per_pixel; -#elif GDK_WINDOWING == GDK_WINDOWING_WIN32 +#elif defined (GDK_WINDOWING_WIN32) bpp = ((GdkVisualPrivate *) gdk_visual_get_system())->xvisual->bitspixel; #endif |