From ece5e036c19540f6973b510bd7d108bc3c0ad742 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 30 Jun 2003 16:31:59 +0000 Subject: Remove some unused code 2003-06-30 Marco Pesenti Gritti * 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 --- embed/print-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'embed/print-dialog.c') 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); -- cgit v1.2.3