aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-28 04:03:56 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-28 04:03:56 +0800
commit7a955848e5551318467c911b358ccd2343a3a4de (patch)
treed62f2cdb50716e346946c13b0482ecc2f29b2071
parent529f8a142ef1b5cf04062216a442c5f492ec12e0 (diff)
downloadgsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar.gz
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar.bz2
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar.lz
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar.xz
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.tar.zst
gsoc2013-epiphany-7a955848e5551318467c911b358ccd2343a3a4de.zip
Print dialogue isn't an EphyEmbedDialog anymore, remove the
2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new): Print dialogue isn't an EphyEmbedDialog anymore, remove the
-rw-r--r--ChangeLog7
-rwxr-xr-xembed/print-dialog.c10
-rw-r--r--lib/ephy-dialog.c2
3 files changed, 8 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a821f853..d36402d9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-10-27 Christian Persch <chpe@cvs.gnome.org>
+ * embed/print-dialog.c: (ephy_print_dialog_new):
+
+ Print dialogue isn't an EphyEmbedDialog anymore, remove the
+ include.
+
+2004-10-27 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-embed-dialog.c: (ephy_embed_dialog_init):
* embed/ephy-embed-persist.c: (ephy_embed_persist_init),
(ephy_embed_persist_to_string):
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,
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 114658828..bf76ba069 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1491,8 +1491,6 @@ ephy_dialog_new (void)
EphyDialog *
ephy_dialog_new_with_parent (GtkWidget *parent_window)
{
- g_return_val_if_fail (parent_window != NULL, NULL);
-
return EPHY_DIALOG (g_object_new (EPHY_TYPE_DIALOG,
"parent-window", parent_window,
NULL));