From 7f1429812615ec7780176cf36ccfa539fe2ba0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 21 Dec 2012 12:04:19 +0100 Subject: [PATCH] prefs: Use an unsigned value for META_KEYBINDING_ACTION_NONE Keybinding actions are unsigned, so it is a tad bit odd to use a negative value for NONE and rely on implicit casting. Use 0 instead. https://bugzilla.gnome.org/show_bug.cgi?id=643111 --- src/meta/prefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/prefs.h b/src/meta/prefs.h index 99a9be7ae..e2645090c 100644 --- a/src/meta/prefs.h +++ b/src/meta/prefs.h @@ -145,7 +145,7 @@ void meta_prefs_set_ignore_request_hide_titlebar (gboolean whether); */ typedef enum _MetaKeyBindingAction { - META_KEYBINDING_ACTION_NONE = -1, + META_KEYBINDING_ACTION_NONE, META_KEYBINDING_ACTION_WORKSPACE_1, META_KEYBINDING_ACTION_WORKSPACE_2, META_KEYBINDING_ACTION_WORKSPACE_3,