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/gdk.c | |
parent | 25536fafd0c5ecf97aec71ece28e31d406398600 (diff) | |
download | gtk+-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/gdk.c')
-rw-r--r-- | gdk/gdk.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -233,7 +233,10 @@ gdk_parse_args (int *argc, g_error_free (error); } g_option_context_free (option_context); - + + if (_gdk_debug_flags && GDK_DEBUG_GDKRGB) + gdk_rgb_set_verbose (TRUE); + GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ())); } |