summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2010-12-12 17:30:28 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2010-12-12 17:30:28 +0100
commitfdab244e2ee44c9d317772aa24e423a0fd4e1bb8 (patch)
tree338bf541cf7f06025bdeca6e58b3b9d9e07a0d2f
parentf9dbe12971960e35a0e5c6b701c6d83d4e199db5 (diff)
downloadlogdiag-fdab244e2ee44c9d317772aa24e423a0fd4e1bb8.tar.gz
logdiag-fdab244e2ee44c9d317772aa24e423a0fd4e1bb8.tar.xz
logdiag-fdab244e2ee44c9d317772aa24e423a0fd4e1bb8.zip
Rename local LdCanvas methods.
Use a "real" prefix, as GTK+ does.
-rw-r--r--src/ld-canvas.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ld-canvas.c b/src/ld-canvas.c
index 3bd9401..029be25 100644
--- a/src/ld-canvas.c
+++ b/src/ld-canvas.c
@@ -93,7 +93,7 @@ static void ld_canvas_finalize (GObject *gobject);
static void on_adjustment_value_changed
(GtkAdjustment *adjustment, LdCanvas *self);
-static void ld_canvas_set_scroll_adjustments
+static void ld_canvas_real_set_scroll_adjustments
(LdCanvas *self, GtkAdjustment *horizontal, GtkAdjustment *vertical);
static gdouble ld_canvas_get_base_unit_in_px (GtkWidget *self);
@@ -123,6 +123,8 @@ ld_canvas_class_init (LdCanvasClass *klass)
object_class->set_property = ld_canvas_set_property;
object_class->finalize = ld_canvas_finalize;
+ klass->set_scroll_adjustments = ld_canvas_real_set_scroll_adjustments;
+
/**
* LdCanvas:document:
*
@@ -143,8 +145,6 @@ ld_canvas_class_init (LdCanvasClass *klass)
LD_TYPE_LIBRARY, G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_DOCUMENT, pspec);
- klass->set_scroll_adjustments = ld_canvas_set_scroll_adjustments;
-
/**
* LdCanvas::set-scroll-adjustments:
* @horizontal: The horizontal #GtkAdjustment.
@@ -186,7 +186,7 @@ ld_canvas_finalize (GObject *gobject)
self = LD_CANVAS (gobject);
- ld_canvas_set_scroll_adjustments (self, NULL, NULL);
+ ld_canvas_real_set_scroll_adjustments (self, NULL, NULL);
if (self->priv->document)
g_object_unref (self->priv->document);
@@ -238,7 +238,7 @@ ld_canvas_set_property (GObject *object, guint property_id,
}
static void
-ld_canvas_set_scroll_adjustments (LdCanvas *self,
+ld_canvas_real_set_scroll_adjustments (LdCanvas *self,
GtkAdjustment *horizontal, GtkAdjustment *vertical)
{
/* TODO: Infinite canvas. */