summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-08-20 20:49:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-08-20 20:49:47 (GMT)
commitdd51bdbc51abec252ad5169d722a8b6faa53c1ac (patch)
tree9c0e38223ee9aa6f5d60d020063aebee2b72b734
parentb1738d682ea2bd7260438c543f30442cbc73a42c (diff)
Removed some debug code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@392 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r--ChangeLog5
-rw-r--r--src/glibext/gbuffersegment.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e6da55..0362a19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
14-08-20 Cyrille Bagard <nocbos@gmail.com>
+ * src/glibext/gbuffersegment.c:
+ Remove some debug code.
+
+14-08-20 Cyrille Bagard <nocbos@gmail.com>
+
* src/arch/instruction.c:
Fix a bug by adding a missing 'return'.
diff --git a/src/glibext/gbuffersegment.c b/src/glibext/gbuffersegment.c
index ff32e3c..c96b092 100644
--- a/src/glibext/gbuffersegment.c
+++ b/src/glibext/gbuffersegment.c
@@ -145,19 +145,8 @@ static void g_buffer_segment_class_init(GBufferSegmentClass *class)
cairo_text_extents(*cr, "A", &extents);
class->x_advances[CAIRO_FONT_INDEX(s, w)] = extents.x_advance;
-
- printf("s=%d w=%d ==>> %g vs %g\n", s, w,
- extents.x_advance, class->x_advances[CAIRO_FONT_INDEX(s, w)]);
-
- printf(" >> %d\n", CAIRO_FONT_INDEX(s, w));
-
-
- printf("[x] = %g [0] = %g\n", class->x_advances[CAIRO_FONT_INDEX(s, w)], class->x_advances[0]);
-
}
- printf("class=%p [0]=%g\n", class, class->x_advances[0]);
-
g_free(filename);
/* Propriétés d'impression */