comparison gtk3/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 cb24daa675a2
children 58700e9fcba3
comparison
equal deleted inserted replaced
2283:0c88059df8e9 2284:3361ce6070ce
12482 case DW_FEATURE_MDI: 12482 case DW_FEATURE_MDI:
12483 #endif 12483 #endif
12484 #if !GTK_CHECK_VERSION(3,14,0) 12484 #if !GTK_CHECK_VERSION(3,14,0)
12485 case DW_FEATURE_CONTAINER_STRIPE: 12485 case DW_FEATURE_CONTAINER_STRIPE:
12486 #endif 12486 #endif
12487 case DW_FEATURE_TASK_BAR:
12487 case DW_FEATURE_UTF8_UNICODE: 12488 case DW_FEATURE_UTF8_UNICODE:
12488 case DW_FEATURE_MLE_WORD_WRAP: 12489 case DW_FEATURE_MLE_WORD_WRAP:
12489 return DW_FEATURE_ENABLED; 12490 return DW_FEATURE_ENABLED;
12490 default: 12491 default:
12491 return DW_FEATURE_UNSUPPORTED; 12492 return DW_FEATURE_UNSUPPORTED;
12523 case DW_FEATURE_MDI: 12524 case DW_FEATURE_MDI:
12524 #endif 12525 #endif
12525 #if !GTK_CHECK_VERSION(3,14,0) 12526 #if !GTK_CHECK_VERSION(3,14,0)
12526 case DW_FEATURE_CONTAINER_STRIPE: 12527 case DW_FEATURE_CONTAINER_STRIPE:
12527 #endif 12528 #endif
12529 case DW_FEATURE_TASK_BAR:
12528 case DW_FEATURE_UTF8_UNICODE: 12530 case DW_FEATURE_UTF8_UNICODE:
12529 case DW_FEATURE_MLE_WORD_WRAP: 12531 case DW_FEATURE_MLE_WORD_WRAP:
12530 return DW_ERROR_GENERAL; 12532 return DW_ERROR_GENERAL;
12531 /* These features are supported and configurable */ 12533 /* These features are supported and configurable */
12532 default: 12534 default: