diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-06 07:01:23 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-06 07:01:23 +0800 |
commit | a3c185e796190610eee690c103a927bf7cfcfa4d (patch) | |
tree | 5e9ca91b2acab00483b64152917b0590cdb0e222 /embed/mozilla | |
parent | da8c41fefb8dbffb346842d7d516632cce3ab374 (diff) | |
download | gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar.gz gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar.bz2 gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar.lz gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar.xz gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.tar.zst gsoc2013-epiphany-a3c185e796190610eee690c103a927bf7cfcfa4d.zip |
Make ephy_base_embed_set_{title,address} dup their parameters internally.
svn path=/trunk/; revision=7636
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index 455d81b56..ae9ac7d22 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -1152,6 +1152,8 @@ mozilla_embed_title_change_cb (GtkMozEmbed *embed, ephy_base_embed_set_loading_title (EPHY_BASE_EMBED (membed), title, FALSE); + g_free (title); + g_object_thaw_notify (object); } @@ -1168,7 +1170,7 @@ mozilla_embed_open_uri_cb (GtkMozEmbed *embed, EphyBaseEmbed *bembed = EPHY_BASE_EMBED (membed); - ephy_base_embed_set_address (bembed, g_strdup (uri)); + ephy_base_embed_set_address (bembed, uri); ephy_base_embed_set_loading_title (bembed, uri, TRUE); } |