From c8502b890d0e308456b1b22cf8c6cbe396ed8545 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 20 Jul 2019 18:24:39 +0200 Subject: mate-colorsel: avoid deprecated 'gtk_hscale_new' --- libmate-desktop/mate-colorsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 05a6fd8..2d68d37 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -398,7 +398,7 @@ mate_color_selection_init (MateColorSelection *colorsel) gtk_grid_attach (GTK_GRID (grid), priv->opacity_label, 0, 4, 1, 1); adjust = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 255.0, 1.0, 1.0, 0.0)); g_object_set_data (G_OBJECT (adjust), "COLORSEL", colorsel); - priv->opacity_slider = gtk_hscale_new (adjust); + priv->opacity_slider = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, adjust); gtk_widget_set_tooltip_text (priv->opacity_slider, _("Transparency of the color.")); gtk_label_set_mnemonic_widget (GTK_LABEL (priv->opacity_label), -- cgit v1.2.1