diff options
author | Olivier Abad <oabad@noos.fr> | 2002-12-02 11:05:58 +0000 |
---|---|---|
committer | Olivier Abad <oabad@noos.fr> | 2002-12-02 11:05:58 +0000 |
commit | 0f3a25cafd45edd0b833832bfc9ca2e4179a065c (patch) | |
tree | 08ed615481ae4a99faef857917cd78f6344dc10a /gtk/proto_dlg.c | |
parent | 90b9fa59f6b15ca67a7bb2334c0333e4d19956d0 (diff) |
Put back the "width" local variable in proto_cb() which is used only by
the GTK1.2 UI.
svn path=/trunk/; revision=6715
Diffstat (limited to 'gtk/proto_dlg.c')
-rw-r--r-- | gtk/proto_dlg.c | 6 |
1 files 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 <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; |