diff options
author | Tim Janik <timj@gtk.org> | 1998-08-18 03:59:41 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-08-18 03:59:41 +0000 |
commit | 7f2909bbab8294c98338ee5512db520c48ced929 (patch) | |
tree | 86bc09d36566944710fc7dd6c1ea5e2cbd59ede9 /gdk/gdkvisual.c | |
parent | fdc36ada3f64bb1e9f2afa4c4cfe6c4a56565109 (diff) | |
download | gdk-pixbuf-7f2909bbab8294c98338ee5512db520c48ced929.tar.gz |
restricted the --g*fatal-* arguments to --g-fatal-warnings again. this
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
to --g-fatal-warnings again. this option now causes log levels of
WARNING and CRITICAL to abort().
* gdk/gdk.c:
* gdk/gdkdnd.c:
* gdk/gdkcc.c:
* gdk/gdkfont.c:
* gdk/gdkwindow.c:
* gdk/gdkvisual.c:
* gtk/gtkwidget.c:
* gtk/gtktypeutils.c:
* gtk/gtktree.c:
* gtk/gtkfontsel.c:
* gtk/gtkmain.c:
* gtk/gtkobject.c:
* gtk/gtkpreview.c:
* gtk/gtkselection.c:
* gtk/gtktext.c:
* gtk/gtktree.c:
* gtk/gtktreeitem.c:
did a global search&replace to substitute g_print() calls with
g_message(). libraries shouldn't use printf(), g_print() or
g_printerr() at all.
a bunch of the replacements should probably be wrapped into the
G{D|T}K_NOTE() macros, so they are special cased for debugging
purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
things.
* gdk/gdkrgb.c: left this out currently.
* gdk/gdkdnd.c: added copyright notice.
Diffstat (limited to 'gdk/gdkvisual.c')
-rw-r--r-- | gdk/gdkvisual.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c index e7bf1648c..693020ef6 100644 --- a/gdk/gdkvisual.c +++ b/gdk/gdkvisual.c @@ -211,9 +211,9 @@ gdk_visual_init (void) #ifdef G_ENABLE_DEBUG if (gdk_debug_flags & GDK_DEBUG_MISC) for (i = 0; i < nvisuals; i++) - g_print ("Gdk: visual: %s: %d\n", - visual_names[visuals[i].visual.type], - visuals[i].visual.depth); + g_message ("visual: %s: %d", + visual_names[visuals[i].visual.type], + visuals[i].visual.depth); #endif /* G_ENABLE_DEBUG */ navailable_depths = 0; |