summaryrefslogtreecommitdiff
path: root/gtk/gtktreeitem.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-08-18 03:59:41 +0000
committerTim Janik <timj@src.gnome.org>1998-08-18 03:59:41 +0000
commit7f2909bbab8294c98338ee5512db520c48ced929 (patch)
tree86bc09d36566944710fc7dd6c1ea5e2cbd59ede9 /gtk/gtktreeitem.c
parentfdc36ada3f64bb1e9f2afa4c4cfe6c4a56565109 (diff)
downloadgdk-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 'gtk/gtktreeitem.c')
-rw-r--r--gtk/gtktreeitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktreeitem.c b/gtk/gtktreeitem.c
index 137ff4474..1e05d71a6 100644
--- a/gtk/gtktreeitem.c
+++ b/gtk/gtktreeitem.c
@@ -924,7 +924,7 @@ gtk_tree_item_destroy (GtkObject *object)
g_return_if_fail (GTK_IS_TREE_ITEM (object));
#ifdef TREE_DEBUG
- g_print("+ gtk_tree_item_destroy [object %#x]\n", (int)object);
+ g_message("+ gtk_tree_item_destroy [object %#x]\n", (int)object);
#endif /* TREE_DEBUG */
item = GTK_TREE_ITEM(object);
@@ -976,7 +976,7 @@ gtk_tree_item_destroy (GtkObject *object)
GTK_OBJECT_CLASS (parent_class)->destroy (object);
#ifdef TREE_DEBUG
- g_print("- gtk_tree_item_destroy\n");
+ g_message("- gtk_tree_item_destroy\n");
#endif /* TREE_DEBUG */
}