Update to 3.16.4

epel9
David King 9 years ago
parent c3e59982f1
commit 3d9baa9e2c

@ -1,44 +0,0 @@
From 370756f9a6334d87b98cebc395962712657e595a Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 21 Aug 2015 17:53:36 -0400
Subject: [PATCH] Don't destroy attached menus
The documentation for gtk_menu_attach_to_widget states that
attached menus are destroyed together with their attach_widget,
like child widgets. Destroying them manually leads to bad things,
such as segfaults.
https://bugzilla.gnome.org/show_bug.cgi?id=753951
---
src/fr-window.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/fr-window.c b/src/fr-window.c
index d27e00f..b9f128f 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -540,21 +540,6 @@ fr_window_free_private_data (FrWindow *window)
_g_string_list_free (window->priv->drag_file_list);
window->priv->drag_file_list = NULL;
- if (window->priv->file_popup_menu != NULL) {
- gtk_widget_destroy (window->priv->file_popup_menu);
- window->priv->file_popup_menu = NULL;
- }
-
- if (window->priv->folder_popup_menu != NULL) {
- gtk_widget_destroy (window->priv->folder_popup_menu);
- window->priv->folder_popup_menu = NULL;
- }
-
- if (window->priv->sidebar_folder_popup_menu != NULL) {
- gtk_widget_destroy (window->priv->sidebar_folder_popup_menu);
- window->priv->sidebar_folder_popup_menu = NULL;
- }
-
g_free (window->priv->last_location);
fr_window_free_batch_data (window);
--
2.5.0

@ -1,16 +1,13 @@
Summary: Tool for viewing and creating archives Summary: Tool for viewing and creating archives
Name: file-roller Name: file-roller
Version: 3.16.3 Version: 3.16.4
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Archiving Group: Applications/Archiving
URL: https://wiki.gnome.org/Apps/FileRoller URL: https://wiki.gnome.org/Apps/FileRoller
#VCS: git:git://git.gnome.org/file-roller #VCS: git:git://git.gnome.org/file-roller
Source: https://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar.xz Source: https://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar.xz
# https://bugzilla.gnome.org/show_bug.cgi?id=753951
Patch0: 0001-Don-t-destroy-attached-menus.patch
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(json-glib-1.0)
@ -47,7 +44,6 @@ or directories.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%configure \ %configure \
@ -105,6 +101,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Tue Sep 01 2015 David King <amigadave@amigadave.com> - 3.16.4-1
- Update to 3.16.4
* Fri Aug 21 2015 Matthias Clasen <mclasen@redhat.com> - 3.16.3-2 * Fri Aug 21 2015 Matthias Clasen <mclasen@redhat.com> - 3.16.3-2
- Fix a crash on shutdown (#1251755) - Fix a crash on shutdown (#1251755)
- Rely on file triggers for some things - Rely on file triggers for some things

@ -1 +1 @@
407b976f0b7fb6fd4c7ce43967c309e1 file-roller-3.16.3.tar.xz a704c852134041de81f50a3eeec31d50 file-roller-3.16.4.tar.xz

Loading…
Cancel
Save