[libdazzle] shortcuts: remove unused function



commit d0e12ea3c3c5ffc7d2444cae478d9116ebfe2ff3
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 30 00:10:06 2017 -0700

    shortcuts: remove unused function

 src/shortcuts/dzl-shortcut-chord.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-chord.c b/src/shortcuts/dzl-shortcut-chord.c
index 5371ac2..79a90f0 100644
--- a/src/shortcuts/dzl-shortcut-chord.c
+++ b/src/shortcuts/dzl-shortcut-chord.c
@@ -162,18 +162,6 @@ dzl_shortcut_chord_append_event (DzlShortcutChord  *self,
   return FALSE;
 }
 
-static inline gboolean
-dzl_shortcut_key_equal (const DzlShortcutKey *keya,
-                        const DzlShortcutKey *keyb)
-{
-  if (keya == keyb)
-    return TRUE;
-  else if (keya == NULL || keyb == NULL)
-    return FALSE;
-
-  return memcmp (keya, keyb, sizeof *keya) == 0;
-}
-
 static inline guint
 dzl_shortcut_chord_count_keys (const DzlShortcutChord *self)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]