diff options
author | Ted Gould <ted@gould.cx> | 2010-08-11 10:10:45 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-11 10:10:45 -0500 |
commit | 26d50dfef1ddbc5cda58cb221501c6b5654b36b5 (patch) | |
tree | 9efa8063f6d6d51189294bfe5a2f94811110c70d | |
parent | fd956d9ac1489d8dc12827df67e9a201da43bc9d (diff) | |
download | libayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.tar.gz libayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.tar.bz2 libayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.zip |
Switching to be more opaque, but also more sane.
-rw-r--r-- | src/generate-id.c | 2 | ||||
-rw-r--r-- | src/generate-id.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/generate-id.c b/src/generate-id.c index 6855b39..79e2c26 100644 --- a/src/generate-id.c +++ b/src/generate-id.c @@ -34,7 +34,7 @@ union ordering_id_union_t { }; guint32 -generate_id (const gchar category, const gchar * id) +generate_id (const AppIndicatorCategory category, const gchar * id) { union ordering_id_union_t u; diff --git a/src/generate-id.h b/src/generate-id.h index 3713158..9d3167d 100644 --- a/src/generate-id.h +++ b/src/generate-id.h @@ -23,7 +23,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #define __GENERATE_ID_H__ #include <glib.h> +#include "app-indicator.h" -guint32 generate_id (const gchar category, const gchar * id); +guint32 generate_id (const AppIndicatorCategory category, const gchar * id); #endif /* __GENERATE_ID_H__ */ |