aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-17 02:45:16 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-17 02:45:16 +0800
commitc24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa (patch)
treef212f9107faa076933e8afc63ffe9f467cf0447b /embed
parentafb64e1503b7c459887710747be56522abf02e3e (diff)
downloadgsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar.gz
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar.bz2
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar.lz
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar.xz
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.tar.zst
gsoc2013-epiphany-c24c8c4f38379dd0fa2bbc2d35e561c7023ec4aa.zip
Cleanup filepicker api behavior. Put pdm buttons in a size group, to make
2003-03-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed-single.cpp: * src/pdm-dialog.c: (group_button_allocations), (pdm_dialog_init): * src/window-commands.c: (window_cmd_file_open): Cleanup filepicker api behavior. Put pdm buttons in a size group, to make switching page smoother. (from galeon)
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-utils.c2
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index eda05cd64..33a8935ad 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -160,13 +160,13 @@ ephy_embed_utils_save (GtkWidget *window,
g_free (retDir);
gnome_vfs_uri_unref (uri);
+ g_free (retPath);
}
g_object_unref (G_OBJECT(persist));
g_free (dirName);
g_free (fileName);
- g_free (retPath);
}
static void
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index fe1fbd1f0..20ccdfdca 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -945,8 +945,6 @@ impl_show_file_picker (EphyEmbedSingle *shell,
}
else
{
- if (*ret_fullpath)
- g_free (*ret_fullpath);
nsCOMPtr<nsILocalFile> file;
filePicker->GetFile (getter_AddRefs(file));
nsCAutoString tempFullPathStr;