- New snapshot
This commit is contained in:
parent
a5acf9488a
commit
151729b7bb
@ -1,23 +0,0 @@
|
||||
From 15eda99b58d602119ba9df881595fcbb02853c2a Mon Sep 17 00:00:00 2001
|
||||
From: David Zeuthen <davidz@redhat.com>
|
||||
Date: Wed, 04 Mar 2009 16:37:56 +0000
|
||||
Subject: don't use g_free on a GIcon, use g_object_unref instead
|
||||
|
||||
This fixes a crash when attempting to change the passphrase of a LUKS
|
||||
device.
|
||||
---
|
||||
diff --git a/src/gdu-gtk/gdu-gtk.c b/src/gdu-gtk/gdu-gtk.c
|
||||
index d86599a..d0a41d4 100644
|
||||
--- a/src/gdu-gtk/gdu-gtk.c
|
||||
+++ b/src/gdu-gtk/gdu-gtk.c
|
||||
@@ -1057,7 +1057,7 @@ out:
|
||||
|
||||
g_free (window_title);
|
||||
if (window_icon != NULL)
|
||||
- g_free (window_icon);
|
||||
+ g_object_unref (window_icon);
|
||||
if (device != NULL)
|
||||
g_object_unref (device);
|
||||
return ret;
|
||||
--
|
||||
cgit v0.8.2
|
@ -6,16 +6,17 @@
|
||||
%define polkit_version 0.8
|
||||
%define polkit_gnome_version 0.8
|
||||
%define gnome_keyring_version 2.22
|
||||
%define devicekit_disks_version 003
|
||||
%define devicekit_disks_version 004
|
||||
%define unique_version 1.0.4
|
||||
|
||||
Summary: Disk management application
|
||||
Name: gnome-disk-utility
|
||||
Version: 0.2
|
||||
Release: 2%{?dist}
|
||||
Version: 0.3
|
||||
Release: 0.1.20090406git%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://gitweb.freedesktop.org/?p=users/david/gnome-disk-utility.git;a=summary
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
URL: http://git.gnome.org/cgit/gnome-disk-utility
|
||||
Source0: %{name}-%{version}.20090406git.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: dbus-devel >= %{dbus_version}
|
||||
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
|
||||
@ -29,13 +30,12 @@ BuildRequires: desktop-file-utils
|
||||
BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version}
|
||||
BuildRequires: DeviceKit-disks-devel >= %{devicekit_disks_version}
|
||||
BuildRequires: PolicyKit-gnome-devel >= %{polkit_gnome_version}
|
||||
BuildRequires: unique-devel >= %{unique_version}
|
||||
BuildRequires: libsexy-devel
|
||||
BuildRequires: intltool
|
||||
Requires(post): scrollkeeper
|
||||
Requires(postun): scrollkeeper
|
||||
|
||||
Patch0: gdu-0.2-passphrase-change-crash.patch
|
||||
|
||||
%description
|
||||
This package contains the Palimpsest disk management application.
|
||||
Palimpsest supports partitioning, file system creation, encryption,
|
||||
@ -89,7 +89,6 @@ develop applications with gnome-disk-utility-ui-libs.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .luks-passphrase-change
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -197,6 +196,9 @@ fi
|
||||
%{_includedir}/gnome-disk-utility/gdu-gtk/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.1.20090406git%{?dist}
|
||||
- New snapshot
|
||||
|
||||
* Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 0.2-2%{?dist}
|
||||
- Don't crash when changing the LUKS passphrase on a device
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user