[gnome-color-manager] trivial: rename gcm-common to gcm-math to be a bit more specific



commit 2c35fd8ef6b2fe3ecd6fd1e0ed062b55e7772f5d
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 10 11:46:40 2010 +0100

    trivial: rename gcm-common to gcm-math to be a bit more specific

 libcolor-glib/Makefile.am                  |    6 +++---
 libcolor-glib/gcm-color.h                  |    2 +-
 libcolor-glib/{gcm-common.c => gcm-math.c} |    4 ++--
 libcolor-glib/{gcm-common.h => gcm-math.h} |    0
 libcolor-glib/gcm-self-test.c              |    6 +++---
 libcolor-glib/gcm-sensor-huey.c            |    2 +-
 libcolor-glib/libcolor-glib.h              |    2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libcolor-glib/Makefile.am b/libcolor-glib/Makefile.am
index 4c6c70d..1c01add 100644
--- a/libcolor-glib/Makefile.am
+++ b/libcolor-glib/Makefile.am
@@ -32,7 +32,7 @@ libcolor_glib_includedir = $(includedir)/libcolor-glib
 
 libcolor_glib_include_HEADERS =					\
 	libcolor-glib.h						\
-	gcm-common.h						\
+	gcm-math.h						\
 	gcm-compat.h						\
 	gcm-color.h						\
 	gcm-ddc-client.h					\
@@ -57,8 +57,8 @@ libcolor_glib_la_SOURCES =					\
 	egg-debug.h						\
 	gcm-sample-window.c					\
 	gcm-sample-window.h					\
-	gcm-common.c						\
-	gcm-common.h						\
+	gcm-math.c						\
+	gcm-math.h						\
 	gcm-color.c						\
 	gcm-color.h						\
 	gcm-sensor.c						\
diff --git a/libcolor-glib/gcm-color.h b/libcolor-glib/gcm-color.h
index 80bdc9c..743908f 100644
--- a/libcolor-glib/gcm-color.h
+++ b/libcolor-glib/gcm-color.h
@@ -26,7 +26,7 @@
 #ifndef __GCM_COLOR_H__
 #define __GCM_COLOR_H__
 
-#include <gcm-common.h>
+#include <gcm-math.h>
 
 typedef struct {
 	guint8	 R;
diff --git a/libcolor-glib/gcm-common.c b/libcolor-glib/gcm-math.c
similarity index 99%
rename from libcolor-glib/gcm-common.c
rename to libcolor-glib/gcm-math.c
index 7d3534a..3615ecf 100644
--- a/libcolor-glib/gcm-common.c
+++ b/libcolor-glib/gcm-math.c
@@ -20,7 +20,7 @@
  */
 
 /**
- * SECTION:gcm-common
+ * SECTION:gcm-math
  * @short_description: Common maths functionality
  *
  * A GObject to use for common maths functionality like vectors and matrices.
@@ -31,7 +31,7 @@
 #include <math.h>
 #include <glib-object.h>
 
-#include <gcm-common.h>
+#include <gcm-math.h>
 
 /**
  * gcm_vec3_clear:
diff --git a/libcolor-glib/gcm-common.h b/libcolor-glib/gcm-math.h
similarity index 100%
rename from libcolor-glib/gcm-common.h
rename to libcolor-glib/gcm-math.h
diff --git a/libcolor-glib/gcm-self-test.c b/libcolor-glib/gcm-self-test.c
index a72e8f7..184312a 100644
--- a/libcolor-glib/gcm-self-test.c
+++ b/libcolor-glib/gcm-self-test.c
@@ -27,7 +27,7 @@
 #include "gcm-brightness.h"
 #include "gcm-buffer.h"
 #include "gcm-clut.h"
-#include "gcm-common.h"
+#include "gcm-math.h"
 #include "gcm-ddc-client.h"
 #include "gcm-ddc-device.h"
 #include "gcm-dmi.h"
@@ -44,7 +44,7 @@
 #include "gcm-xyz.h"
 
 static void
-gcm_test_common_func (void)
+gcm_test_math_func (void)
 {
 	GcmColorRGBint rgb_int;
 	GcmColorRGB rgb;
@@ -819,7 +819,7 @@ main (int argc, char **argv)
 	g_test_init (&argc, &argv, NULL);
 
 	/* tests go here */
-	g_test_add_func ("/libcolor-glib/common", gcm_test_common_func);
+	g_test_add_func ("/libcolor-glib/math", gcm_test_math_func);
 	g_test_add_func ("/libcolor-glib/ddc-device", gcm_test_ddc_device_func);
 	g_test_add_func ("/libcolor-glib/ddc-client", gcm_test_ddc_client_func);
 	g_test_add_func ("/libcolor-glib/sensor", gcm_test_sensor_func);
diff --git a/libcolor-glib/gcm-sensor-huey.c b/libcolor-glib/gcm-sensor-huey.c
index f1f5fb1..1b84297 100644
--- a/libcolor-glib/gcm-sensor-huey.c
+++ b/libcolor-glib/gcm-sensor-huey.c
@@ -35,7 +35,7 @@
 
 #include "gcm-buffer.h"
 #include "gcm-usb.h"
-#include "gcm-common.h"
+#include "gcm-math.h"
 #include "gcm-compat.h"
 #include "gcm-sensor-huey.h"
 
diff --git a/libcolor-glib/libcolor-glib.h b/libcolor-glib/libcolor-glib.h
index a96b102..8f7b898 100644
--- a/libcolor-glib/libcolor-glib.h
+++ b/libcolor-glib/libcolor-glib.h
@@ -29,7 +29,7 @@
 #define __LIBCOLOR_GLIB_H_INSIDE__
 
 #include <gcm-buffer.h>
-#include <gcm-common.h>
+#include <gcm-math.h>
 #include <gcm-compat.h>
 #include <gcm-color.h>
 #include <gcm-ddc-common.h>



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