Mercurial > vim
comparison src/gui_xmdlg.c @ 2022:430793c2a231 v7.2.319
updated for version 7.2-319
author | vimboss |
---|---|
date | Wed, 16 Dec 2009 17:49:39 +0000 |
parents | 813a407a63af |
children | 0b3be97064e5 |
comparison
equal
deleted
inserted
replaced
2021:e0e0d1ae6011 | 2022:430793c2a231 |
---|---|
1272 /* modal event loop */ | 1272 /* modal event loop */ |
1273 while (!data->exit) | 1273 while (!data->exit) |
1274 XtAppProcessEvent(XtWidgetToApplicationContext(data->dialog), | 1274 XtAppProcessEvent(XtWidgetToApplicationContext(data->dialog), |
1275 (XtInputMask)XtIMAll); | 1275 (XtInputMask)XtIMAll); |
1276 | 1276 |
1277 XtDestroyWidget(data->dialog); | |
1278 | |
1279 if (data->old) | 1277 if (data->old) |
1280 { | 1278 { |
1281 XFreeFont(XtDisplay(data->dialog), data->old); | 1279 XFreeFont(XtDisplay(data->dialog), data->old); |
1282 XmFontListFree(data->old_list); | 1280 XmFontListFree(data->old_list); |
1283 } | 1281 } |
1282 XtDestroyWidget(data->dialog); | |
1284 | 1283 |
1285 gui_motif_synch_fonts(); | 1284 gui_motif_synch_fonts(); |
1286 | 1285 |
1287 return (char_u *) data->font_name; | 1286 return (char_u *) data->font_name; |
1288 } | 1287 } |