summaryrefslogtreecommitdiff
path: root/gtk/gtkcombo.c
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-17 19:03:52 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-17 19:03:52 +0000
commit70b3b3e6e17331f34748528d71eeebec9101cde0 (patch)
treeec24fdb9dc06a5e45a2db12f4f76bcbbeb6da4cf /gtk/gtkcombo.c
parenta783d668f17a08fbdf88c22aa6c07b05b4e8de34 (diff)
downloadgdk-pixbuf-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/gtkcombo.c')
-rw-r--r--gtk/gtkcombo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index de6fb76aa..d48684a66 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -71,7 +71,7 @@ static void gtk_combo_size_allocate (GtkWidget *widget,
static GtkHBoxClass *parent_class = NULL;
-void
+static void
gtk_combo_class_init (GtkComboClass * klass)
{
GtkObjectClass *oclass;
@@ -437,7 +437,7 @@ gtk_combo_list_key_press (GtkWidget * widget, GdkEventKey * event, GtkCombo * co
return FALSE;
}
-void
+static void
gtk_combo_init (GtkCombo * combo)
{
GtkWidget *arrow;