From 513fa2da06fed3ad35f95ebb3c65d5b72ad900fc Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Tue, 25 Jun 2019 18:17:01 -0700 Subject: ShellNote should be colored in GTK+3 builds --- shell/shell.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shell/shell.c') 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); -- cgit v1.2.3