git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7773d60
)
fix a simple GTK1 warning
author
Ulf Lamping
<ulf.lamping@web.de>
Fri, 25 Nov 2005 23:54:19 +0000
(23:54 -0000)
committer
Ulf Lamping
<ulf.lamping@web.de>
Fri, 25 Nov 2005 23:54:19 +0000
(23:54 -0000)
svn path=/trunk/; revision=16595
gtk/expert_comp_table.c
patch
|
blob
|
history
diff --git
a/gtk/expert_comp_table.c
b/gtk/expert_comp_table.c
index 7f2897bf67a60c7bcb9a3ee5e4bbfb1f720fc7ab..ae65243df3ebbc74b7783f234b145efe59123e1a 100644
(file)
--- a/
gtk/expert_comp_table.c
+++ b/
gtk/expert_comp_table.c
@@
-451,7
+451,10
@@
init_error_table(error_equiv_table *err, guint16 num_procs, GtkWidget *vbox)
GdkBitmap *ascend_bm, *descend_bm;
GdkPixmap *ascend_pm, *descend_pm;
GtkStyle *win_style;
- GtkWidget *column_lb, *copy_bt;
+ GtkWidget *column_lb;
+#if (GTK_MAJOR_VERSION >= 2)
+ GtkWidget *copy_bt;
+#endif
GtkTooltips *tooltips = gtk_tooltips_new();
const char *default_titles[] = { "Group", "Protocol", "Summary", "Count"};