Put back the "width" local variable in proto_cb() which is used only by
authoroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Dec 2002 11:05:58 +0000 (11:05 +0000)
committeroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Dec 2002 11:05:58 +0000 (11:05 +0000)
the GTK1.2 UI.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6715 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/proto_dlg.c

index e75e2b7fa33f1a26594fba02581246215786b277..fa53e1cf2de5df622de29a111889a95abf13d5e0 100644 (file)
@@ -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 <deniel@worldnet.fr>
  *
@@ -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;