summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-07-06 20:07:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-07-06 20:07:41 +0000
commit3d95e7ed152e045e311f855a8028746fc9ab38be (patch)
tree689f158866b2c1ad4b889f8fd4143b4783e7ba91 /pango/pango-coverage.c
parentbb034ea234b9c7fdc4556a270cae042ab6db249d (diff)
downloadpango-3d95e7ed152e045e311f855a8028746fc9ab38be.tar.gz
Released 0.12
Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com> * Released 0.12 * gdk/Makefile.am: Fix missing \ which was causing srcdir != builddir builds to fail.
Diffstat (limited to 'pango/pango-coverage.c')
-rw-r--r--pango/pango-coverage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index eda0ace3..1e090f41 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -57,7 +57,6 @@ struct _PangoCoverage
PangoCoverage *
pango_coverage_new (void)
{
- int i;
PangoCoverage *coverage = g_new (PangoCoverage, 1);
coverage->n_blocks = N_BLOCKS_INCREMENT;
@@ -117,7 +116,7 @@ pango_coverage_copy (PangoCoverage *coverage)
PangoCoverage *
pango_coverage_ref (PangoCoverage *coverage)
{
- g_return_if_fail (coverage != NULL);
+ g_return_val_if_fail (coverage != NULL, NULL);
coverage->ref_count++;