From: Marijn van Vliet Date: Fri, 22 May 2009 10:05:46 +0000 (+0000) Subject: * Fixed pointer cast warning X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=commitdiff_plain;h=b45c3ca495891faad9cc7e4ed59bd3991ea37502 * Fixed pointer cast warning git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@66 ddfedd41-794f-dd11-ae45-00112f111e67 --- 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 */