From e09dd2b4dc344f56f37c69254f6fe6c304391b12 Mon Sep 17 00:00:00 2001 From: Hysterical Raisins Date: Tue, 9 Jul 2019 15:04:49 +0200 Subject: [PATCH] Disable and mark for expiry on July 51 --- eek/eek-theme-node.c | 4 ++-- eekboard/eekboard-context-service.c | 18 +++++++++--------- eekboard/key-emitter.c | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/eek/eek-theme-node.c b/eek/eek-theme-node.c index 51e2c6ed..1550a853 100644 --- a/eek/eek-theme-node.c +++ b/eek/eek-theme-node.c @@ -89,11 +89,11 @@ static void eek_theme_node_finalize (GObject *object); static const EekColor BLACK_COLOR = { 0, 0, 0, 0xff }; static const EekColor TRANSPARENT_COLOR = { 0, 0, 0, 0 }; -#if 0 // ===== @raisins: -Wunused-const-variable ===== +#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-const-variable ===== static const EekColor DEFAULT_SUCCESS_COLOR = { 0x4e, 0x9a, 0x06, 0xff }; static const EekColor DEFAULT_WARNING_COLOR = { 0xf5, 0x79, 0x3e, 0xff }; static const EekColor DEFAULT_ERROR_COLOR = { 0xcc, 0x00, 0x00, 0xff }; -#endif // ===== @raisins: -Wunused-const-variable ===== +#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-const-variable ===== static void eek_theme_node_init (EekThemeNode *self) diff --git a/eekboard/eekboard-context-service.c b/eekboard/eekboard-context-service.c index f391d7f9..00121f4b 100644 --- a/eekboard/eekboard-context-service.c +++ b/eekboard/eekboard-context-service.c @@ -1,7 +1,7 @@ -/* +/* * Copyright (C) 2010-2011 Daiki Ueno * Copyright (C) 2010-2011 Red Hat, Inc. - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or @@ -84,9 +84,9 @@ struct _EekboardContextServicePrivate { G_DEFINE_TYPE (EekboardContextService, eekboard_context_service, G_TYPE_OBJECT); -#if 0 // ===== @raisins: -Wunused-variable ===== +#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable ===== static Display *display = NULL; -#endif // ===== @raisins: -Wunused-variable ===== +#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable ===== static EekKeyboard * eekboard_context_service_real_create_keyboard (EekboardContextService *self, @@ -485,7 +485,7 @@ eekboard_context_service_init (EekboardContextService *self) } } -#if 0 // ===== @raisins: -Wunused-function ===== +#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function ===== static gboolean on_repeat_timeout (EekboardContextService *context); static gboolean @@ -504,16 +504,16 @@ on_repeat_timeout (EekboardContextService *context) return FALSE; } -#endif // ===== @raisins: -Wunused-function ===== +#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function ===== -#if 0 // ===== @raisins: -Wunused-function ===== +#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function ===== static gboolean on_repeat_timeout_init (EekboardContextService *context) { /* FIXME: clear modifiers for further key repeat; better not depend on modifier behavior is LATCH */ eek_keyboard_set_modifiers (context->priv->keyboard, 0); - + /* reschedule repeat timeout only when "repeat" option is set */ /* TODO: org.gnome.desktop.input-sources doesn't have repeat info. * In addition, repeat is only useful when the keyboard is not in text @@ -532,7 +532,7 @@ on_repeat_timeout_init (EekboardContextService *context) return FALSE; } -#endif // ===== @raisins: -Wunused-function ===== +#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function ===== /** * eekboard_context_service_enable: diff --git a/eekboard/key-emitter.c b/eekboard/key-emitter.c index 31d79752..5b22bd5d 100644 --- a/eekboard/key-emitter.c +++ b/eekboard/key-emitter.c @@ -78,12 +78,12 @@ replace_keycode (SeatEmitter *emitter, guint keycode, guint *keysym) { -#if 0 // ===== @raisins: -Wunused-variable ===== +#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable ===== GdkDisplay *display = gdk_display_get_default (); //Display *xdisplay = GDK_DISPLAY_XDISPLAY (display); guint old_keysym; int keysyms_per_keycode; -#endif // ===== @raisins: -Wunused-variable ===== +#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable ===== return TRUE; // FIXME: no xkb allocated at the moment, pretending all is fine