fix warning
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
149f99622a
commit
143167761c
1 changed files with 2 additions and 1 deletions
|
|
@ -313,7 +313,6 @@ static void resize(MwWidget handle) {
|
||||||
static void children_update(MwWidget handle, MwWidget child, int new_child) {
|
static void children_update(MwWidget handle, MwWidget child, int new_child) {
|
||||||
MwTab t = handle->internal;
|
MwTab t = handle->internal;
|
||||||
int v = MwGetInteger(handle, MwNvalue);
|
int v = MwGetInteger(handle, MwNvalue);
|
||||||
int c = v;
|
|
||||||
int n;
|
int n;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
@ -345,6 +344,8 @@ static void children_update(MwWidget handle, MwWidget child, int new_child) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void children_prop_change(MwWidget handle, MwWidget child, const char* key) {
|
static void children_prop_change(MwWidget handle, MwWidget child, const char* key) {
|
||||||
|
(void)child;
|
||||||
|
|
||||||
if(strcmp(key, MwNiconPixmap) == 0) {
|
if(strcmp(key, MwNiconPixmap) == 0) {
|
||||||
MwForceRender(handle);
|
MwForceRender(handle);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue