Changeset 95c675b in mainline for uspace/lib/gui/window.c
- Timestamp:
- 2017-10-17T13:11:35Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (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
-
uspace/lib/gui/window.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rdbf32b1 r95c675b 677 677 } 678 678 679 int window_set_caption(window_t *win, const char *caption) 680 { 681 char *cap; 682 683 if (caption == NULL) { 684 win->caption = NULL; 685 } else { 686 cap = str_dup(caption); 687 if (cap == NULL) 688 return ENOMEM; 689 free(win->caption); 690 win->caption = cap; 691 } 692 693 win->is_focused = false; 694 handle_refresh(win); 695 696 return EOK; 697 } 698 679 699 void window_refresh(window_t *win) 680 700 {
Note:
See TracChangeset
for help on using the changeset viewer.
