From ac27abe6850d3b27abe7d2fe1fe86f9fd6bf0599 Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Thu, 20 Aug 2009 03:27:55 +0200 Subject: [PATCH] [AdgADim] Updated to match the new AdgDim Changed the API names accordling to the previous commit. --- adg/adg-adim.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/adg/adg-adim.c b/adg/adg-adim.c index 69fbe471..c3d8b90a 100644 --- a/adg/adg-adim.c +++ b/adg/adg-adim.c @@ -36,7 +36,6 @@ #include "adg-adim.h" #include "adg-adim-private.h" #include "adg-container.h" -#include "adg-util.h" #include "adg-intl.h" @@ -58,7 +57,7 @@ static void set_property (GObject *object, GParamSpec *pspec); static gboolean render (AdgEntity *entity, cairo_t *cr); -static gchar * default_quote (AdgDim *dim); +static gchar * default_value (AdgDim *dim); static void set_angle1 (AdgADim *adim, gdouble angle); static void set_angle2 (AdgADim *adim, @@ -88,7 +87,7 @@ adg_adim_class_init(AdgADimClass *klass) entity_class->render = render; - dim_class->default_quote = default_quote; + dim_class->default_value = default_value; param = g_param_spec_double("angle1", P_("Angle 1"), @@ -186,7 +185,7 @@ render(AdgEntity *entity, cairo_t *cr) } static gchar * -default_quote(AdgDim *dim) +default_value(AdgDim *dim) { /* TODO */ return g_strdup("TODO"); -- 2.11.4.GIT