Use 0 as EEK_INVALID_KEYCODE/KEYSYM instead of -1.

This commit is contained in:
Daiki Ueno
2011-02-01 18:27:13 +09:00
parent fd6035c54a
commit 68b0d64fee
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ G_BEGIN_DECLS
*
* Pseudo keysym used for error reporting.
*/
#define EEK_INVALID_KEYSYM ((guint)(-1))
#define EEK_INVALID_KEYSYM (0)
#define EEK_TYPE_KEYSYM (eek_keysym_get_type())
#define EEK_KEYSYM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEK_TYPE_KEYSYM, EekKeysym))