Avoid pointless warnings
This commit is contained in:
parent
4a7b6e5b85
commit
9747010529
@ -10,7 +10,7 @@
|
||||
Summary: GNOME session manager
|
||||
Name: gnome-session
|
||||
Version: 2.26.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
URL: http://www.gnome.org
|
||||
Source0: http://download.gnome.org/sources/gnome-session/2.26/%{name}-%{version}.tar.bz2
|
||||
Source2: gnome.desktop
|
||||
@ -19,6 +19,9 @@ Source2: gnome.desktop
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=585614
|
||||
Patch0: polkit1.patch
|
||||
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=588247
|
||||
Patch1: watch-spew.patch
|
||||
|
||||
License: GPLv2+
|
||||
Group: User Interface/Desktops
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -81,6 +84,7 @@ Desktop file to add GNOME to display manager session menu.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .polkit1
|
||||
%patch1 -p1 -b .watch-spew
|
||||
|
||||
#workaround broken perl-XML-Parser on 64bit arches
|
||||
export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl
|
||||
@ -173,6 +177,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 10 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-5
|
||||
- Avoid pointless warnings
|
||||
|
||||
* Sun Jun 14 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-4
|
||||
- Drop unused files
|
||||
|
||||
|
12
watch-spew.patch
Normal file
12
watch-spew.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up gnome-session-2.26.1/gnome-session/gs-idle-monitor.c.watch-spew gnome-session-2.26.1/gnome-session/gs-idle-monitor.c
|
||||
--- gnome-session-2.26.1/gnome-session/gs-idle-monitor.c.watch-spew 2009-07-10 09:54:42.872161348 -0400
|
||||
+++ gnome-session-2.26.1/gnome-session/gs-idle-monitor.c 2009-07-10 09:54:53.169623355 -0400
|
||||
@@ -188,7 +188,7 @@ handle_alarm_notify_event (GSIdleMonitor
|
||||
watch = find_watch_for_alarm (monitor, alarm_event->alarm);
|
||||
|
||||
if (watch == NULL) {
|
||||
- g_warning ("Unable to find watch for alarm %d, counter value %d, alarm value %d, time %d state %d", (int)alarm_event->alarm, alarm_event->counter_value.lo, alarm_event->alarm_value.lo, time, state);
|
||||
+ g_debug ("Unable to find watch for alarm %d, counter value %d, alarm value %d, time %d state %d", (int)alarm_event->alarm, alarm_event->counter_value.lo, alarm_event->alarm_value.lo, time, state);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user