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



commit 75e8c27eab037a8c877a8ea5252abc15eb4d32e6
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 22fecd4..a5e0c06 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 06aa794..f81a513 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 036ed1a..e8e45f9 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 9e999e5..3d9f232 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__ */



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