mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 05:14:13 +01:00
- put back wmksize(), wmkrange() and wmkpoint() as functions instead of macros
- fixed some compilation warnings with -Wall - some code cleanup
This commit is contained in:
@@ -381,10 +381,7 @@ WMTableView *WMCreateTableView(WMWidget *parent)
|
||||
|
||||
void WMAddTableViewColumn(WMTableView *table, WMTableColumn *column)
|
||||
{
|
||||
int width;
|
||||
int i;
|
||||
WMScreen *scr = WMWidgetScreen(table);
|
||||
int count;
|
||||
|
||||
column->table = table;
|
||||
|
||||
@@ -952,7 +949,7 @@ static void rearrangeHeader(WMTableView *table)
|
||||
int width;
|
||||
int count;
|
||||
int i;
|
||||
WMRect rect = WMGetScrollViewVisibleRect(table->scrollView);
|
||||
/*WMRect rect = WMGetScrollViewVisibleRect(table->scrollView);*/
|
||||
|
||||
width = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user