Fix a warning

This commit is contained in:
Matthias Clasen 2012-02-09 23:36:50 -05:00
parent c891ca2f9b
commit 099dfb39be
2 changed files with 20 additions and 1 deletions

View 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)

View File

@ -3,7 +3,7 @@
Summary: GNOME session manager
Name: gnome-session
Version: 3.3.5
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.gnome.org
#VCS: git:git://git.gnome.org/gnome-session
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
# upstream fix
Patch1: gnome-session-interface.patch
License: GPLv2+
Group: User Interface/Desktops
@ -79,6 +82,7 @@ Desktop file to add GNOME to display manager session menu.
%prep
%setup -q
%patch0 -p1 -b .llvmpipe
%patch1 -p1 -b .interface
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
%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
- Update to 3.3.5
- Use systemd for session tracking