From: rodin Date: Fri, 22 May 2009 10:05:46 +0000 (+0000) Subject: * Fixed pointer cast warning X-Git-Tag: v0.9~399 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=dfd494cd3432737d846338bc5539234b7d298cf5;p=projects%2Fchimara%2Fchimara.git * Fixed pointer cast warning --- 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 */