liboobs r222 - in trunk: . oobs
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: liboobs r222 - in trunk: . oobs
- Date: Fri, 29 Feb 2008 16:15:46 +0000 (GMT)
Author: carlosg
Date: Fri Feb 29 16:15:46 2008
New Revision: 222
URL: http://svn.gnome.org/viewvc/liboobs?rev=222&view=rev
Log:
2008-02-29 Carlos Garnacho <carlosg gnome org>
* oobs/oobs-servicesconfig.c (get_runlevel): Do not crash if the
backend couldn't get the current runlevel.
Modified:
trunk/ChangeLog
trunk/oobs/oobs-servicesconfig.c
Modified: trunk/oobs/oobs-servicesconfig.c
==============================================================================
--- trunk/oobs/oobs-servicesconfig.c (original)
+++ trunk/oobs/oobs-servicesconfig.c Fri Feb 29 16:15:46 2008
@@ -160,6 +160,9 @@
OobsServicesRunlevel *rl;
GList *list;
+ if (!runlevel)
+ return NULL;
+
priv = config->_priv;
list = priv->runlevels;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]