Attached is a patch to fix this problem with current CVS.
The menu option to Save Highlighted should use ITEM_FACTORY_ENTRY instead of ITEM_FACTORY_STOCK_ENTRY since it does not have an Icon.
On Mon, Dec 01, 2003 at 03:43:56PM -0700, Greg Morris wrote:
> (ethereal.exe:2940): Gtk-CRITICAL **: file gtkstock.c: line 128
> (gtk_stock_looku
> p): assertion `stock_id != NULL' failed
>
> I updated just about an hour ago and built with GTK 2.2.4. Any ideas
> where to start looking I cannot find a gtkstock.c or a gtk_stock_lookup
> function.
Start looking in the GTK+ 2.2.4 source; it's part of GTK+.
> I would assume that this might be the startup option to locate
> the font but I am not sure.
No - to quote the comment in front of it:
/**
* gtk_stock_lookup:
* @stock_id: a stock item name
* @item: stock item to initialize with values
*
* Fills @item with the registered values for @stock_id, returning %TRUE
* if @stock_id was known.
*
*
* Return value: %TRUE if @item was initialized
**/
It's called by "gtk_toolbar_insert_stock()", which is used in the
Ethereal toolbar; it's also called by the item factory code, which is
used in menus.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev