Fix a warning
This commit is contained in:
parent
c891ca2f9b
commit
099dfb39be
12
gnome-session-interface.patch
Normal file
12
gnome-session-interface.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gnome-session-3.3.5/gnome-session/gsm-system.c.interface gnome-session-3.3.5/gnome-session/gsm-system.c
|
||||||
|
--- gnome-session-3.3.5/gnome-session/gsm-system.c.interface 2012-02-09 23:35:03.634312123 -0500
|
||||||
|
+++ gnome-session-3.3.5/gnome-session/gsm-system.c 2012-02-09 23:35:12.438311807 -0500
|
||||||
|
@@ -34,7 +34,7 @@ enum {
|
||||||
|
|
||||||
|
static guint signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
|
-G_DEFINE_INTERFACE (GsmSystem, gsm_system, G_TYPE_INTERFACE);
|
||||||
|
+G_DEFINE_INTERFACE (GsmSystem, gsm_system, G_TYPE_OBJECT)
|
||||||
|
|
||||||
|
static void
|
||||||
|
gsm_system_default_init (GsmSystemInterface *iface)
|
@ -3,7 +3,7 @@
|
|||||||
Summary: GNOME session manager
|
Summary: GNOME session manager
|
||||||
Name: gnome-session
|
Name: gnome-session
|
||||||
Version: 3.3.5
|
Version: 3.3.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
#VCS: git:git://git.gnome.org/gnome-session
|
#VCS: git:git://git.gnome.org/gnome-session
|
||||||
Source0: http://download.gnome.org/sources/gnome-session/3.3/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/gnome-session/3.3/%{name}-%{version}.tar.xz
|
||||||
@ -12,6 +12,9 @@ Source2: gnome.desktop
|
|||||||
|
|
||||||
Patch0: gnome-session-3.3.1-llvmpipe.patch
|
Patch0: gnome-session-3.3.1-llvmpipe.patch
|
||||||
|
|
||||||
|
# upstream fix
|
||||||
|
Patch1: gnome-session-interface.patch
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
|
|
||||||
@ -79,6 +82,7 @@ Desktop file to add GNOME to display manager session menu.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .llvmpipe
|
%patch0 -p1 -b .llvmpipe
|
||||||
|
%patch1 -p1 -b .interface
|
||||||
|
|
||||||
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
||||||
|
|
||||||
@ -154,6 +158,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
|||||||
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 9 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.5-2
|
||||||
|
- Fix a bug in the new system interface registration
|
||||||
|
|
||||||
* Tue Feb 7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.5-1
|
* Tue Feb 7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.5-1
|
||||||
- Update to 3.3.5
|
- Update to 3.3.5
|
||||||
- Use systemd for session tracking
|
- Use systemd for session tracking
|
||||||
|
Loading…
Reference in New Issue
Block a user