From 70b3b3e6e17331f34748528d71eeebec9101cde0 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 17 Mar 1998 19:03:52 +0000 Subject: Try to guess if we can use the mb* functions safely. (For glibc, they do Tue Mar 17 01:55:00 1998 Owen Taylor * gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can use the mb* functions safely. (For glibc, they do UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX) || (mblen("\xc0", MB_CUR_MAX) == 1). (From: "Richard Lloyd" ) * gdk/gdk.c (gdk_ic_get_attr): Use an intermediate variable to avoid taking the address of the result of va_arg. * gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c gtk/testselection.c: signedness fixups * gtk/gtkcontainer.c: Fixed implicit cast between gpointer and func pointer by changing. * gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c: static void forward declaration vs. void actual fixed * gtk/testgtk.c: Limit total number of tree items to 10,000 --- gtk/gtkdebug.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtkdebug.h') diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index 3940f8f1f0..a4b8cb6d34 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -23,7 +23,8 @@ extern "C" { #endif /* __cplusplus */ typedef enum { - GTK_DEBUG_OBJECTS = 1<<0 + GTK_DEBUG_OBJECTS = 1<<0, + GTK_DEBUG_MISC = 1<<1 } GtkDebugFlag; #ifdef G_ENABLE_DEBUG -- cgit v1.2.1