diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-17 19:03:52 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-17 19:03:52 +0000 |
commit | 70b3b3e6e17331f34748528d71eeebec9101cde0 (patch) | |
tree | ec24fdb9dc06a5e45a2db12f4f76bcbbeb6da4cf /gtk/gtkobject.c | |
parent | a783d668f17a08fbdf88c22aa6c07b05b4e8de34 (diff) | |
download | gtk+-70b3b3e6e17331f34748528d71eeebec9101cde0.tar.gz |
Try to guess if we can use the mb* functions safely. (For glibc, they do
Tue Mar 17 01:55:00 1998 Owen Taylor <owt1@cornell.edu>
* 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" <rkl@csc.liv.ac.uk>)
* 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
Diffstat (limited to 'gtk/gtkobject.c')
-rw-r--r-- | gtk/gtkobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c index 0e853bb1eb..63e84f706b 100644 --- a/gtk/gtkobject.c +++ b/gtk/gtkobject.c @@ -348,7 +348,7 @@ gtk_object_class_add_signals (GtkObjectClass *class, g_return_if_fail (class != NULL); - new_signals = g_new (gint, class->nsignals + nsignals); + new_signals = g_new (guint, class->nsignals + nsignals); for (i = 0; i < class->nsignals; i++) new_signals[i] = class->signals[i]; for (i = 0; i < nsignals; i++) |