What's the solution for this gtk warning?

Posted by Runner on Stack Overflow See other posts from Stack Overflow or by Runner
Published on 2010-05-02T11:02:31Z Indexed on 2010/05/02 11:07 UTC
Read the original article Hit count: 176

Filed under:
|
|
GtkWidget *textview;
...
textview = gtk_text_view_new ();
...
buffer = gtk_text_view_get_buffer (textview);

At the last line I pasted I got this warning:

warning C4133: 'function' : incompatible types - from 'GtkWidget *' to 'GtkTextView *'

How can I fix that?

© Stack Overflow or respective owner

Related posts about c

    Related posts about gtk