diff options
author | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:19:50 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:32:38 +0200 |
commit | 48c6b3b4f4c7eaf99e10302d17e78838f1eac010 (patch) | |
tree | 21a4a37076ebd68f22da89be4e6d004b3f2eb6e3 /gtk/gtktextdisplay.c | |
parent | 9e486139ca3e58daddef107212bb9f734016314b (diff) | |
download | gtk+-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.c | 2 |
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 |