summaryrefslogtreecommitdiff
path: root/src/themes/coco
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/coco')
-rw-r--r--src/themes/coco/coco-theme.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 2825500..d4747f2 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -585,11 +585,7 @@ add_notification_action(GtkWindow *nw, const char *text, const char *key,
g_assert(windata != NULL);
-#if GTK_CHECK_VERSION(3, 0, 0)
- if (gtk_widget_get_visible(windata->actions_box))
-#else
- if (!GTK_WIDGET_VISIBLE(windata->actions_box))
-#endif
+ if (!gtk_widget_get_visible(windata->actions_box))
{
GtkWidget *alignment;