diff doodle/gtk/palette.d @ 132:bc5baa585b32

Updated to dmd 2.060
author David Bryant <bagnose@gmail.com>
date Thu, 02 Aug 2012 15:32:43 +0930
parents 8343c1dafac6
children 752676232e4b
line wrap: on
line diff
--- a/doodle/gtk/palette.d	Thu Jan 12 18:20:58 2012 +1030
+++ b/doodle/gtk/palette.d	Thu Aug 02 15:32:43 2012 +0930
@@ -60,7 +60,7 @@
 
     void activate(T t) {
         RadioToolButton button = _buttons[t];
-        if (!button.getActive) {
+        if (!button.getActive()) {
             button.setActive(true);
         }
     }
@@ -74,7 +74,7 @@
 
         void onClicked(ToolButton toolButton) {
             RadioToolButton button = cast(RadioToolButton)toolButton;
-            if (button.getActive) {
+            if (button.getActive()) {
                 T t = cast(T)button.getData(_indexStr);
                 _callback(t);
             }