summaryrefslogtreecommitdiff
path: root/ui/gtk/packet_panes.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-10-11 17:20:50 +0000
committerGerald Combs <gerald@wireshark.org>2013-10-11 17:20:50 +0000
commit259768dc1ae8894c1ae758c762389e3926be4bfb (patch)
tree302f8e99883053a6fad30cd5fb114ffc191517c8 /ui/gtk/packet_panes.c
parentee5397d832bc1b19791ffe1280621a6b327cae23 (diff)
downloadwireshark-259768dc1ae8894c1ae758c762389e3926be4bfb.tar.gz
Remove GTK+ and global cfile dependencies from file_dlg_win32.c.
Move the declaration of set_last_open_dir() to ui/util.h. It still has separate GTK+ and Qt implemenations. We might want to move it to ui/util.c at some point. Remove a lot of unnecessary GTK+ includes. Remove most of the references to the global cfile while we're at it. svn path=/trunk/; revision=52542
Diffstat (limited to 'ui/gtk/packet_panes.c')
-rw-r--r--ui/gtk/packet_panes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/packet_panes.c b/ui/gtk/packet_panes.c
index 9ae9888abe..cf749ea425 100644
--- a/ui/gtk/packet_panes.c
+++ b/ui/gtk/packet_panes.c
@@ -758,7 +758,7 @@ savehex_save_clicked_cb(gchar *file, int start, int end, const guint8 *data_p)
void
savehex_cb(GtkWidget * w _U_, gpointer data _U_)
{
- win32_export_raw_file(GDK_WINDOW_HWND(gtk_widget_get_window(top_level)));
+ win32_export_raw_file(GDK_WINDOW_HWND(gtk_widget_get_window(top_level)), &cfile);
return;
}
#else