aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/print_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-13 00:18:46 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-13 00:18:46 +0000
commit419f851e34263e0100ba9f013c267ce9858694ed (patch)
tree098671835b211efe7ce3abc207f359c7978e8126 /ui/gtk/print_dlg.c
parentcfa22deaae3169b3bca9fd4cd9c564d391531bb0 (diff)
Fix Windows compilation problems from r45513. #ifdef out some non-Windows
code. Get rid of a few uses of the global cfile. svn path=/trunk/; revision=45514
Diffstat (limited to 'ui/gtk/print_dlg.c')
-rw-r--r--ui/gtk/print_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/print_dlg.c b/ui/gtk/print_dlg.c
index a43f21311d..3507868933 100644
--- a/ui/gtk/print_dlg.c
+++ b/ui/gtk/print_dlg.c
@@ -184,7 +184,7 @@ static gboolean export_text_prefs_init = FALSE;
void
export_text_cmd_cb(GtkWidget *widget _U_, gpointer data _U_)
{
- win32_export_file(GDK_WINDOW_HWND(gtk_widget_get_window(top_level)), export_type_text);
+ win32_export_file(GDK_WINDOW_HWND(gtk_widget_get_window(top_level)), &cfile export_type_text);
return;
}
#else