summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.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/gtktextdisplay.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/gtktextdisplay.c')
-rw-r--r--gtk/gtktextdisplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index db88dcab82..24cc0ec6b4 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -121,6 +121,8 @@ struct _GtkTextRendererClass
PangoRendererClass parent_class;
};
+GType _gtk_text_renderer_get_type (void);
+
G_DEFINE_TYPE (GtkTextRenderer, _gtk_text_renderer, PANGO_TYPE_RENDERER)
static void