summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-12 21:24:58 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-12 21:25:17 +0200
commit9060a1cde043fe75d28b4dc620b5e62d8baff14f (patch)
treeae4002d606f6a6bf646c0fc934e7dc333e08fc4f
parentda62f092258e313bbd28745a6e32e6d8117f4aa3 (diff)
Cleanup
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/ui/widget.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03fdb929..b385615d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -289,8 +289,8 @@ if (APPLE)
289 set_target_properties (app PROPERTIES 289 set_target_properties (app PROPERTIES
290 MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/res/iOSBundleInfo.plist.in" 290 MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/res/iOSBundleInfo.plist.in"
291 MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}" 291 MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}"
292 XCODE_ATTRIBUTE_SKIP_INSTALL "NO" 292 XCODE_ATTRIBUTE_SKIP_INSTALL "NO"
293 XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)" 293 XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)"
294 XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2" 294 XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2"
295 XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon" 295 XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon"
296 MACOSX_BUNDLE_ICON_FILE "AppIcon" 296 MACOSX_BUNDLE_ICON_FILE "AppIcon"
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
109void deinit_Widget(iWidget *d) { 109void 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
861void draw_Widget(const iWidget *d) { 861void 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
866iAny *addChild_Widget(iWidget *d, iAnyObject *child) { 866iAny *addChild_Widget(iWidget *d, iAnyObject *child) {