diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:16:16 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:16:16 +0800 |
commit | 8cad69642ad84471f9c80b47cba5ec3697a4e56a (patch) | |
tree | 6d6e94c879ba349dee25e088e8bdfddf6e977dac /src | |
parent | 69481e1a7b0835dcc595320af2195fe4c8c35fb3 (diff) | |
download | gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.gz gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.bz2 gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.lz gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.xz gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.zst gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.zip |
embed: remove ephy_embed_print.
And use the WebKit API directly.
svn path=/trunk/; revision=8309
Diffstat (limited to 'src')
-rw-r--r-- | src/epiphany.defs | 6 | ||||
-rw-r--r-- | src/window-commands.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs index b4b1da526..682dc8c54 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -1198,12 +1198,6 @@ ) ) -(define-method print - (of-object "EphyEmbed") - (c-name "ephy_embed_print") - (return-type "none") -) - (define-method set_print_preview_mode (of-object "EphyEmbed") (c-name "ephy_embed_set_print_preview_mode") diff --git a/src/window-commands.c b/src/window-commands.c index de5c9ec40..1609ed0b8 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -109,7 +109,7 @@ window_cmd_file_print (GtkAction *action, (EPHY_EMBED_CONTAINER (window)); g_return_if_fail (EPHY_IS_EMBED (embed)); - ephy_embed_print (embed); + webkit_web_view_execute_script (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed), "print();"); } void |