diffstat for pygobject-3.18.2 pygobject-3.18.2 changelog | 6 ++ patches/endless-tests-Fix-failure-due-to-new-GTK-warning.patch | 27 ++++++++++ patches/series | 1 3 files changed, 34 insertions(+) diff -Nru pygobject-3.18.2/debian/changelog pygobject-3.18.2/debian/changelog --- pygobject-3.18.2/debian/changelog 2015-10-29 23:59:19.000000000 +0000 +++ pygobject-3.18.2/debian/changelog 2016-02-25 01:52:41.000000000 +0000 @@ -1,3 +1,9 @@ +pygobject (3.18.2-2endless1) master; urgency=medium + + * Add patch for unstable gtk api, can remove with pygobject 3.20 + + -- Matt Watson Wed, 24 Feb 2016 17:51:53 -0800 + pygobject (3.18.2-2) unstable; urgency=medium * Fix rules when deciding for which architecture the test-suite failure diff -Nru pygobject-3.18.2/debian/patches/endless-tests-Fix-failure-due-to-new-GTK-warning.patch pygobject-3.18.2/debian/patches/endless-tests-Fix-failure-due-to-new-GTK-warning.patch --- pygobject-3.18.2/debian/patches/endless-tests-Fix-failure-due-to-new-GTK-warning.patch 1970-01-01 00:00:00.000000000 +0000 +++ pygobject-3.18.2/debian/patches/endless-tests-Fix-failure-due-to-new-GTK-warning.patch 2016-02-24 00:45:49.000000000 +0000 @@ -0,0 +1,27 @@ +From 4164e7088be446fcab65cef642c6853aad3b6a69 Mon Sep 17 00:00:00 2001 +From: Simon Feltman +Date: Sat, 31 Oct 2015 14:06:40 -0700 +Subject: [PATCH 01/12] tests: Fix failure due to new GTK+ warning regarding + size_allocate() + +Call get_preferred_size() to avoid size_allocated() warning in +size-allocated signal handler test. +--- + tests/test_overrides_gtk.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test_overrides_gtk.py b/tests/test_overrides_gtk.py +index 44f2f6e..9aa592c 100644 +--- a/tests/test_overrides_gtk.py ++++ b/tests/test_overrides_gtk.py +@@ -692,6 +692,7 @@ class TestSignals(unittest.TestCase): + + with realized(win): + win.show() ++ win.get_preferred_size() + win.size_allocate(rect) + self.assertTrue(win._alloc_called) + self.assertIsInstance(win._alloc_value, Gdk.Rectangle) +-- +2.1.4 + diff -Nru pygobject-3.18.2/debian/patches/series pygobject-3.18.2/debian/patches/series --- pygobject-3.18.2/debian/patches/series 2014-09-23 16:29:15.000000000 +0000 +++ pygobject-3.18.2/debian/patches/series 2016-02-24 00:45:49.000000000 +0000 @@ -1 +1,2 @@ 01_cairo_region.patch +endless-tests-Fix-failure-due-to-new-GTK-warning.patch