mirror of
https://github.com/0intro/wmii
synced 2025-02-09 10:54:57 +03:00
made destroy_tag static
This commit is contained in:
parent
2851ce5b02
commit
4952030390
@ -36,15 +36,9 @@ alloc_tag(char *name)
|
||||
return t;
|
||||
}
|
||||
|
||||
char *
|
||||
static void
|
||||
destroy_tag(Tag *t)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for(i = 0; i < t->narea; i++)
|
||||
if(t->area[i]->nframe)
|
||||
return "tag not empty";
|
||||
|
||||
while(t->narea)
|
||||
destroy_area(t->area[0]);
|
||||
|
||||
@ -54,7 +48,6 @@ destroy_tag(Tag *t)
|
||||
sel = 0;
|
||||
|
||||
free(t);
|
||||
return nil;
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -296,7 +296,6 @@ void match_tags(Client *c);
|
||||
|
||||
/* tag.c */
|
||||
Tag *alloc_tag(char *name);
|
||||
char *destroy_tag(Tag *t);
|
||||
void focus_tag(Tag *t);
|
||||
XRectangle *rectangles(Tag *t, Bool isfloat, unsigned int *num);
|
||||
int tid2index(unsigned short id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user