add return code for some stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@156 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
121b75ac69
commit
68510eff6b
12 changed files with 82 additions and 17 deletions
|
|
@ -25,7 +25,7 @@ static void set_xywh(MwWidget handle) {
|
|||
NULL);
|
||||
}
|
||||
|
||||
static void create(MwWidget handle) {
|
||||
static int create(MwWidget handle) {
|
||||
MwMenu m = malloc(sizeof(*m));
|
||||
|
||||
m->name = NULL;
|
||||
|
|
@ -37,6 +37,8 @@ static void create(MwWidget handle) {
|
|||
MwSetDefault(handle);
|
||||
|
||||
set_xywh(handle);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void recursive_free(MwMenu m) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue