summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-01-30 23:47:09 +0000
committerTim Janik <timj@src.gnome.org>1998-01-30 23:47:09 +0000
commit4af33fa24df69f335f07f43e5904a766c8d8ec97 (patch)
treeccc23ba16332f44ae45418f6cf9580036c4c76da /gtk/gtkcurve.c
parentee7038f9fddd0213c65474e5d59609107caed7c6 (diff)
downloadgtk+-4af33fa24df69f335f07f43e5904a766c8d8ec97.tar.gz
hm, initital refcount revolution commit ;)
still some gnits left, but keep working on it ;) -timj
Diffstat (limited to 'gtk/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index a606dbd806..3e1d74207f 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -45,7 +45,7 @@ static gint curve_type_changed_signal = 0;
/* forward declarations: */
static void gtk_curve_class_init (GtkCurveClass *class);
static void gtk_curve_init (GtkCurve *curve);
-static void gtk_curve_destroy (GtkObject *object);
+static void gtk_curve_finalize (GtkObject *object);
guint
@@ -86,7 +86,7 @@ gtk_curve_class_init (GtkCurveClass *class)
gtk_signal_default_marshaller, GTK_TYPE_NONE, 0);
gtk_object_class_add_signals (object_class, &curve_type_changed_signal, 1);
- object_class->destroy = gtk_curve_destroy;
+ object_class->finalize = gtk_curve_finalize;
}
static void
@@ -842,7 +842,7 @@ gtk_curve_new (void)
}
static void
-gtk_curve_destroy (GtkObject *object)
+gtk_curve_finalize (GtkObject *object)
{
GtkCurve *curve;
@@ -857,6 +857,5 @@ gtk_curve_destroy (GtkObject *object)
if (curve->ctlpoint)
g_free (curve->ctlpoint);
- if (GTK_OBJECT_CLASS (parent_class)->destroy)
- (*GTK_OBJECT_CLASS (parent_class)->destroy) (object);
+ (*GTK_OBJECT_CLASS (parent_class)->finalize) (object);
}