diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-04 17:17:46 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-04 17:17:46 +0000 |
commit | 7261e61f292d51a670f9bb10cb9cc56e776cc18a (patch) | |
tree | a0f222c7edf71928bcf835bfb8410fc3bae71392 /gdk/gdkrgb.c | |
parent | 25536fafd0c5ecf97aec71ece28e31d406398600 (diff) | |
download | gdk-pixbuf-7261e61f292d51a670f9bb10cb9cc56e776cc18a.tar.gz |
call gdk_rgb_set_verbose(TRUE) if "gdkrgb" is in the debug flags.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
"gdkrgb" is in the debug flags.
* gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
here, this function is deprecated and the debug flag didn't work
when using GDK properly.
svn path=/trunk/; revision=20981
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r-- | gdk/gdkrgb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 3d8470d8b..cb138636e 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -36,7 +36,6 @@ #define ENABLE_GRAYSCALE -#include "gdkprivate.h" #include "gdkinternals.h" /* _gdk_windowing_get_bits_for_depth() */ #include "gdkrgb.h" @@ -678,9 +677,6 @@ gdk_rgb_init (void) { static const gint byte_order[1] = { 1 }; - if (_gdk_debug_flags & GDK_DEBUG_GDKRGB) - gdk_rgb_verbose = TRUE; - /* check endian sanity */ #if G_BYTE_ORDER == G_BIG_ENDIAN if (((char *)byte_order)[0] == 1) |