[gnome-builder/wip/chergert/merge-shortcuts] shortcuts: disable logging



commit d979db420d42f28cea43324af83e15f4289c5849
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 22 22:00:40 2017 -0700

    shortcuts: disable logging

 libide/shortcuts/ide-shortcut-controller.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/shortcuts/ide-shortcut-controller.c b/libide/shortcuts/ide-shortcut-controller.c
index 2c2cb0b..a3ad070 100644
--- a/libide/shortcuts/ide-shortcut-controller.c
+++ b/libide/shortcuts/ide-shortcut-controller.c
@@ -663,10 +663,12 @@ ide_shortcut_controller_handle_event (IdeShortcutController *self,
 
   g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CURRENT_CHORD]);
 
+#if 0
   {
     g_autofree gchar *str = ide_shortcut_chord_to_string (priv->current_chord);
     g_debug ("Chord = %s", str);
   }
+#endif
 
   match = ide_shortcut_controller_process (self, priv->current_chord);
 
@@ -676,7 +678,9 @@ ide_shortcut_controller_handle_event (IdeShortcutController *self,
       g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CURRENT_CHORD]);
     }
 
+#if 0
   g_debug ("match = %d", match);
+#endif
 
   return (match ? GDK_EVENT_STOP : GDK_EVENT_PROPAGATE);
 }


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