[librsvg] Should use gboolean for boolean value.



commit 5f90d3652c7555a414828efe928a6eefe2552dd3
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date:   Thu Apr 15 08:10:50 2010 +0900

    Should use gboolean for boolean value.

 rsvg-css.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rsvg-css.c b/rsvg-css.c
index 777f962..8ef197e 100644
--- a/rsvg-css.c
+++ b/rsvg-css.c
@@ -93,8 +93,8 @@ typedef enum _RelativeSize {
 } RelativeSize;
 
 static double
-rsvg_css_parse_raw_length (const char *str, gint * in,
-                           gint * percent, gint * em, gint * ex, RelativeSize * relative_size)
+rsvg_css_parse_raw_length (const char *str, gboolean * in,
+                           gboolean * percent, gboolean * em, gboolean * ex, RelativeSize * relative_size)
 {
     double length = 0.0;
     char *p = NULL;
@@ -177,7 +177,7 @@ RsvgLength
 _rsvg_css_parse_length (const char *str)
 {
     RsvgLength out;
-    gint percent, em, ex, in;
+    gboolean percent, em, ex, in;
     RelativeSize relative_size = RELATIVE_SIZE_NORMAL;
     percent = em = ex = in = FALSE;
 



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