From a396513ad85bfc11ad9aa1f1644b4fb7c68a531a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 24 May 2004 01:58:06 +0000 Subject: [PATCH] "dlg_destroy_cb()" doesn't use its arguments when built with GTK+ 1.2[.x], so add _U_ in that case. svn path=/trunk/; revision=10980 --- gtk/dlg_utils.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c index c1f766c92a..52c1ee069b 100644 --- a/gtk/dlg_utils.c +++ b/gtk/dlg_utils.c @@ -1,7 +1,7 @@ /* dlg_utils.c * Utilities to use when constructing dialogs * - * $Id: dlg_utils.c,v 1.32 2004/05/23 17:37:36 ulfl Exp $ + * $Id: dlg_utils.c,v 1.33 2004/05/24 01:58:06 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -287,7 +287,16 @@ dlg_button_row_new(gchar *stock_id_first, ...) /* this is called, when a dialog was closed */ -void dlg_destroy_cb(GtkWidget *dialog, gpointer data) +void dlg_destroy_cb(GtkWidget *dialog +#if GTK_MAJOR_VERSION < 2 + _U_ +#endif + , + gpointer data +#if GTK_MAJOR_VERSION < 2 + _U_ +#endif + ) { #if GTK_MAJOR_VERSION >= 2 if(top_level) {