forked from osmocom/wireshark
Even with GTK+ 2.x the arguments to "dlg_destroy_cb()" aren't used.
svn path=/trunk/; revision=10988
This commit is contained in:
parent
d5b4c9a993
commit
0a535b3a60
|
@ -1,7 +1,7 @@
|
|||
/* dlg_utils.c
|
||||
* Utilities to use when constructing dialogs
|
||||
*
|
||||
* $Id: dlg_utils.c,v 1.33 2004/05/24 01:58:06 guy Exp $
|
||||
* $Id: dlg_utils.c,v 1.34 2004/05/24 17:32:12 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -287,16 +287,7 @@ dlg_button_row_new(gchar *stock_id_first, ...)
|
|||
|
||||
|
||||
/* this is called, when a dialog was closed */
|
||||
void dlg_destroy_cb(GtkWidget *dialog
|
||||
#if GTK_MAJOR_VERSION < 2
|
||||
_U_
|
||||
#endif
|
||||
,
|
||||
gpointer data
|
||||
#if GTK_MAJOR_VERSION < 2
|
||||
_U_
|
||||
#endif
|
||||
)
|
||||
void dlg_destroy_cb(GtkWidget *dialog _U_, gpointer data _U_)
|
||||
{
|
||||
#if GTK_MAJOR_VERSION >= 2
|
||||
if(top_level) {
|
||||
|
|
Loading…
Reference in New Issue