aboutsummaryrefslogtreecommitdiffstats
path: root/embed/webkit
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2007-07-30 15:16:01 +0800
committerXan Lopez <xan@src.gnome.org>2007-07-30 15:16:01 +0800
commit924ebebc760524a00409bf88cfd241b3e5281a4a (patch)
treea3497105fef38b0fc16028ff69dd7168e4184731 /embed/webkit
parent50cc83d5972863c9c7b079b6ad8c51049fc5aaa4 (diff)
downloadgsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar.gz
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar.bz2
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar.lz
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar.xz
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.tar.zst
gsoc2013-epiphany-924ebebc760524a00409bf88cfd241b3e5281a4a.zip
Add returns where needed, remove unnecessary variables.
2007-07-30 Xan Lopez <xan@gnome.org> * embed/webkit/webkit-embed-persist.cpp: * embed/webkit/webkit-embed.cpp: Add returns where needed, remove unnecessary variables. svn path=/trunk/; revision=7215
Diffstat (limited to 'embed/webkit')
-rw-r--r--embed/webkit/webkit-embed-persist.cpp1
-rw-r--r--embed/webkit/webkit-embed.cpp10
2 files changed, 5 insertions, 6 deletions
diff --git a/embed/webkit/webkit-embed-persist.cpp b/embed/webkit/webkit-embed-persist.cpp
index 1e05ee1f6..1a08fa05d 100644
--- a/embed/webkit/webkit-embed-persist.cpp
+++ b/embed/webkit/webkit-embed-persist.cpp
@@ -71,6 +71,7 @@ impl_save (EphyEmbedPersist *persist)
static char *
impl_to_string (EphyEmbedPersist *persist)
{
+ return NULL;
}
static void
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp
index 6901c0a05..4302ab51d 100644
--- a/embed/webkit/webkit-embed.cpp
+++ b/embed/webkit/webkit-embed.cpp
@@ -90,6 +90,7 @@ static gboolean
impl_manager_can_do_command (EphyCommandManager *manager,
const char *command)
{
+ return FALSE;
}
static void
@@ -225,17 +226,13 @@ impl_get_go_up_list (EphyEmbed *embed)
static void
impl_go_back (EphyEmbed *embed)
{
- WebKitEmbed *wembed = WEBKIT_EMBED (embed);
-
- webkit_gtk_page_go_backward (wembed->priv->page);
+ webkit_gtk_page_go_backward (WEBKIT_EMBED (embed)->priv->page);
}
static void
impl_go_forward (EphyEmbed *embed)
{
- WebKitEmbed *wembed = WEBKIT_EMBED (embed);
-
- webkit_gtk_page_go_forward (wembed->priv->page);
+ webkit_gtk_page_go_forward (WEBKIT_EMBED (embed)->priv->page);
}
static void
@@ -400,6 +397,7 @@ impl_has_automatic_encoding (EphyEmbed *embed)
static gboolean
impl_has_modified_forms (EphyEmbed *embed)
{
+ return FALSE;
}
static void