From cb41e6337e553f74dd2109aef852cae74601307e Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 21 Jan 2016 14:55:35 +0300 Subject: use gtk_image_new_from_icon_name in both GTK+ builds --- src/themes/nodoka/nodoka-theme.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/themes/nodoka/nodoka-theme.c') diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 6276ad8..fa7ae76 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -943,11 +943,7 @@ 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); -- cgit v1.2.1