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



That did it!

Thank you so much Tadej.

Dave

--- On Tue, 5/3/11, Tadej Borov?ak <tadeboro at gmail.com> wrote:

From: Tadej Borov?ak <tadeboro at gmail.com>
Subject: Re: [Glade-users] gtkbuilder and textview - I'm confused
To: "David Buchan" <pdbuchan at yahoo.com>
Cc: glade-users at lists.ximian.com
Date: Tuesday, May 3, 2011, 4:32 PM
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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]