Hello community,

here is the log from the commit of package gtk3 for openSUSE:Factory checked in 
at 2014-12-17 19:19:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk3/gtk3.changes        2014-11-18 
22:48:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk3.new/gtk3.changes   2014-12-17 
19:18:41.000000000 +0100
@@ -1,0 +2,21 @@
+Fri Dec 12 20:04:34 UTC 2014 - zai...@opensuse.org
+
+- Update to version 3.14.6:
+  + Redraw problems with cairo 1.14.
+  + Avoid excessive redraws due to CSD shadows.
+  + Bugs fixed: bgo#364566, bgo#461249, bgo#721939, bgo#722781,
+    bgo#730232, bgo#739453, bgo#739885, bgo#739977, bgo#740287,
+    bgo#740374, bgo#740612, bgo#740613, bgo#740642, bgo#740742,
+    bgo#740770, bgo#740896, bgo#741249, bgo#741250, bgo#741251,
+    bgo#741252, bgo#741254, bgo#741314.
+  + Updated translations.
+- Add gtk3-Dont-crash-if-invisible-files-are-deleted.patch: Do not
+  crash application using gtk file chooser when deleting file via
+  an other app (patch from upstream git).
+
+-------------------------------------------------------------------
+Fri Dec 12 15:07:40 UTC 2014 - fcro...@suse.com
+
+- Disable wayland on SLE12.
+
+-------------------------------------------------------------------

Old:
----
  gtk+-3.14.5.tar.xz

New:
----
  gtk+-3.14.6.tar.xz
  gtk3-Dont-crash-if-invisible-files-are-deleted.patch

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

Other differences:
------------------
++++++ gtk3.spec ++++++
--- /var/tmp/diff_new_pack.Jreik0/_old  2014-12-17 19:18:42.000000000 +0100
+++ /var/tmp/diff_new_pack.Jreik0/_new  2014-12-17 19:18:42.000000000 +0100
@@ -18,14 +18,18 @@
 
 
 %define build_broadway_backend 1
+%if 0%{?suse_version} == 1315
+%define build_wayland_backend 0
+%else
 %define build_wayland_backend 1
+%endif
 
 # When updating the binary version, do not forget to also update baselibs.conf
 %define gtk_binary_version 3.0.0
 
 Name:           gtk3
 %define _name gtk+
-Version:        3.14.5
+Version:        3.14.6
 Release:        0
 Summary:        The GTK+ toolkit library (version 3)
 License:        LGPL-2.1+
@@ -44,6 +48,8 @@
 Patch3:         gtk3-bnc130159-bgo319483-async-font-selection.patch
 # PATCH-FIX-UPSTREAM gtk3-find-wayland-includedir.patch bgo#696507 
zai...@opensuse.org -- Make configure find wayland include files.
 Patch4:         gtk3-find-wayland-includedir.patch
+# PATCH-FIX-UPSTREAM gtk3-Dont-crash-if-invisible-files-are-deleted.patch 
zai...@opensuse.org -- GtkFileChooser: Don't crash if invisible files are 
deleted
+Patch5:         gtk3-Dont-crash-if-invisible-files-are-deleted.patch
 BuildRequires:  cups-devel >= 1.2
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
@@ -332,6 +338,7 @@
 %if %{build_wayland_backend}
 %patch4 -p1
 %endif
+%patch5 -p1
 
 %build
 # Needed for patch1 and patch4

++++++ gtk+-3.14.5.tar.xz -> gtk+-3.14.6.tar.xz ++++++
/work/SRC/openSUSE:Factory/gtk3/gtk+-3.14.5.tar.xz 
/work/SRC/openSUSE:Factory/.gtk3.new/gtk+-3.14.6.tar.xz differ: char 27, line 1

++++++ gtk3-Dont-crash-if-invisible-files-are-deleted.patch ++++++
>From 23eeb44beb72cc1027dc6ede3e0b7347b465a727 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mcla...@redhat.com>
Date: Thu, 11 Dec 2014 22:52:59 -0500
Subject: GtkFileChooser: Don't crash if invisible files are deleted

This is a crash that has been around for a long time, as
can be seen here:
https://bugzilla.redhat.com/show_bug.cgi?id=1048388
https://bugzilla.redhat.com/show_bug.cgi?id=984375
https://bugzilla.redhat.com/show_bug.cgi?id=1159015
https://bugzilla.redhat.com/show_bug.cgi?id=1059187
https://bugzilla.redhat.com/show_bug.cgi?id=1122172
https://bugzilla.redhat.com/show_bug.cgi?id=1016895
https://bugzilla.redhat.com/show_bug.cgi?id=1133235
https://bugzilla.redhat.com/show_bug.cgi?id=1077500
https://bugzilla.redhat.com/show_bug.cgi?id=1054378
https://bugzilla.redhat.com/show_bug.cgi?id=1173212

Fix suggested by Benjamin Otte.

diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index 909359a..5a5fc7f 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -1886,6 +1886,7 @@ remove_file (GtkFileSystemModel *model,
             GFile              *file)
 {
   FileModelNode *node;
+  gboolean was_visible;
   guint id;
   guint row;
 
@@ -1897,6 +1898,7 @@ remove_file (GtkFileSystemModel *model,
     return;
 
   node = get_node (model, id);
+  was_visible = node->visible;
   row = node_get_tree_row (model, id);
 
   node_invalidate_index (model, id);
@@ -1912,7 +1914,8 @@ remove_file (GtkFileSystemModel *model,
 
   /* We don't need to resort, as removing a row doesn't change the sorting 
order of the other rows */
 
-  emit_row_deleted_for_row (model, row);
+  if (was_visible)
+    emit_row_deleted_for_row (model, row);
 }
 
 /**
-- 
cgit v0.10.1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to