diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-21 08:55:07 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-21 08:55:07 +0000 |
commit | c58455e88223f4f18fae16656ea60c24e337c1df (patch) | |
tree | 5e6e904ba780f5993f9c89a0210054059fa5da3c /gtk/ui_util.c | |
parent | 466ffc89778f751bfdbe15ef72a71cafc1401e5b (diff) |
code cleanup (e.g. removed unused function parameters),
added new about page, showing the authors file (but still commented out)
svn path=/trunk/; revision=10942
Diffstat (limited to 'gtk/ui_util.c')
-rw-r--r-- | gtk/ui_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/ui_util.c b/gtk/ui_util.c index 267b80eec1..e51e011550 100644 --- a/gtk/ui_util.c +++ b/gtk/ui_util.c @@ -1,7 +1,7 @@ /* ui_util.c * UI utility routines * - * $Id: ui_util.c,v 1.22 2004/05/20 22:57:21 ulfl Exp $ + * $Id: ui_util.c,v 1.23 2004/05/21 08:55:07 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -488,8 +488,8 @@ set_tree_styles_all(void) #if GTK_MAJOR_VERSION < 2 /* convert variable argument list of values to array of strings (GTK2 -> GTK1) */ -void -simple_list_convert(GtkWidget *list, gchar **ent, va_list ap) +static void +simple_list_convert(gchar **ent, va_list ap) { int i; char *s; @@ -518,7 +518,7 @@ simple_list_append(GtkWidget *list, ...) va_start(ap, list); #if GTK_MAJOR_VERSION < 2 - simple_list_convert(list, ent, ap); + simple_list_convert(ent, ap); gtk_clist_append(GTK_CLIST(list), ent); #else store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(list))); |