diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-03-23 22:15:12 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-03-25 18:11:13 -0400 |
| commit | 4f280356392118b02f30bd961bd9b11cf5b81651 (patch) | |
| tree | c1cfced125cc50481fda1f2309a90aea726cdc92 | |
| parent | 1861350f55775a522d1c7f4cf67b71bf3cb7aa6b (diff) | |
make enum values match numbers in the spec, and make the .desktop file reader function take a list of paths to look for the file in
| -rw-r--r-- | obt/ddfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/obt/ddfile.h b/obt/ddfile.h index 2fc2f100..5d5cf8db 100644 --- a/obt/ddfile.h +++ b/obt/ddfile.h @@ -24,9 +24,9 @@ G_BEGIN_DECLS typedef enum { - OBT_DDFILE_TYPE_APPLICATION = 0, - OBT_DDFILE_TYPE_LINK = 1, - OBT_DDFILE_TYPE_DIRECTORY = 2 + OBT_DDFILE_TYPE_APPLICATION = 1, + OBT_DDFILE_TYPE_LINK = 2, + OBT_DDFILE_TYPE_DIRECTORY = 3 } ObtDDFileType; typedef enum { @@ -48,7 +48,7 @@ typedef enum { typedef struct _ObtDDFile ObtDDFile; -ObtDDFile* obt_ddfile_new_from_file(const gchar *name); +ObtDDFile* obt_ddfile_new_from_file(const gchar *name, GSList *paths); void obt_ddfile_ref(ObtDDFile *e); void obt_ddfile_unref(ObtDDFile *e); |
