yelp r3228 - in trunk: . src stylesheets



Author: shaunm
Date: Sun Mar  8 18:45:59 2009
New Revision: 3228
URL: http://svn.gnome.org/viewvc/yelp?rev=3228&view=rev

Log:
* src/yelp-document.c:
- Unlock mutex on error, bug #568058, from Andy Owen

* stylesheets/toc2html.xsl.in:
- Indentation fix


Modified:
   trunk/ChangeLog
   trunk/src/yelp-document.c
   trunk/stylesheets/toc2html.xsl.in

Modified: trunk/src/yelp-document.c
==============================================================================
--- trunk/src/yelp-document.c	(original)
+++ trunk/src/yelp-document.c	Sun Mar  8 18:45:59 2009
@@ -750,10 +750,11 @@
     g_mutex_lock (priv->mutex);
 
     if (priv->reqs_pending == NULL) {
-	    /*
-	       Time to bail as we shouldn't be here anyway.
-	    */
-	    return FALSE;
+	/*
+	  Time to bail as we shouldn't be here anyway.
+	*/
+	g_mutex_unlock (priv->mutex);
+	return FALSE;
     }
     
     for (cur = priv->reqs_pending; cur; cur = cur->next) {

Modified: trunk/stylesheets/toc2html.xsl.in
==============================================================================
--- trunk/stylesheets/toc2html.xsl.in	(original)
+++ trunk/stylesheets/toc2html.xsl.in	Sun Mar  8 18:45:59 2009
@@ -70,9 +70,9 @@
           float: </xsl:text><xsl:value-of select="$right"/><xsl:text>;
           margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 18px;
         }
-	h2 h3 {
+        h2 h3 {
           color: </xsl:text><xsl:value-of select="$theme.color.text"/><xsl:text>;
-	}
+        }
         div[class~="body"] { }
         div[class~="leftbar"] {
           position: absolute;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]