summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.c
diff options
context:
space:
mode:
authorElliot Lee <sopwith@redhat.com>2000-06-19 17:15:45 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-06-19 17:15:45 +0000
commite2dc9e117648e267953d7318bd3e0093cd5ab234 (patch)
tree4a582a231b2efca221ec86cf80e12dc7451e99d3 /pango/pango-coverage.c
parentb9aaea84c9092c83906676aa97d8a7ea89a51f36 (diff)
downloadpango-e2dc9e117648e267953d7318bd3e0093cd5ab234.tar.gz
g_strcasecmp returns 0 when strings are equal - negate return value.
2000-06-11 Elliot Lee <sopwith@redhat.com> * pango/fonts.c (pango_font_description_compare): g_strcasecmp returns 0 when strings are equal - negate return value. 2000-06-09 Elliot Lee <sopwith@redhat.com> * pango/pango-coverage.[ch]: Return 'coverage' from pango_coverage_ref. 2000-06-08 Elliot Lee <sopwith@redhat.com> * pango/Makefile.am: Add DOTMODULESDIR define to make it easier to change location of .modules files. * pango/modules.c: Make use of aforesaid define. Also scan the DOTMODULESDIR directory for multiple config files instead of just pango.modules. Also fclose() opened files.
Diffstat (limited to 'pango/pango-coverage.c')
-rw-r--r--pango/pango-coverage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index 286c3977..4445705d 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -117,12 +117,14 @@ pango_coverage_copy (PangoCoverage *coverage)
*
* Increase the reference count on the #PangoCoverage by one
**/
-void
+PangoCoverage *
pango_coverage_ref (PangoCoverage *coverage)
{
g_return_if_fail (coverage != NULL);
coverage->ref_count++;
+
+ return coverage;
}
/**