[librsvg] Tidy code



commit f7ad04b70761152aefee15109d5d92a87d0e9054
Author: Christian Persch <chpe gnome org>
Date:   Tue Jun 19 14:05:37 2012 +0200

    Tidy code

 librsvg-features.c    |    8 ++++----
 librsvg-features.h.in |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/librsvg-features.c b/librsvg-features.c
index 367ccbd..5e083c2 100644
--- a/librsvg-features.c
+++ b/librsvg-features.c
@@ -1,7 +1,7 @@
 #include "rsvg.h"
 
 /* General initialization hooks */
-const unsigned int librsvg_major_version = LIBRSVG_MAJOR_VERSION,
-    librsvg_minor_version = LIBRSVG_MINOR_VERSION, librsvg_micro_version = LIBRSVG_MICRO_VERSION;
-
-const char *librsvg_version = LIBRSVG_VERSION;
+const guint librsvg_major_version = LIBRSVG_MAJOR_VERSION;
+const guint librsvg_minor_version = LIBRSVG_MINOR_VERSION;
+const guint librsvg_micro_version = LIBRSVG_MICRO_VERSION;
+const char librsvg_version[] = LIBRSVG_VERSION;
diff --git a/librsvg-features.h.in b/librsvg-features.h.in
index b8d1835..1c2bea3 100644
--- a/librsvg-features.h.in
+++ b/librsvg-features.h.in
@@ -22,7 +22,7 @@
 #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
 #endif
 
-extern const unsigned int librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
+extern const guint librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
 extern const char *librsvg_version;
 
 #endif



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