Hello community, here is the log from the commit of package gtk2 for openSUSE:Factory checked in at 2014-04-05 16:50:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtk2 (Old) and /work/SRC/openSUSE:Factory/.gtk2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtk2" Changes: -------- --- /work/SRC/openSUSE:Factory/gtk2/gtk2.changes 2014-03-25 13:20:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gtk2.new/gtk2.changes 2014-04-05 16:50:11.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Mar 24 22:00:44 UTC 2014 - [email protected] + +- Fix memory leak in gtk2-print-to-file.patch (bnc#839089, + bgo#711177). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk2-print-to-file.patch ++++++ --- /var/tmp/diff_new_pack.Fqa92q/_old 2014-04-05 16:50:12.000000000 +0200 +++ /var/tmp/diff_new_pack.Fqa92q/_new 2014-04-05 16:50:12.000000000 +0200 @@ -1,4 +1,4 @@ -From 2ce26e146b7b8fad6de7d4087479a4b69941aa5e Mon Sep 17 00:00:00 2001 +From 5ae4ef471d732cd5937c67829eec677b477cb8ed Mon Sep 17 00:00:00 2001 From: Mike Gorse <[email protected]> Date: Wed, 30 Oct 2013 15:42:09 -0500 Subject: [PATCH] Print to a file in the current directory by default @@ -8,22 +8,25 @@ https://bugzilla.gnome.org/show_bug.cgi?id=711177 --- - gtk/gtkprinteroptionwidget.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) + gtk/gtkprinteroptionwidget.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c -index 2f43edf..12fdd6f 100644 +index 2f43edf..08c2aff 100644 --- a/gtk/gtkprinteroptionwidget.c +++ b/gtk/gtkprinteroptionwidget.c -@@ -521,7 +521,13 @@ filesave_changed_cb (GtkWidget *button, +@@ -521,7 +521,16 @@ filesave_changed_cb (GtkWidget *button, if (g_uri_parse_scheme (file) != NULL) uri = g_strdup (file); else - uri = g_build_path ("/", gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)), file, NULL); + { -+ const gchar *chooser_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)); ++ gchar *chooser_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)); + if (chooser_uri) -+ uri = g_build_path ("/", chooser_uri, file, NULL); ++ { ++ uri = g_build_path ("/", chooser_uri, file, NULL); ++ g_free (chooser_uri); ++ } + else + uri = g_filename_to_uri (file, NULL, NULL); + } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
