gtkmm Label problem



Hi,

I created a blank Label as follow:

Gtk::Label *lb=new Gtk::Label();
Pango::AttrList ls=lb->get_attributes();

"ls" is not NULL even no attribute was set. So there
is an error when the following is executed.

ls->get_iter();

Pango-CRITICAL **: pango_attr_list_get_iterator::
assertion `list != NULL' failed

Questions:

(1) Is the above a bug?

(2) How can I check if the Pango::AttrList is NULL?


Thanks

Kev


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



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