aboutsummaryrefslogtreecommitdiffstats
path: root/embed/print-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-01 00:31:59 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-01 00:31:59 +0800
commitece5e036c19540f6973b510bd7d108bc3c0ad742 (patch)
tree0b7c349967a71d928c30b2da5385036bb03aeac0 /embed/print-dialog.c
parent5f1869901b3705de47918f0f137762acfd773286 (diff)
downloadgsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.gz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.bz2
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.lz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.xz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.zst
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.zip
Remove some unused code
2003-06-30 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_embed): * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_get_favicon_cache): * embed/ephy-embed-shell.h: * embed/print-dialog.c: (print_dialog_print), (print_dialog_preview): * src/Makefile.am: * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb), (ephy_tab_init): Remove some unused code
Diffstat (limited to 'embed/print-dialog.c')
-rwxr-xr-xembed/print-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/print-dialog.c b/embed/print-dialog.c
index f69ee8811..461655cdc 100755
--- a/embed/print-dialog.c
+++ b/embed/print-dialog.c
@@ -365,6 +365,7 @@ print_dialog_print (EphyDialog *dialog)
{
embed = ephy_embed_dialog_get_embed
(EPHY_EMBED_DIALOG(dialog));
+ g_return_if_fail (embed != NULL);
info->preview = FALSE;
ephy_embed_print (embed, info);
@@ -390,6 +391,7 @@ print_dialog_preview (EphyDialog *dialog)
{
embed = ephy_embed_dialog_get_embed
(EPHY_EMBED_DIALOG(dialog));
+ g_return_if_fail (embed != NULL);
info->preview = TRUE;
ephy_embed_print (embed, info);