aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");