lib/glimmer/dsl/swt/tab_item_expression.rb in glimmer-0.6.0 vs lib/glimmer/dsl/swt/tab_item_expression.rb in glimmer-0.7.0
- old
+ new
@@ -16,10 +16,10 @@
initial_condition = (keyword == 'tab_item') and widget?(parent)
if initial_condition
if parent.swt_widget.is_a?(TabFolder)
return true
else
- Glimmer.logger&.error "tab_item widget may only be used directly under a tab_folder widget!"
+ Glimmer::Config.logger&.error "tab_item widget may only be used directly under a tab_folder widget!"
end
end
false
end