Changeset 5e109e1 in mainline for uspace/lib/ui/src/msgdialog.c


Ignore:
Timestamp:
2021-08-10T09:49:21Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
307d4d2, 3a4a944f
Parents:
edeee9f
git-author:
Jiri Svoboda <jiri@…> (2021-08-09 18:49:14)
git-committer:
Jiri Svoboda <jiri@…> (2021-08-10 09:49:21)
Message:

File dialog prototype

This only contains a text entry for entering the file path and
OK / Cancel buttons.

File:
1 edited

Legend:

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

    redeee9f r5e109e1  
    177177                goto error;
    178178
     179        dialog->bok = bok;
    179180        bok = NULL;
    180181
     
    187188
    188189        dialog->window = window;
    189         dialog->bok = bok;
    190190        *rdialog = dialog;
    191191        return EOK;
    192192error:
     193        if (bok != NULL)
     194                ui_pbutton_destroy(bok);
    193195        if (label != NULL)
    194196                ui_label_destroy(label);
Note: See TracChangeset for help on using the changeset viewer.