aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-24 08:43:34 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-24 08:43:34 +0000
commitd0d3f842bb581b36352dde0064700a6f1146e93e (patch)
tree2ad9db6b32ed7abc2c8ad4b83a7500dc0d962aa7 /gtk/print_dlg.c
parentd2d2015fe2511a159b096ca6d016a93a0e9b591c (diff)
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
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r--gtk/print_dlg.c4
1 files changed, 2 insertions, 2 deletions
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 <gerald@ethereal.com>
@@ -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. */