aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-19 22:13:45 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-19 22:13:45 +0200
commit0e5c1a940cd4ff4291aea97972671d331d10f694 (patch)
treee38b4321592d7c3cb55dfab1d8bcbc616629577b
parentabdb7f0c1f75bd43b6032b2893318bd21fd3d0f9 (diff)
Remove debug output
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a8eb802..0678b87 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2986,7 +2986,6 @@ static void shortcut_changed_callback(gsr_shortcut shortcut, void *userdata) {
(void)userdata;
std::string trigger = shortcut.trigger_description;
replace_meta_with_super(trigger);
- fprintf(stderr, "shortcut: %s, %s\n", shortcut.id, trigger.c_str());
for(int i = 0; i < num_hotkeys; ++i) {
if(strcmp(shortcut.id, hotkeys[i]->shortcut_id) == 0) {
gtk_entry_set_text(GTK_ENTRY(hotkeys[i]->hotkey_entry), trigger.c_str());
@@ -2996,7 +2995,6 @@ static void shortcut_changed_callback(gsr_shortcut shortcut, void *userdata) {
static void deactivated_callback(const char *description, void *userdata) {
(void)userdata;
- fprintf(stderr, "deactivated callback: %s, recording: %s\n", description, recording ? "yes" : "no");
const GtkWidget *visible_page = gtk_stack_get_visible_child(page_navigation_userdata.stack);
for(int i = 0; i < num_hotkeys; ++i) {
if(visible_page != hotkeys[i]->page)