X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=blobdiff_plain;f=src%2Finput.c;h=418e5ea1f6b2e82b6a662e40887054c146a3d345;hp=bacb55571a523be0e3aa55cddd1a73bedfecd2a3;hb=b45c3ca495891faad9cc7e4ed59bd3991ea37502;hpb=44d1ad3232a93746837cf7c4b10c93ae6670e4a3 diff --git a/src/input.c b/src/input.c index bacb555..418e5ea 100644 --- a/src/input.c +++ b/src/input.c @@ -475,7 +475,7 @@ flush_text_grid(winid_t win) GtkTextBuffer *buffer = gtk_text_view_get_buffer( GTK_TEXT_VIEW(win->widget) ); - gchar *text = g_strdup(gtk_entry_get_text(win->input_entry)); + gchar *text = g_strdup( gtk_entry_get_text(GTK_ENTRY(win->input_entry)) ); /* Move the focus back into the text view */ gtk_widget_grab_focus(win->widget); /* Remove entry widget from text view */