Branch: refs/heads/master Author: WilliamFraser william.fraser@virgin.net Committer: WilliamFraser william.fraser@virgin.net Date: Fri, 10 Feb 2012 22:05:23 Commit: 086c41404d74ea032bee1e194a3cf81fbe1439d1 https://github.com/geany/geany-plugins/commit/086c41404d74ea032bee1e194a3cf8...
Log Message: ----------- Changed defines for enums
Modified Paths: -------------- geanymacro/src/geanymacro.c
Modified: geanymacro/src/geanymacro.c 20 files changed, 11 insertions(+), 9 deletions(-) =================================================================== @@ -159,15 +159,17 @@ };
/* define IDs for dialog buttons */ -#define GEANY_MACRO_BUTTON_CANCEL 1 -#define GEANY_MACRO_BUTTON_DELETE 2 -#define GEANY_MACRO_BUTTON_EDIT 3 -#define GEANY_MACRO_BUTTON_RERECORD 4 -#define GEANY_MACRO_BUTTON_UP 5 -#define GEANY_MACRO_BUTTON_DOWN 6 -#define GEANY_MACRO_BUTTON_ABOVE 7 -#define GEANY_MACRO_BUTTON_BELOW 8 -#define GEANY_MACRO_BUTTON_APPLY 9 +enum GEANY_MACRO_BUTTON { + GEANY_MACRO_BUTTON_CANCEL, + GEANY_MACRO_BUTTON_DELETE, + GEANY_MACRO_BUTTON_EDIT, + GEANY_MACRO_BUTTON_RERECORD, + GEANY_MACRO_BUTTON_UP, + GEANY_MACRO_BUTTON_DOWN, + GEANY_MACRO_BUTTON_ABOVE, + GEANY_MACRO_BUTTON_BELOW, + GEANY_MACRO_BUTTON_APPLY +};
GeanyPlugin *geany_plugin; GeanyData *geany_data;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org