summaryrefslogtreecommitdiff
path: root/src/themes/slider
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/slider')
-rw-r--r--src/themes/slider/theme.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c
index f8cf40c..f0a1d81 100644
--- a/src/themes/slider/theme.c
+++ b/src/themes/slider/theme.c
@@ -723,7 +723,11 @@ GtkWindow* create_notification(UrlClickedCb url_clicked)
atk_object_set_name(atkobj, "");
atk_object_set_description(atkobj, "Closes the notification.");
+#if GTK_CHECK_VERSION (3, 10, 0)
+ image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU);
+#else
image = gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
+#endif
gtk_widget_show(image);
gtk_container_add(GTK_CONTAINER(close_button), image);