summaryrefslogtreecommitdiff
path: root/pango/pango-fontset.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-05-01 21:06:16 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-05-01 21:06:16 -0400
commitbeecf8f88188391132d30b940c2a312ecaebba3a (patch)
tree91048009ed85c20a97494fd1e183c5c5d11898e4 /pango/pango-fontset.c
parent9003800c297781223828c5d5e537aa34391c17ca (diff)
downloadpango-beecf8f88188391132d30b940c2a312ecaebba3a.tar.gz
Fix compiler warnings
Diffstat (limited to 'pango/pango-fontset.c')
-rw-r--r--pango/pango-fontset.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index 9ca26443..7c382b34 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -32,6 +32,9 @@
static PangoFontMetrics *pango_fontset_real_get_metrics (PangoFontset *fontset);
+
+G_DEFINE_ABSTRACT_TYPE (PangoFontset, pango_fontset, G_TYPE_OBJECT);
+
static void
pango_fontset_init (PangoFontset *self)
{
@@ -43,7 +46,6 @@ pango_fontset_class_init (PangoFontsetClass *class)
class->get_metrics = pango_fontset_real_get_metrics;
}
-G_DEFINE_ABSTRACT_TYPE (PangoFontset, pango_fontset, G_TYPE_OBJECT);
/**
* pango_fontset_get_font:
@@ -206,7 +208,6 @@ pango_fontset_real_get_metrics (PangoFontset *fontset)
#define PANGO_FONTSET_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONTSET_SIMPLE, PangoFontsetSimpleClass))
static void pango_fontset_simple_finalize (GObject *object);
-static void pango_fontset_simple_init (PangoFontsetSimple *fontset);
static PangoFontMetrics *pango_fontset_simple_get_metrics (PangoFontset *fontset);
static PangoLanguage * pango_fontset_simple_get_language (PangoFontset *fontset);
static PangoFont * pango_fontset_simple_get_font (PangoFontset *fontset,
@@ -249,6 +250,9 @@ pango_fontset_simple_new (PangoLanguage *language)
return fontset;
}
+
+G_DEFINE_TYPE (PangoFontsetSimple, pango_fontset_simple, PANGO_TYPE_FONTSET);
+
static void
pango_fontset_simple_class_init (PangoFontsetSimpleClass *class)
{
@@ -271,8 +275,6 @@ pango_fontset_simple_init (PangoFontsetSimple *fontset)
fontset->language = NULL;
}
-G_DEFINE_TYPE (PangoFontsetSimple, pango_fontset_simple, PANGO_TYPE_FONTSET);
-
static void
pango_fontset_simple_finalize (GObject *object)
{