diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-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); } |