diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index 88012ecf0c..5a3d0020b2 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -2711,8 +2711,6 @@ GTK_RULER_GET_CLASS <SUBSECTION Private> GtkRulerPrivate gtk_ruler_get_type -gtk_ruler_draw_ticks -gtk_ruler_draw_pos </SECTION> <SECTION> diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index cdec6cbb26..867f490abd 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -2864,8 +2864,6 @@ gtk_text_buffer_unregister_serialize_format #if IN_HEADER(__GTK_RULER_H__) #if IN_FILE(__GTK_RULER_C__) gtk_ruler_new -gtk_ruler_draw_pos -gtk_ruler_draw_ticks gtk_ruler_get_metric gtk_ruler_get_range gtk_ruler_get_type G_GNUC_CONST diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index 036ed1a19a..e8e45f9504 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -88,6 +88,7 @@ static gboolean gtk_ruler_motion_notify (GtkWidget *widget, static gboolean gtk_ruler_expose (GtkWidget *widget, GdkEventExpose *event); static void gtk_ruler_make_pixmap (GtkRuler *ruler); +static void gtk_ruler_draw_ticks (GtkRuler *ruler); static void gtk_ruler_real_draw_ticks (GtkRuler *ruler, cairo_t *cr); static void gtk_ruler_real_draw_pos (GtkRuler *ruler); @@ -453,7 +454,7 @@ gtk_ruler_get_range (GtkRuler *ruler, *max_size = priv->max_size; } -void +static void gtk_ruler_draw_ticks (GtkRuler *ruler) { GtkRulerPrivate *priv = ruler->priv; @@ -472,7 +473,7 @@ gtk_ruler_draw_ticks (GtkRuler *ruler) cairo_destroy (cr); } -void +static void gtk_ruler_draw_pos (GtkRuler *ruler) { g_return_if_fail (GTK_IS_RULER (ruler)); diff --git a/gtk/gtkruler.h b/gtk/gtkruler.h index 9e999e5a8b..3d9f2329f3 100644 --- a/gtk/gtkruler.h +++ b/gtk/gtkruler.h @@ -114,9 +114,6 @@ void gtk_ruler_get_range (GtkRuler *ruler, gdouble *position, gdouble *max_size); -void gtk_ruler_draw_ticks (GtkRuler *ruler); -void gtk_ruler_draw_pos (GtkRuler *ruler); - G_END_DECLS #endif /* __GTK_RULER_H__ */