From 323487d1bbac24beb8b1660b0f66f450914e2d13 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Fri, 8 May 2020 14:53:08 -0700 Subject: [PATCH] Not sure what that code was for, probably --lines early on and then it never got removed --- src/wofi.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/wofi.c b/src/wofi.c index 7d57fcd..d44e37c 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -515,14 +515,6 @@ static gboolean _insert_widget(gpointer data) { gtk_widget_set_name(child, "entry"); g_signal_connect(child, "size-allocate", G_CALLBACK(widget_allocate), NULL); - size_t lf_count = 1; - size_t text_len = strlen(node->text[0]); - for(size_t count = 0; count < text_len; ++count) { - if(node->text[0][count] == '\n') { - ++lf_count; - } - } - gtk_container_add(GTK_CONTAINER(child), parent); gtk_container_add(GTK_CONTAINER(inner_box), child); gtk_widget_show_all(child);