summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-05-03 18:31:41 +0200
committerrodarima <rodarima@gmail.com>2024-05-03 22:27:09 +0200
commite9b934603a85e64fc23bf071664236738c9d8278 (patch)
tree043ebc8d97346090afb58a423939281d8e56e6a5
parenta8dcc38b634530772dc715dedc3c511cec543cef (diff)
Disable "Layout::resizeIdle calls" message
It is always shown, even when messages are turned of by "show_msg=NO", as the preferences are not available to dw. For now we disable it permanently by using the _MSG() macro. Reported-by: Kevin Koster <dillo@ombertech.com> See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/PPNR5FTO3YFDVAQCM4SDNVAF22JEV22W/
-rw-r--r--dw/layout.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 09e27cdb..a6b77aaf 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -2,6 +2,7 @@
* Dillo Widget
*
* Copyright 2005-2007 Sebastian Geerken <sgeerken@dillo.org>
+ * Copyright 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -873,7 +874,7 @@ void Layout::resizeIdle ()
// Layout::queueResize(), where resizeIdleId is indeed checked.)
while (resizeIdleId != -1) {
- printf ("Layout::resizeIdle calls = %d\n", ++calls);
+ _MSG("Layout::resizeIdle calls = %d\n", ++calls);
for (typed::Iterator <Widget> it = queueResizeList->iterator();
it.hasNext (); ) {