diff options
Diffstat (limited to 'gtk/gtkvscale.c')
-rw-r--r-- | gtk/gtkvscale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c index 490b383fb..0432e83ee 100644 --- a/gtk/gtkvscale.c +++ b/gtk/gtkvscale.c @@ -326,9 +326,9 @@ gtk_vscale_size_request (GtkWidget *widget, scale = GTK_SCALE (widget); requisition->width = (RANGE_CLASS (scale)->slider_width + - widget->style->klass->ythickness * 2); + widget->style->ythickness * 2); requisition->height = (SCALE_CLASS (scale)->slider_length + - widget->style->klass->xthickness) * 2; + widget->style->xthickness) * 2; if (scale->draw_value) { @@ -396,7 +396,7 @@ gtk_vscale_pos_trough (GtkVScale *vscale, scale = GTK_SCALE (vscale); *w = (RANGE_CLASS (scale)->slider_width + - widget->style->klass->xthickness * 2); + widget->style->xthickness * 2); *h = widget->allocation.height; if (scale->draw_value) @@ -590,7 +590,7 @@ gtk_vscale_draw_value (GtkScale *scale) GTK_WIDGET (scale)->style->fg_gc [state_type], x, y, layout); - pango_layout_unref (layout); + g_object_unref (G_OBJECT (layout)); } } |