diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-05-27 21:42:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-05-27 21:42:54 +0000 |
commit | 257f4b8c8066e9a09cf202a667ab7ba22e0b3c42 (patch) | |
tree | cc568b465a8c1def65b546ae787787ae4116cebf /gtk/prefs_dlg.c | |
parent | 8d121bfb928569e167ad6c35b5ed97ab5388804f (diff) |
Tag the "has_child" argument to "prefs_tree_page_add()" as unused when
building with GTK+ 2.x or later, as it's only needed and only used for
1.2[.x].
svn path=/trunk/; revision=11022
Diffstat (limited to 'gtk/prefs_dlg.c')
-rw-r--r-- | gtk/prefs_dlg.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/prefs_dlg.c b/gtk/prefs_dlg.c index 7b004e9a1e..d5e6f3b032 100644 --- a/gtk/prefs_dlg.c +++ b/gtk/prefs_dlg.c @@ -1,7 +1,7 @@ /* prefs_dlg.c * Routines for handling preferences * - * $Id: prefs_dlg.c,v 1.85 2004/05/27 18:12:58 guy Exp $ + * $Id: prefs_dlg.c,v 1.86 2004/05/27 21:42:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -346,7 +346,12 @@ module_prefs_show(module_t *module, gpointer user_data) /* add a page to the tree */ prefs_tree_iter prefs_tree_page_add(const gchar *title, gint page_nr, - gpointer store, prefs_tree_iter *parent_iter, gboolean has_child) + gpointer store, prefs_tree_iter *parent_iter, + gboolean has_child +#if GTK_MAJOR_VERSION >= 2 + _U_ +#endif + ) { #if GTK_MAJOR_VERSION < 2 const gchar *label_ptr = title; |