From fc669ede379110f649bd286b76900418c22c2738 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 16 Jan 2021 14:43:32 +1100 Subject: [PATCH] Tidy up debug output --- v2/internal/ffenestri/traymenustore_darwin.c | 3 --- v2/test/kitchensink/go.sum | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/v2/internal/ffenestri/traymenustore_darwin.c b/v2/internal/ffenestri/traymenustore_darwin.c index 6c451a47..89005886 100644 --- a/v2/internal/ffenestri/traymenustore_darwin.c +++ b/v2/internal/ffenestri/traymenustore_darwin.c @@ -97,14 +97,12 @@ void UpdateTrayMenuLabelInStore(TrayMenuStore* store, const char* JSON) { void UpdateTrayMenuInStore(TrayMenuStore* store, const char* menuJSON) { TrayMenu* newMenu = NewTrayMenu(menuJSON); - DumpTrayMenu(newMenu); // Get the current menu TrayMenu *currentMenu = GetTrayMenuFromStore(store, newMenu->ID); // If we don't have a menu, we create one if ( currentMenu == NULL ) { - printf(" currentMenu = NULL\n"); // Store the new menu hashmap_put(&store->trayMenuMap, newMenu->ID, strlen(newMenu->ID), newMenu); @@ -112,7 +110,6 @@ void UpdateTrayMenuInStore(TrayMenuStore* store, const char* menuJSON) { ShowTrayMenu(newMenu); return; } - DumpTrayMenu(currentMenu); // Save the status bar reference newMenu->statusbaritem = currentMenu->statusbaritem; diff --git a/v2/test/kitchensink/go.sum b/v2/test/kitchensink/go.sum index 2c20aeaa..1fcb6d5d 100644 --- a/v2/test/kitchensink/go.sum +++ b/v2/test/kitchensink/go.sum @@ -58,6 +58,7 @@ github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646/go.mod h1:jpp1/29i3P1S github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=