diff options
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r-- | gtk/gtkscale.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 073b6ef2a6..b7f902ba61 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -25,7 +25,6 @@ static void gtk_scale_class_init (GtkScaleClass *klass); static void gtk_scale_init (GtkScale *scale); -static void gtk_scale_destroy (GtkObject *object); static void gtk_scale_draw_background (GtkRange *range); @@ -67,8 +66,6 @@ gtk_scale_class_init (GtkScaleClass *class) parent_class = gtk_type_class (gtk_range_get_type ()); - object_class->destroy = gtk_scale_destroy; - range_class->draw_background = gtk_scale_draw_background; class->slider_length = 31; @@ -207,20 +204,6 @@ gtk_scale_draw_value (GtkScale *scale) static void -gtk_scale_destroy (GtkObject *object) -{ - GtkRange *range; - - g_return_if_fail (object != NULL); - g_return_if_fail (GTK_IS_SCALE (object)); - - range = GTK_RANGE (object); - - if (GTK_OBJECT_CLASS (parent_class)->destroy) - (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); -} - -static void gtk_scale_draw_background (GtkRange *range) { g_return_if_fail (range != NULL); |