diff options
Diffstat (limited to 'embed/print-dialog.c')
-rwxr-xr-x | embed/print-dialog.c | 2 |
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); |