git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmenu: can now associate custom cats/subcats to an app; special exception -- you...
[pandora-libraries.git]
/
minimenu
/
freedesktop_cats.c
diff --git
a/minimenu/freedesktop_cats.c
b/minimenu/freedesktop_cats.c
index
087a105
..
f4e7e78
100644
(file)
--- a/
minimenu/freedesktop_cats.c
+++ b/
minimenu/freedesktop_cats.c
@@
-203,6
+203,16
@@
freedesktop_cat_t *freedesktop_category_query ( char *name, char *parentcatname
return ( NULL );
}
+unsigned int freedesktop_count ( void ) {
+ unsigned int i = 0;
+
+ while ( freedesktop_complete [ i ].cat ) {
+ i++;
+ }
+
+ return ( i );
+}
+
#if 0
int main ( void ) {