summaryrefslogtreecommitdiff
path: root/gtk/gtkpango.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-10-02 19:19:50 +0200
committerBenjamin Otte <otte@redhat.com>2012-10-02 19:32:38 +0200
commit48c6b3b4f4c7eaf99e10302d17e78838f1eac010 (patch)
tree21a4a37076ebd68f22da89be4e6d004b3f2eb6e3 /gtk/gtkpango.c
parent9e486139ca3e58daddef107212bb9f734016314b (diff)
downloadgtk+-48c6b3b4f4c7eaf99e10302d17e78838f1eac010.tar.gz
gtk: Add get_type() function declarations for private objects
I'm adding a bunch of fixes for gcc complaining about -Wmissing-declarations. This set of patches makes private classes in gtk/*.c that use G_DEFINE_TYPE() safe by adding definitions for the get_type() function that can't be made static.
Diffstat (limited to 'gtk/gtkpango.c')
-rw-r--r--gtk/gtkpango.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c
index 8150eb4655..40c94f3c13 100644
--- a/gtk/gtkpango.c
+++ b/gtk/gtkpango.c
@@ -49,6 +49,8 @@ struct _GtkFillLayoutRendererClass
PangoRendererClass parent_class;
};
+GType _gtk_fill_layout_renderer_get_type (void);
+
G_DEFINE_TYPE (GtkFillLayoutRenderer, _gtk_fill_layout_renderer, PANGO_TYPE_RENDERER)
static void