aboutsummaryrefslogtreecommitdiffstats
path: root/embed/webkit
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-01-23 10:20:34 +0800
committerXan Lopez <xan@src.gnome.org>2009-01-23 10:20:34 +0800
commit56d9b5384def19d10010096a6397e6a5e57b46d0 (patch)
treed569969e3d443b1a2bee4d6c5a0d9f72bd1bdd62 /embed/webkit
parent61a9d4ce3f9f73f18de3243771ec5dcba70bed8f (diff)
downloadgsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar.gz
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar.bz2
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar.lz
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar.xz
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.tar.zst
gsoc2013-epiphany-56d9b5384def19d10010096a6397e6a5e57b46d0.zip
Implement scrolling in EphyFindToolbar.
svn path=/trunk/; revision=8720
Diffstat (limited to 'embed/webkit')
-rw-r--r--embed/webkit/webkit-embed.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 02caa26d4..e3d407338 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -508,34 +508,6 @@ impl_get_location (EphyEmbed *embed,
}
static void
-impl_scroll_lines (EphyEmbed *embed,
- int num_lines)
-{
-}
-
-static void
-impl_scroll_pages (EphyEmbed *embed,
- int num_pages)
-{
-}
-
-static void
-impl_scroll_pixels (EphyEmbed *embed,
- int dx,
- int dy)
-{
- GtkAdjustment *hadj;
- GtkAdjustment *vadj;
- WebKitEmbed *wembed = WEBKIT_EMBED (embed);
-
- hadj = gtk_scrolled_window_get_hadjustment (wembed->priv->scrolled_window);
- vadj = gtk_scrolled_window_get_vadjustment (wembed->priv->scrolled_window);
-
- gtk_adjustment_set_value (hadj, CLAMP (hadj->value + dx, hadj->lower, hadj->upper - hadj->page_size));
- gtk_adjustment_set_value (vadj, CLAMP (vadj->value + dy, vadj->lower, vadj->upper - vadj->page_size));
-}
-
-static void
impl_shistory_copy (EphyEmbed *source,
EphyEmbed *dest,
gboolean copy_back,
@@ -609,9 +581,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface)
iface->go_up = impl_go_up;
iface->get_location = impl_get_location;
iface->get_js_status = impl_get_js_status;
- iface->scroll_lines = impl_scroll_lines;
- iface->scroll_pages = impl_scroll_pages;
- iface->scroll_pixels = impl_scroll_pixels;
iface->shistory_copy = impl_shistory_copy;
iface->show_page_certificate = impl_show_page_certificate;
iface->set_encoding = impl_set_encoding;