aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-11 10:10:45 -0500
committerTed Gould <ted@gould.cx>2010-08-11 10:10:45 -0500
commit26d50dfef1ddbc5cda58cb221501c6b5654b36b5 (patch)
tree9efa8063f6d6d51189294bfe5a2f94811110c70d /src
parentfd956d9ac1489d8dc12827df67e9a201da43bc9d (diff)
downloadlibayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.tar.gz
libayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.tar.bz2
libayatana-appindicator-26d50dfef1ddbc5cda58cb221501c6b5654b36b5.zip
Switching to be more opaque, but also more sane.
Diffstat (limited to 'src')
-rw-r--r--src/generate-id.c2
-rw-r--r--src/generate-id.h3
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__ */