diff options
author | Pablo Barciela <[email protected]> | 2019-01-30 16:45:36 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-01-30 20:55:25 +0000 |
commit | 187a975d0677111d27ba3c0045e2eaa7b9325e02 (patch) | |
tree | c33f81ac8d877a1aa3b44ddf7cdc1a3c210f64d7 /src/math-display.c | |
parent | bba427d88909fab793ad95189f7fb1341acdf699 (diff) | |
download | mate-calc-187a975d0677111d27ba3c0045e2eaa7b9325e02.tar.bz2 mate-calc-187a975d0677111d27ba3c0045e2eaa7b9325e02.tar.xz |
math-display: avoid deprecated 'gtk_widget_modify_bg'
based in the gnome-calculator commit:
https://gitlab.gnome.org/GNOME/gnome-calculator/commit/a6e6a1d94a36950df8776e38218fe349a9818ae5
Diffstat (limited to 'src/math-display.c')
-rw-r--r-- | src/math-display.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/math-display.c b/src/math-display.c index c8c5d0f..d61f07f 100644 --- a/src/math-display.c +++ b/src/math-display.c @@ -326,8 +326,6 @@ create_gui(MathDisplay *display) { GtkWidget *info_view, *info_box, *main_box; PangoFontDescription *font_desc; - int i; - GtkStyle *style; main_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(display), main_box); @@ -368,10 +366,6 @@ create_gui(MathDisplay *display) display->priv->spinner = gtk_spinner_new(); gtk_box_pack_end(GTK_BOX(info_box), display->priv->spinner, FALSE, FALSE, 0); - style = gtk_widget_get_style(info_view); - for (i = 0; i < 5; i++) { - gtk_widget_modify_bg(GTK_WIDGET(display), i, &style->base[i]); - } gtk_widget_show(info_box); gtk_widget_show(info_view); |