From d0d3f842bb581b36352dde0064700a6f1146e93e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 24 Sep 2003 08:43:34 +0000 Subject: Add a "file_selection_new()" routine that does all the positioning (GTK+ 2.x) and transient-for setting that's done for other dialogs, and use it for dialogs that come from the main window or from children of the main window. svn path=/trunk/; revision=8531 --- gtk/print_dlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/print_dlg.c') diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index 35e106da91..7ada0778b4 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -1,7 +1,7 @@ /* print_dlg.c * Dialog boxes for printing * - * $Id: print_dlg.c,v 1.42 2003/09/10 22:23:58 guy Exp $ + * $Id: print_dlg.c,v 1.43 2003/09/24 08:43:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -512,7 +512,7 @@ print_file_cb(GtkWidget *file_bt, gpointer file_te) return; } - fs = gtk_file_selection_new ("Ethereal: Print to File"); + fs = file_selection_new ("Ethereal: Print to File"); /* If we've opened a file, start out by showing the files in the directory in which that file resided. */ -- cgit v1.2.1