Changeset 95a9cbc in mainline for uspace/lib/ui/src/menuentry.c


Ignore:
Timestamp:
2021-04-09T22:41:22Z (4 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d65accb
Parents:
1746ede
git-author:
Jiri Svoboda <jiri@…> (2021-04-09 22:01:35)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

UI menu unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/menuentry.c

    r1746ede r95a9cbc  
    286286
    287287                /* Call back */
    288                 if (mentry->cb != NULL)
    289                         mentry->cb(mentry, mentry->arg);
    290         }
     288                ui_menu_entry_cb(mentry);
     289        }
     290}
     291
     292/** Call menu entry callback.
     293 *
     294 * @param mentry Menu entry
     295 */
     296void ui_menu_entry_cb(ui_menu_entry_t *mentry)
     297{
     298        if (mentry->cb != NULL)
     299                mentry->cb(mentry, mentry->arg);
    291300}
    292301
Note: See TracChangeset for help on using the changeset viewer.