comparison gtk/dw.c @ 2284:3361ce6070ce

Add DW_FEATURE_TASK_BAR to the feature tests, for taskbar icon support. Not having this earlier was probably an oversight, but added it because GTK4 removes the widget that allowed this support.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 03 Feb 2021 21:44:15 +0000
parents 14a1e07e8f4e
children d0f884083c63
comparison
equal deleted inserted replaced
2283:0c88059df8e9 2284:3361ce6070ce
13979 case DW_FEATURE_NOTIFICATION: 13979 case DW_FEATURE_NOTIFICATION:
13980 #endif 13980 #endif
13981 #ifdef DW_INCLUDE_DEPRECATED 13981 #ifdef DW_INCLUDE_DEPRECATED
13982 case DW_FEATURE_MDI: 13982 case DW_FEATURE_MDI:
13983 #endif 13983 #endif
13984 #if GTK_CHECK_VERSION(2,10,0)
13985 case DW_FEATURE_TASK_BAR:
13986 #endif
13984 case DW_FEATURE_CONTAINER_STRIPE: 13987 case DW_FEATURE_CONTAINER_STRIPE:
13985 case DW_FEATURE_UTF8_UNICODE: 13988 case DW_FEATURE_UTF8_UNICODE:
13986 case DW_FEATURE_MLE_WORD_WRAP: 13989 case DW_FEATURE_MLE_WORD_WRAP:
13987 return DW_FEATURE_ENABLED; 13990 return DW_FEATURE_ENABLED;
13988 default: 13991 default:
14015 case DW_FEATURE_NOTIFICATION: 14018 case DW_FEATURE_NOTIFICATION:
14016 #endif 14019 #endif
14017 #ifdef DW_INCLUDE_DEPRECATED 14020 #ifdef DW_INCLUDE_DEPRECATED
14018 case DW_FEATURE_MDI: 14021 case DW_FEATURE_MDI:
14019 #endif 14022 #endif
14023 #if GTK_CHECK_VERSION(2,10,0)
14024 case DW_FEATURE_TASK_BAR:
14025 #endif
14020 case DW_FEATURE_CONTAINER_STRIPE: 14026 case DW_FEATURE_CONTAINER_STRIPE:
14021 case DW_FEATURE_UTF8_UNICODE: 14027 case DW_FEATURE_UTF8_UNICODE:
14022 case DW_FEATURE_MLE_WORD_WRAP: 14028 case DW_FEATURE_MLE_WORD_WRAP:
14023 return DW_ERROR_GENERAL; 14029 return DW_ERROR_GENERAL;
14024 /* These features are supported and configurable */ 14030 /* These features are supported and configurable */