diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-02 23:16:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-02 23:16:39 +0000 |
commit | 395ccd366abb57002d770fd905cb22dee14abc1e (patch) | |
tree | ed26427e9d56afa03ee417209a0e21ce6166f23b /gtk/gtkcombo.c | |
parent | 336228180258d0deb4804f33f0a2a281fe20a3d2 (diff) | |
download | gtk+-395ccd366abb57002d770fd905cb22dee14abc1e.tar.gz |
Miscellaneous minor fixes to remove ANSI C incompatibilities
Mon Mar 2 17:48:38 1998 Owen Taylor <owt1@cornell.edu>
Miscellaneous minor fixes to remove ANSI C incompatibilities
* gdk/gdkregion.c gtk/gtkclist.c: fix // comments
* gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of
some arguments to ANSI functions
* gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers
to void *
* gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp)
* gtk/gtknotebook.h: Bitfields must be gint or guint. (and should
be guint)
* gtk/gtkstatusbar.c: trailing ';'
* gtk/testgtk.c: GList where there should have been GSList
* glib.h gutils.c : changed g_strcasecmp
to take gchar* not guchar*
* testglib.c: Remove trailing ; after functions
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r-- | gtk/gtkcombo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c index fb86774d1b..8e22038093 100644 --- a/gtk/gtkcombo.c +++ b/gtk/gtkcombo.c @@ -152,7 +152,7 @@ gtk_combo_find (GtkCombo * combo) if (combo->case_sensitive) string_compare = strcmp; else - string_compare = (void*) g_strcasecmp; + string_compare = g_strcasecmp; text = gtk_entry_get_text (GTK_ENTRY (combo->entry)); clist = GTK_LIST (combo->list)->children; |