diff options
author | Pablo Barciela <[email protected]> | 2019-07-20 18:24:39 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-07-23 03:08:02 +0000 |
commit | c8502b890d0e308456b1b22cf8c6cbe396ed8545 (patch) | |
tree | 9468dc5ebade7c438c68a19e039b767333243da8 /libmate-desktop/mate-colorsel.c | |
parent | 750282362f351551af3fda094f53ecbf6718123f (diff) | |
download | mate-desktop-c8502b890d0e308456b1b22cf8c6cbe396ed8545.tar.bz2 mate-desktop-c8502b890d0e308456b1b22cf8c6cbe396ed8545.tar.xz |
mate-colorsel: avoid deprecated 'gtk_hscale_new'
Diffstat (limited to 'libmate-desktop/mate-colorsel.c')
-rw-r--r-- | libmate-desktop/mate-colorsel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |