aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/file_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-10-28 22:11:51 +0000
committerGerald Combs <gerald@wireshark.org>2013-10-28 22:11:51 +0000
commit66558ef5a8ae7e36b0c9d687dfc635bcd692706a (patch)
treed1c8220ae4c09cb032b3319b6168aeac3819d55f /ui/gtk/file_dlg.c
parent6ef5eb635cbe9dfb4954588dcacedfc3779667de (diff)
Remove some (but not all) U3 remnants.
svn path=/trunk/; revision=52935
Diffstat (limited to 'ui/gtk/file_dlg.c')
-rw-r--r--ui/gtk/file_dlg.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/gtk/file_dlg.c b/ui/gtk/file_dlg.c
index 88b3f84660..e215f9fc90 100644
--- a/ui/gtk/file_dlg.c
+++ b/ui/gtk/file_dlg.c
@@ -75,9 +75,6 @@ file_selection_new(const gchar *title, GtkWindow *parent,
{
GtkWidget *win;
GtkFileChooserAction gtk_action;
-#ifdef _WIN32
- char *u3devicedocumentpath;
-#endif
const gchar *ok_button_text;
switch (action) {
@@ -128,14 +125,6 @@ file_selection_new(const gchar *title, GtkWindow *parent,
in which that file resided. */
if (last_open_dir)
file_selection_set_current_folder(win, last_open_dir);
-#ifdef _WIN32
- else {
- u3devicedocumentpath = getenv_utf8("U3_DEVICE_DOCUMENT_PATH");
- if(u3devicedocumentpath != NULL)
- file_selection_set_current_folder(win, u3devicedocumentpath);
-
- }
-#endif
return win;
}