mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 19:22:30 +02:00
Fixed compilation warning caused by wrong parameter passed to function.
This commit is contained in:
1 parent
22ae4f5a3c
commit
a4486f0cd9
1 file changed
+2
-2
@@ -1079,7 +1079,7 @@ void WMReloadTableView(WMTableView *table)
|
|||||||
|
|
||||||
if (rows != table->rows) {
|
if (rows != table->rows) {
|
||||||
table->rows = rows;
|
table->rows = rows;
|
||||||
handleResize(table->delegate, table->view);
|
handleResize(table->view->delegate, table->view);
|
||||||
} else {
|
} else {
|
||||||
repaintTable(table);
|
repaintTable(table);
|
||||||
}
|
}
|
||||||
@@ -1229,5 +1229,5 @@ static void rearrangeHeader(WMTableView *table)
|
|||||||
|
|
||||||
table->tableWidth = width + 1;
|
table->tableWidth = width + 1;
|
||||||
|
|
||||||
handleResize(table->delegate, table->view);
|
handleResize(table->view->delegate, table->view);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user