From 0f3a25cafd45edd0b833832bfc9ca2e4179a065c Mon Sep 17 00:00:00 2001 From: Olivier Abad Date: Mon, 2 Dec 2002 11:05:58 +0000 Subject: [PATCH] Put back the "width" local variable in proto_cb() which is used only by the GTK1.2 UI. svn path=/trunk/; revision=6715 --- gtk/proto_dlg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk/proto_dlg.c b/gtk/proto_dlg.c index e75e2b7fa3..fa53e1cf2d 100644 --- a/gtk/proto_dlg.c +++ b/gtk/proto_dlg.c @@ -1,6 +1,6 @@ /* proto_dlg.c * - * $Id: proto_dlg.c,v 1.23 2002/12/02 10:59:23 oabad Exp $ + * $Id: proto_dlg.c,v 1.24 2002/12/02 11:05:58 oabad Exp $ * * Laurent Deniel * @@ -94,7 +94,9 @@ proto_cb(GtkWidget *w _U_, gpointer data _U_) GtkWidget *main_vb, *bbox, *proto_list, *label, *proto_sw, *proto_frame, *proto_vb, *button; gchar *titles[] = { "Status", "Protocol", "Description" }; -#if GTK_MAJOR_VERSION >= 2 +#if GTK_MAJOR_VERSION < 2 + gint width; +#else GtkListStore *proto_store; GtkCellRenderer *proto_rend; GtkTreeViewColumn *proto_col;