comparison src/menubar-x.c @ 114:8619ce7e4c50 r20-1b9

Import from CVS: tag r20-1b9
author cvs
date Mon, 13 Aug 2007 09:21:54 +0200
parents a145efe76779
children 6608ceec7cf8
comparison
equal deleted inserted replaced
113:2ec2fe4a4c89 114:8619ce7e4c50
356 widget_value *wv; 356 widget_value *wv;
357 357
358 assert (hack_wv->type == INCREMENTAL_TYPE); 358 assert (hack_wv->type == INCREMENTAL_TYPE);
359 VOID_TO_LISP (submenu_desc, hack_wv->call_data); 359 VOID_TO_LISP (submenu_desc, hack_wv->call_data);
360 wv = menu_item_descriptor_to_widget_value (submenu_desc, SUBMENU_TYPE, 360 wv = menu_item_descriptor_to_widget_value (submenu_desc, SUBMENU_TYPE,
361 1, 1); 361 1, 0);
362 if (!wv) 362 if (!wv)
363 { 363 {
364 wv = xmalloc_widget_value (); 364 wv = xmalloc_widget_value ();
365 wv->type = CASCADE_TYPE; 365 wv->type = CASCADE_TYPE;
366 wv->next = NULL; 366 wv->next = NULL;