static void MBCallback(t_x11 *x11,int dlg_mess,int item_id, char *set,void *data) { t_gmx *gmx; gmx=(t_gmx *)data; if (dlg_mess==DLG_EXIT) hide_mb(gmx); }
static void MBCallback(t_x11 * /*x11*/, int dlg_mess, int /*item_id*/, char * /*set*/, void *data) { t_gmx *gmx; gmx = (t_gmx *)data; if (dlg_mess == DLG_EXIT) { hide_mb(gmx); } }
static void QuitCB(t_x11 *x11,int dlg_mess,int item_id, char *set,void *data) { t_gmx *gmx; gmx=(t_gmx *)data; hide_mb(gmx); if (dlg_mess==DLG_EXIT) { if (strcasecmp("yes",set)==0) write_gmx(x11,gmx,IDTERM); } }