[gtk+/rendering-cleanup-next: 10/153] API: ruler: Remove private ruler draw functions from header



commit cd0655e42539837e64afdf3cf266b9925c0fdd5e
Author: Benjamin Otte <otte redhat com>
Date:   Thu Sep 2 17:50:41 2010 +0200

    API: ruler: Remove private ruler draw functions from header

 docs/reference/gtk/gtk3-sections.txt |    2 --
 gtk/gtk.symbols                      |    2 --
 gtk/gtkruler.c                       |    5 +++--
 gtk/gtkruler.h                       |    3 ---
 4 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index aff34e8..e059b75 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -2715,8 +2715,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 6cc9f8c..f88c1e1 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 e71aeff..085710c 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,
                                            int             width,
@@ -455,7 +456,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;
@@ -479,7 +480,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 8d6989e..e95f72d 100644
--- a/gtk/gtkruler.h
+++ b/gtk/gtkruler.h
@@ -116,9 +116,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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]