diff options
Diffstat (limited to 'embed/print-dialog.c')
-rwxr-xr-x | embed/print-dialog.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 20132b973..962e93122 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -24,7 +24,6 @@ #endif #include "print-dialog.h" -#include "ephy-embed-dialog.h" #include "ephy-embed-single.h" #include "ephy-embed-shell.h" #include "ephy-file-chooser.h" @@ -374,14 +373,7 @@ ephy_print_dialog_new (GtkWidget *parent, GtkCellRenderer *renderer; EphyEmbedSingle *single; - dialog = EPHY_DIALOG (g_object_new (EPHY_TYPE_EMBED_DIALOG, - "embed", embed, - NULL)); - - if (parent != NULL) - { - g_object_set (G_OBJECT (dialog), "parent-window", parent, NULL); - } + dialog = ephy_dialog_new_with_parent (parent); ephy_dialog_construct (dialog, print_props, |