editres: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Apr 9 14:43:07 UTC 2023


 actions.c |   26 ++++++----
 editres.c |   12 ++--
 handler.c |   42 ++++++++--------
 svpopup.c |   42 ++++++++--------
 utils.c   |    4 -
 widgets.c |  156 +++++++++++++++++++++++++++++++-------------------------------
 wtree.c   |   12 ++--
 7 files changed, 150 insertions(+), 144 deletions(-)

New commits:
commit 6cb5bf04ccdfadef8f7acd81b41b15f0cf053c5f
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 14:48:42 2023 +0200

    Fix shadowing box
    
    widgets.c: In function ‘CreateResourceBoxWidgets’:
    widgets.c:473:18: warning: declaration of ‘box’ shadows a global declaration [-Wshadow]
         Widget pane, box, button, viewport, pane_child;
    
    rename box to rbox

commit c10de6efe50fcd7be57e79274889d11e6845f82e
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 13:09:26 2023 +0200

    fix initialization discards const
    
    FIX warnings like:
    
        initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
       {"debug", "Debug", XtRBoolean, sizeof(Boolean),

commit 316df270e14ce13a3a631cdfd383a5a367fe14b0
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 13:03:39 2023 +0200

    stop const warnings
    
    fix  passing argument 1 of ‘RebuildMenusAndLabel’ discards ‘const’ qualifier
    from pointer target type
    only user is in comm.c

commit 417f15e05e739e171b36dfa643b6418dc07ab6bc
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 12:58:05 2023 +0200

    stop const warnings
    
        most warnings occur because XtSetArg() needs (String) aka char *
        and the "string" is const char * these days.

commit ce2c6484fec8055480cfaf99137bc9922d44373a
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 12:53:11 2023 +0200

    stop const warnings
    
       The warning occurs because XtSetArg() needs (String) aka char *
        and the "string" is const char * these days.

commit d3409224807c5d779162f92465d58120c77b7840
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 12:44:06 2023 +0200

    stop const warnings
    
        The warning occurs because XtSetArg() needs (String) aka char *
        and the "string" is const char * these days.

commit 07a58318ccd96c644b2748c57b285d5779fed0a8
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 12:38:09 2023 +0200

    stop const warnings
    
    The warning occurs because XtSetArg() needs (String) aka char *
    and the "string" is const char * these days.

commit ce35acb5b2a0892863fc63a1315a60cbbb7f553f
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 12:17:22 2023 +0200

    FIX some const warnings
    
    make type const char * to avoid warning

commit 16df4dd92868ebc9663aae575df7dc3ce6e73797
Author: Walter Harms <xt4ever at web.de>
Date:   Fri Apr 7 11:57:37 2023 +0200

    FIX const warning
    
    getting a bunch of warnings make i had to see the import ones.
    So reduce the warnings by adding a few "const" no problem
    for internals. For externals function add some casts.



More information about the xorg-commit mailing list