[Glade-users] gtkbuilder and textview - I'm confused

Tadej Borovšak tadeboro at gmail.com
Tue May 3 16:32:49 EDT 2011


Hello.

> I haven't figured out how to fix that warning but I suspect it is not something to be ignored.

Quick look at your code revealed that you don't query builder object
for your text view. Add this line just after the line that gets main
window pointer and you should be OK:

  textview1 = GTK_WIDGET (gtk_builder_get_object (builder,"textview1"));

Cheers,
Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com


More information about the Glade-users mailing list