Hello community,

here is the log from the commit of package gtk2 for openSUSE:Factory checked in 
at 2015-09-03 17:58:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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        2015-06-03 
08:14:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gtk2.new/gtk2.changes   2015-09-03 
18:03:47.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 08:17:36 UTC 2015 - [email protected]
+
+- gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch
+  added: Fix a wrong function call.
+
+-------------------------------------------------------------------

New:
----
  gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk2.spec ++++++
--- /var/tmp/diff_new_pack.dO1Fvs/_old  2015-09-03 18:04:43.000000000 +0200
+++ /var/tmp/diff_new_pack.dO1Fvs/_new  2015-09-03 18:04:43.000000000 +0200
@@ -59,6 +59,8 @@
 Patch57:        gtk2-bgo743166-remember-printing-authentication.patch
 # PATCH-FIX-UPSTREAM gtk2-bgo737777-fix-printing-authentication-crash.patch 
bgo#737777 [email protected] -- Applications crash randomly while printing 
with a password-secured SMB printer
 Patch58:        gtk2-bgo737777-fix-printing-authentication-crash.patch
+# PATCH-FIX-UPSTREAM 
gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch 
[email protected] -- Fix a wrong function call
+Patch59:        gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch
 BuildRequires:  atk-devel
 BuildRequires:  cairo-devel
 BuildRequires:  cups-devel
@@ -339,6 +341,7 @@
 %patch56 -p1
 %patch57 -p1
 %patch58 -p1
+%patch59 -p1
 gnome-patch-translation-update
 
 %build

++++++ gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch ++++++
>From 7ee8b1fd9af52842e87c26465b9aa8921e62ec90 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <[email protected]>
Date: Fri, 17 Jul 2015 21:20:10 -0400
Subject: Fix a wrong function call

cairo_region_destroy can't handle GdkRegions. We need to call
gdk_region_destroy. Found by coverity.

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index a0500ce..eb0a56d 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -8785,7 +8785,7 @@ do_child_shapes (GdkWindow *window,
 
   gdk_window_shape_combine_region (window, region, 0, 0);
 
-  cairo_region_destroy (region);
+  gdk_region_destroy (region);
 }
 
 /**
-- 
cgit v0.10.2


Reply via email to