Accepting request 328104 from home:dimstar:Factory
Fix a wrong function call - fixes perl-Gtk2 the right way OBS-URL: https://build.opensuse.org/request/show/328104 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=230
This commit is contained in:
parent
8e3576c9dc
commit
f67455e12f
@ -0,0 +1,24 @@
|
||||
From 7ee8b1fd9af52842e87c26465b9aa8921e62ec90 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 08:17:36 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- gtk2-gdk_region_destroy_instead_of_cairo_region_destroy.patch
|
||||
added: Fix a wrong function call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 1 11:16:14 UTC 2015 - joschibrauchle@gmx.de
|
||||
|
||||
|
@ -59,6 +59,8 @@ Patch56: gtk2-bgo625202-30-bit-drawables-remain-black.patch
|
||||
Patch57: gtk2-bgo743166-remember-printing-authentication.patch
|
||||
# PATCH-FIX-UPSTREAM gtk2-bgo737777-fix-printing-authentication-crash.patch bgo#737777 joschibrauchle@gmx.de -- 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 dimstar@opensuse.org -- 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 @@ cp -a %{SOURCE2} .
|
||||
%patch56 -p1
|
||||
%patch57 -p1
|
||||
%patch58 -p1
|
||||
%patch59 -p1
|
||||
gnome-patch-translation-update
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user