aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-06-25 18:17:01 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-06-25 18:17:01 -0700
commit513fa2da06fed3ad35f95ebb3c65d5b72ad900fc (patch)
tree222ce842a9992a4b6e0b6bdec976d186ad514359 /shell/shell.c
parenta70fda10d901393baf7cb843f886d1238aabca31 (diff)
ShellNote should be colored in GTK+3 builds
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 6d2b56bb..438c2ffb 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -362,12 +362,8 @@ static ShellNote *note_new(void)
gtk_container_add(GTK_CONTAINER(note->event_box), border_box);
gtk_widget_show(border_box);
-#if GTK_CHECK_VERSION(3, 0, 0)
- /* TODO:GTK3 css-based style */
-#else
gtk_widget_modify_bg(border_box, GTK_STATE_NORMAL, &info_default_fill_color);
gtk_widget_modify_bg(note->event_box, GTK_STATE_NORMAL, &info_default_border_color);
-#endif
icon = icon_cache_get_image("close.png");
gtk_widget_show(icon);