[goffice] Compilation: grand rename, part 7.



commit 142977493df9ddcf77eb1daaf0916f1e0c9ca482
Author: Morten Welinder <terra gnome org>
Date:   Sun Aug 23 20:31:29 2009 -0400

    Compilation: grand rename, part 7.

 goffice/app/io-context-priv.h |    4 ++--
 goffice/app/io-context.c      |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/goffice/app/io-context-priv.h b/goffice/app/io-context-priv.h
index a681485..452eda6 100644
--- a/goffice/app/io-context-priv.h
+++ b/goffice/app/io-context-priv.h
@@ -7,7 +7,7 @@
 
 G_BEGIN_DECLS
 
-#define IO_CONTEXT_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GO_TYPE_IO_CONTEXT, GOIOContextClass))
+#define GO_IO_CONTEXT_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GO_TYPE_IO_CONTEXT, GOIOContextClass))
 #define GO_IS_IO_CONTEXT_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GO_TYPE_IO_CONTEXT))
 
 typedef enum {
@@ -41,7 +41,7 @@ typedef struct {
 
 typedef struct {
 	gfloat min, max;
-} ProgressRange;
+} GOProgressRange;
 
 struct _GOIOContext {
 	GObject base;
diff --git a/goffice/app/io-context.c b/goffice/app/io-context.c
index 41fdd76..3bff52f 100644
--- a/goffice/app/io-context.c
+++ b/goffice/app/io-context.c
@@ -25,7 +25,7 @@
 #define PROGRESS_UPDATE_STEP_END    (1.0 / 400)
 #define PROGRESS_UPDATE_PERIOD_SEC  0.20
 
-#define IOC_CLASS(ioc) IO_CONTEXT_CLASS(G_OBJECT_GET_CLASS(ioc))
+#define IOC_CLASS(ioc) GO_IO_CONTEXT_CLASS(G_OBJECT_GET_CLASS(ioc))
 
 enum {
 	IOC_PROP_0,
@@ -305,12 +305,12 @@ go_io_progress_message (GOIOContext *ioc, const gchar *msg)
 void
 go_io_progress_range_push (GOIOContext *ioc, gdouble min, gdouble max)
 {
-	ProgressRange *r;
+	GOProgressRange *r;
 	gdouble new_min, new_max;
 
 	g_return_if_fail (GO_IS_IO_CONTEXT (ioc));
 
-	r = g_new (ProgressRange, 1);
+	r = g_new (GOProgressRange, 1);
 	r->min = min;
 	r->max = max;
 	ioc->progress_ranges = g_list_append (ioc->progress_ranges, r);
@@ -339,7 +339,7 @@ go_io_progress_range_pop (GOIOContext *ioc)
 	ioc->progress_min = 0.0;
 	ioc->progress_max = 1.0;
 	for (l = ioc->progress_ranges; l != NULL; l = l->next) {
-		ProgressRange *r = l->data;
+		GOProgressRange *r = l->data;
 		gdouble new_min, new_max;
 
 		new_min = r->min / (ioc->progress_max - ioc->progress_min)



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