Changeset 1c6c3e1d in mainline for uspace/app/calculator/calculator.c
- Timestamp:
- 2023-10-22T17:55:33Z (14 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 350ec74
- Parents:
- 315d487 (diff), 133461c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/calculator/calculator.c
r315d487 r1c6c3e1d 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * Copyright (c) 2016 Martin Decky 4 4 * All rights reserved. … … 46 46 #include <ui/entry.h> 47 47 #include <ui/fixed.h> 48 #include <ui/menu.h> 48 49 #include <ui/menubar.h> 49 #include <ui/menu .h>50 #include <ui/menudd.h> 50 51 #include <ui/menuentry.h> 51 52 #include <ui/pbutton.h> … … 896 897 } 897 898 898 rc = ui_menu_ create(calc.menubar, "~F~ile", &mfile);899 rc = ui_menu_dd_create(calc.menubar, "~F~ile", NULL, &mfile); 899 900 if (rc != EOK) { 900 901 printf("Error creating menu.\n"); … … 910 911 ui_menu_entry_set_cb(mexit, calc_file_exit, (void *) &calc); 911 912 912 rc = ui_menu_ create(calc.menubar, "~E~dit", &medit);913 rc = ui_menu_dd_create(calc.menubar, "~E~dit", NULL, &medit); 913 914 if (rc != EOK) { 914 915 printf("Error creating menu.\n");
Note:
See TracChangeset
for help on using the changeset viewer.