Compare commits
2 Commits
master
...
silence-wa
| Author | SHA1 | Date | |
|---|---|---|---|
| e09dd2b4dc | |||
| 5235b47827 |
@ -89,9 +89,11 @@ static void eek_theme_node_finalize (GObject *object);
|
|||||||
|
|
||||||
static const EekColor BLACK_COLOR = { 0, 0, 0, 0xff };
|
static const EekColor BLACK_COLOR = { 0, 0, 0, 0xff };
|
||||||
static const EekColor TRANSPARENT_COLOR = { 0, 0, 0, 0 };
|
static const EekColor TRANSPARENT_COLOR = { 0, 0, 0, 0 };
|
||||||
|
#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_SUCCESS_COLOR = { 0x4e, 0x9a, 0x06, 0xff };
|
||||||
static const EekColor DEFAULT_WARNING_COLOR = { 0xf5, 0x79, 0x3e, 0xff };
|
static const EekColor DEFAULT_WARNING_COLOR = { 0xf5, 0x79, 0x3e, 0xff };
|
||||||
static const EekColor DEFAULT_ERROR_COLOR = { 0xcc, 0x00, 0x00, 0xff };
|
static const EekColor DEFAULT_ERROR_COLOR = { 0xcc, 0x00, 0x00, 0xff };
|
||||||
|
#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-const-variable =====
|
||||||
|
|
||||||
static void
|
static void
|
||||||
eek_theme_node_init (EekThemeNode *self)
|
eek_theme_node_init (EekThemeNode *self)
|
||||||
|
|||||||
@ -84,7 +84,9 @@ struct _EekboardContextServicePrivate {
|
|||||||
|
|
||||||
G_DEFINE_TYPE (EekboardContextService, eekboard_context_service, G_TYPE_OBJECT);
|
G_DEFINE_TYPE (EekboardContextService, eekboard_context_service, G_TYPE_OBJECT);
|
||||||
|
|
||||||
|
#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable =====
|
||||||
static Display *display = NULL;
|
static Display *display = NULL;
|
||||||
|
#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable =====
|
||||||
|
|
||||||
static EekKeyboard *
|
static EekKeyboard *
|
||||||
eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
||||||
@ -483,6 +485,7 @@ eekboard_context_service_init (EekboardContextService *self)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function =====
|
||||||
static gboolean on_repeat_timeout (EekboardContextService *context);
|
static gboolean on_repeat_timeout (EekboardContextService *context);
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -501,7 +504,9 @@ on_repeat_timeout (EekboardContextService *context)
|
|||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function =====
|
||||||
|
|
||||||
|
#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function =====
|
||||||
static gboolean
|
static gboolean
|
||||||
on_repeat_timeout_init (EekboardContextService *context)
|
on_repeat_timeout_init (EekboardContextService *context)
|
||||||
{
|
{
|
||||||
@ -527,6 +532,7 @@ on_repeat_timeout_init (EekboardContextService *context)
|
|||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-function =====
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* eekboard_context_service_enable:
|
* eekboard_context_service_enable:
|
||||||
|
|||||||
@ -78,12 +78,15 @@ replace_keycode (SeatEmitter *emitter,
|
|||||||
guint keycode,
|
guint keycode,
|
||||||
guint *keysym)
|
guint *keysym)
|
||||||
{
|
{
|
||||||
|
#if 0 // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable =====
|
||||||
GdkDisplay *display = gdk_display_get_default ();
|
GdkDisplay *display = gdk_display_get_default ();
|
||||||
//Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
|
//Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
|
||||||
guint old_keysym;
|
guint old_keysym;
|
||||||
int keysyms_per_keycode;
|
int keysyms_per_keycode;
|
||||||
KeySym *syms;
|
#endif // ===== REMOVAL NOTICE ==== expires by: 2019-08-20 -Wunused-variable =====
|
||||||
return TRUE; // FIXME: no xkb allocated at the moment, pretending all is fine
|
|
||||||
|
return TRUE; // FIXME: no xkb allocated at the moment, pretending all is fine
|
||||||
|
|
||||||
g_return_val_if_fail (emitter->xkb->min_key_code <= keycode &&
|
g_return_val_if_fail (emitter->xkb->min_key_code <= keycode &&
|
||||||
keycode <= emitter->xkb->max_key_code,
|
keycode <= emitter->xkb->max_key_code,
|
||||||
FALSE);
|
FALSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user