Mercurial > hg > xemacs-beta
comparison lwlib/lwlib.c @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | a86b2b5e0111 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
405:0e08f63c74d2 | 406:b8cc9ab3f761 |
---|---|
255 else if (!new->args && old->args) | 255 else if (!new->args && old->args) |
256 { | 256 { |
257 lw_copy_widget_value_args (old, new); | 257 lw_copy_widget_value_args (old, new); |
258 changed = True; | 258 changed = True; |
259 } | 259 } |
260 else if (new->args && old->args) | 260 else if (new->args && old->args && new->args != old->args) |
261 { | 261 { |
262 /* #### Do something more sensible here than just copying the | 262 /* #### Do something more sensible here than just copying the |
263 new values (like actually merging the values). */ | 263 new values (like actually merging the values). */ |
264 lw_copy_widget_value_args (new, old); | 264 lw_copy_widget_value_args (new, old); |
265 changed = True; | 265 changed = True; |
1046 free_widget_info (info); | 1046 free_widget_info (info); |
1047 } | 1047 } |
1048 } | 1048 } |
1049 | 1049 |
1050 void | 1050 void |
1051 lw_destroy_everything () | 1051 lw_destroy_everything (void) |
1052 { | 1052 { |
1053 while (all_widget_info) | 1053 while (all_widget_info) |
1054 lw_destroy_all_widgets (all_widget_info->id); | 1054 lw_destroy_all_widgets (all_widget_info->id); |
1055 } | 1055 } |
1056 | 1056 |
1057 void | 1057 void |
1058 lw_destroy_all_pop_ups () | 1058 lw_destroy_all_pop_ups (void) |
1059 { | 1059 { |
1060 widget_info *info; | 1060 widget_info *info; |
1061 widget_info *next; | 1061 widget_info *next; |
1062 widget_instance *instance; | 1062 widget_instance *instance; |
1063 | 1063 |