Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
squeekboard
Commits
68b0d64f
Commit
68b0d64f
authored
Feb 01, 2011
by
Daiki Ueno
Browse files
Use 0 as EEK_INVALID_KEYCODE/KEYSYM instead of -1.
parent
fd6035c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
eek/eek-keysym.h
View file @
68b0d64f
...
...
@@ -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))
...
...
eek/eek-types.h
View file @
68b0d64f
...
...
@@ -96,7 +96,7 @@ typedef enum
*
* Pseudo keycode used for error reporting.
*/
#define EEK_INVALID_KEYCODE (
(guint)(-1)
)
#define EEK_INVALID_KEYCODE (
0
)
typedef
struct
_EekElement
EekElement
;
typedef
struct
_EekContainer
EekContainer
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment