From b45c3ca495891faad9cc7e4ed59bd3991ea37502 Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Fri, 22 May 2009 10:05:46 +0000 Subject: [PATCH] * Fixed pointer cast warning git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@66 ddfedd41-794f-dd11-ae45-00112f111e67 --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2