diff options
author | Olivier Abad <oabad@noos.fr> | 2004-03-27 11:16:58 +0000 |
---|---|---|
committer | Olivier Abad <oabad@noos.fr> | 2004-03-27 11:16:58 +0000 |
commit | cd19c5baf8ce88ae00edd47c5d9698a69c5687d7 (patch) | |
tree | d48c106a60f4db75f303473d610ac03dd24567f9 /gtk/dlg_utils.h | |
parent | 313ba9e2b8355f80974d64d0b84ef16d5b3209dc (diff) |
Use the new GtkFileChooserDialog when built with gtk+ 2.4
svn path=/trunk/; revision=10502
Diffstat (limited to 'gtk/dlg_utils.h')
-rw-r--r-- | gtk/dlg_utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h index 176e308f81..ed7edc2299 100644 --- a/gtk/dlg_utils.h +++ b/gtk/dlg_utils.h @@ -1,7 +1,7 @@ /* dlg_utils.h * Declarations of utilities to use when constructing dialogs * - * $Id: dlg_utils.h,v 1.9 2004/01/21 21:19:32 ulfl Exp $ + * $Id: dlg_utils.h,v 1.10 2004/03/27 11:16:58 oabad Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -30,7 +30,11 @@ extern GtkWidget *dlg_window_new(const gchar *); /* Create a file selection dialog box window that belongs to Ethereal's main window. */ +#if (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 4) || GTK_MAJOR_VERSION > 2 +extern GtkWidget *file_selection_new(const gchar *, GtkFileChooserAction); +#else extern GtkWidget *file_selection_new(const gchar *); +#endif /* Create a button row for a dialog */ /* the button widgets will be available by OBJECT_GET_DATA(stock_id) */ |