Not sure what that code was for, probably --lines early on and then it never got removed

This commit is contained in:
Scoopta 2020-05-08 14:53:08 -07:00
parent 1266717492
commit 323487d1bb

View File

@ -515,14 +515,6 @@ static gboolean _insert_widget(gpointer data) {
gtk_widget_set_name(child, "entry"); gtk_widget_set_name(child, "entry");
g_signal_connect(child, "size-allocate", G_CALLBACK(widget_allocate), NULL); 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(child), parent);
gtk_container_add(GTK_CONTAINER(inner_box), child); gtk_container_add(GTK_CONTAINER(inner_box), child);
gtk_widget_show_all(child); gtk_widget_show_all(child);