forked from AuroraMiddleware/gtk
API: ruler: Remove private ruler draw functions from header
This commit is contained in:
parent
892593eff4
commit
f5a10b05b5
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user