aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-08-22 02:20:56 +0800
committerChristian Persch <chpe@src.gnome.org>2006-08-22 02:20:56 +0800
commit6a6e9664f23c2a5eb4e6d477f1f6f2d55aa37bd0 (patch)
treef71586a648451bc63a99c30e0991dce4d74eaf94
parent48dc7068e1528087fa584eaeedce348bce2c70df (diff)
downloadgsoc2013-epiphany-6a6e9664f23c2a5eb4e6d477f1f6f2d55aa37bd0.tar.gz
gsoc2013-epiphany-6a6e9664f23c2a5eb4e6d477f1f6f2d55aa37bd0.tar.zst
gsoc2013-epiphany-6a6e9664f23c2a5eb4e6d477f1f6f2d55aa37bd0.zip
Don't show the empty window that the print options tab is
2006-08-19 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/mozilla/GeckoPrintService.cpp: Don't show the empty window that the print options tab is
-rw-r--r--ChangeLog10
-rw-r--r--data/glade/print.glade1
-rw-r--r--embed/mozilla/GeckoPrintService.cpp1
3 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b527645b4..7803d7972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
-2006-08-21 Christian Persch <chpe@cvs.gnome.org>
-
- * data/epiphany-pango.schemas:
+2006-08-19 Christian Persch <chpe@cvs.gnome.org>
- Enable pango for Urdu locale.
+ * data/glade/print.glade:
+ * embed/mozilla/GeckoPrintService.cpp:
+
+ Don't show the empty window that the print options tab is
+ taken from, and don't leak the glade object.
2006-08-19 Christian Persch <chpe@cvs.gnome.org>
diff --git a/data/glade/print.glade b/data/glade/print.glade
index c1d42ddce..43dcbeac8 100644
--- a/data/glade/print.glade
+++ b/data/glade/print.glade
@@ -5,7 +5,6 @@
<requires lib="gnome"/>
<widget class="GtkWindow" id="print_dialog_custom_tab">
- <property name="visible">True</property>
<property name="title"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
diff --git a/embed/mozilla/GeckoPrintService.cpp b/embed/mozilla/GeckoPrintService.cpp
index 3de2edf08..26d96abcf 100644
--- a/embed/mozilla/GeckoPrintService.cpp
+++ b/embed/mozilla/GeckoPrintService.cpp
@@ -172,6 +172,7 @@ GeckoPrintService::ShowPrintDialog (nsIDOMWindow *aParent,
gtk_print_unix_dialog_add_custom_tab (print_dialog, custom_tab,
gtk_label_new (_("Options"))); /* FIXME better name! */
g_object_unref (custom_tab);
+ g_object_unref (xml);
gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");