From 6a6e9664f23c2a5eb4e6d477f1f6f2d55aa37bd0 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 21 Aug 2006 18:20:56 +0000 Subject: Don't show the empty window that the print options tab is 2006-08-19 Christian Persch * data/glade/print.glade: * embed/mozilla/GeckoPrintService.cpp: Don't show the empty window that the print options tab is --- ChangeLog | 10 ++++++---- data/glade/print.glade | 1 - embed/mozilla/GeckoPrintService.cpp | 1 + 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 - - * data/epiphany-pango.schemas: +2006-08-19 Christian Persch - 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 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 @@ - True GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE 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"); -- cgit