aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-11 03:24:33 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-11 03:24:33 +0800
commit44592d8463a27f756746201136a97e2d47dcc4f8 (patch)
tree05c53587966742bd4be74dc3217904ac026ff120 /embed/mozilla/mozilla-embed-single.cpp
parent63c8906e7436c3910348a6549dfd8d6199772624 (diff)
downloadgsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar.gz
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar.bz2
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar.lz
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar.xz
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.tar.zst
gsoc2013-epiphany-44592d8463a27f756746201136a97e2d47dcc4f8.zip
Reenable deprecated api where necessary, fixup some header inclusions.
2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 7e90f4065..6491ce33d 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -1016,7 +1016,7 @@ impl_show_file_picker (EphyEmbedSingle *shell,
char *expanded_directory = NULL;
gresult result;
- GFilePicker *filePicker = new GFilePicker (file_formats);
+ GFilePicker *filePicker = new GFilePicker ();
if (directory != NULL)
{
@@ -1047,11 +1047,6 @@ impl_show_file_picker (EphyEmbedSingle *shell,
PRInt16 retval;
filePicker->Show (&retval);
- if (ret_file_format != NULL)
- {
- *ret_file_format = filePicker->mSelectedFileFormat;
- }
-
nsCOMPtr<nsILocalFile> local_file;
filePicker->GetFile (getter_AddRefs(local_file));
nsCAutoString tempFullPathStr;