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
This commit is contained in:
parent
1861350f55
commit
4f28035639
1 changed files with 4 additions and 4 deletions
|
@ -24,9 +24,9 @@
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
OBT_DDFILE_TYPE_APPLICATION = 0,
|
OBT_DDFILE_TYPE_APPLICATION = 1,
|
||||||
OBT_DDFILE_TYPE_LINK = 1,
|
OBT_DDFILE_TYPE_LINK = 2,
|
||||||
OBT_DDFILE_TYPE_DIRECTORY = 2
|
OBT_DDFILE_TYPE_DIRECTORY = 3
|
||||||
} ObtDDFileType;
|
} ObtDDFileType;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
@ -48,7 +48,7 @@ typedef enum {
|
||||||
|
|
||||||
typedef struct _ObtDDFile ObtDDFile;
|
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_ref(ObtDDFile *e);
|
||||||
void obt_ddfile_unref(ObtDDFile *e);
|
void obt_ddfile_unref(ObtDDFile *e);
|
||||||
|
|
Loading…
Reference in a new issue