rpms/gnome-session/F-12 xsmp-stop.patch,NONE,1.1
Matthias Clasen
mclasen at fedoraproject.org
Sat Oct 24 03:51:03 UTC 2009
- Previous message (by thread): rpms/ibus-qt/devel .cvsignore, 1.4, 1.5 ibus-qt.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message (by thread): rpms/gnome-screensaver/F-12 ask-to-die.patch, NONE, 1.1 gnome-screensaver.spec, 1.231, 1.232
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/pkgs/rpms/gnome-session/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28617
Added Files:
xsmp-stop.patch
Log Message:
forgotten patch
xsmp-stop.patch:
gsm-xsmp-client.c | 11 +++++++++++
1 file changed, 11 insertions(+)
--- NEW FILE xsmp-stop.patch ---
diff -up gnome-session-2.28.0/gnome-session/gsm-xsmp-client.c.xsmp-stop gnome-session-2.28.0/gnome-session/gsm-xsmp-client.c
--- gnome-session-2.28.0/gnome-session/gsm-xsmp-client.c.xsmp-stop 2009-10-23 10:47:51.555179151 -0400
+++ gnome-session-2.28.0/gnome-session/gsm-xsmp-client.c 2009-10-23 10:47:10.255456283 -0400
@@ -713,6 +713,17 @@ xsmp_stop (GsmClient *client,
g_debug ("GsmXSMPClient: xsmp_stop ('%s')", xsmp->priv->description);
+ /*FIXME: What do we do if the client can't be stoped ?
+ * (probably a cleaner solution exists...)
+ */
+ if (xsmp->priv->conn == NULL) {
+ g_set_error (error,
+ GSM_CLIENT_ERROR,
+ GSM_CLIENT_ERROR_NOT_REGISTERED,
+ "Client is not registered");
+ return FALSE;
+ }
+
SmsDie (xsmp->priv->conn);
return TRUE;
- Previous message (by thread): rpms/ibus-qt/devel .cvsignore, 1.4, 1.5 ibus-qt.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message (by thread): rpms/gnome-screensaver/F-12 ask-to-die.patch, NONE, 1.1 gnome-screensaver.spec, 1.231, 1.232
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list