diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-12 21:24:58 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-12 21:25:17 +0200 |
commit | 9060a1cde043fe75d28b4dc620b5e62d8baff14f (patch) | |
tree | ae4002d606f6a6bf646c0fc934e7dc333e08fc4f /src/ui/widget.c | |
parent | da62f092258e313bbd28745a6e32e6d8117f4aa3 (diff) |
Cleanup
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 4d2728b7..4d319808 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -108,10 +108,10 @@ static void visualOffsetAnimation_Widget_(void *ptr) { | |||
108 | 108 | ||
109 | void deinit_Widget(iWidget *d) { | 109 | void deinit_Widget(iWidget *d) { |
110 | releaseChildren_Widget(d); | 110 | releaseChildren_Widget(d); |
111 | #if !defined (NDEBUG) | 111 | //#if !defined (NDEBUG) |
112 | printf("widget %p (%s) deleted (on top:%d)\n", d, cstr_String(&d->id), | 112 | // printf("widget %p (%s) deleted (on top:%d)\n", d, cstr_String(&d->id), |
113 | d->flags & keepOnTop_WidgetFlag ? 1 : 0); | 113 | // d->flags & keepOnTop_WidgetFlag ? 1 : 0); |
114 | #endif | 114 | //#endif |
115 | deinit_String(&d->id); | 115 | deinit_String(&d->id); |
116 | if (d->flags & keepOnTop_WidgetFlag) { | 116 | if (d->flags & keepOnTop_WidgetFlag) { |
117 | removeAll_PtrArray(onTop_RootData_(), d); | 117 | removeAll_PtrArray(onTop_RootData_(), d); |
@@ -860,7 +860,7 @@ void drawChildren_Widget(const iWidget *d) { | |||
860 | 860 | ||
861 | void draw_Widget(const iWidget *d) { | 861 | void draw_Widget(const iWidget *d) { |
862 | drawBackground_Widget(d); | 862 | drawBackground_Widget(d); |
863 | drawChildren_Widget(d); | 863 | drawChildren_Widget(d); |
864 | } | 864 | } |
865 | 865 | ||
866 | iAny *addChild_Widget(iWidget *d, iAnyObject *child) { | 866 | iAny *addChild_Widget(iWidget *d, iAnyObject *child) { |