Mercurial > hg > xemacs-beta
comparison src/EmacsShell-sub.c @ 3381:374186f156d5
[xemacs-hg @ 2006-05-06 17:55:58 by stephent]
metacity maximization fix, see src/ChangeLog.
<87ejz7t57b.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sat, 06 May 2006 17:56:00 +0000 |
parents | 3d8143fc88e1 |
children | 6830a3f39553 |
comparison
equal
deleted
inserted
replaced
3380:72f5451ab2f0 | 3381:374186f156d5 |
---|---|
276 ShellWidgetClass swc = (ShellWidgetClass) SUPERCLASS_WIDGET_CLASS; | 276 ShellWidgetClass swc = (ShellWidgetClass) SUPERCLASS_WIDGET_CLASS; |
277 ShellClassExtensionRec *scer; | 277 ShellClassExtensionRec *scer; |
278 GenericClassExtRec *gcer; | 278 GenericClassExtRec *gcer; |
279 | 279 |
280 /* find the shell extension record that specifies the | 280 /* find the shell extension record that specifies the |
281 root geometry manager method */ | 281 root geometry manager method |
282 #### We could use XtGetClassExtension here. */ | |
282 for (gcer = (GenericClassExtRec *) swc->shell_class.extension; | 283 for (gcer = (GenericClassExtRec *) swc->shell_class.extension; |
283 gcer; | 284 gcer; |
284 gcer = (GenericClassExtRec *) gcer->next_extension) | 285 gcer = (GenericClassExtRec *) gcer->next_extension) |
285 { | 286 { |
286 if (gcer->record_type == NULLQUARK) | 287 if (gcer->record_type == NULLQUARK) |
287 break; | 288 break; |
288 } | 289 } |
289 | 290 |
291 /* #### The R11.6.4 Xt specification says if we don't find NULLQUARK here, | |
292 we should assume root_geometry_manager = XtInheritRootGeometryManager. | |
293 Is that actually callable? */ | |
290 if (!gcer) | 294 if (!gcer) |
291 ABORT (); | 295 ABORT (); |
292 | 296 |
293 /* call it to actually make the geometry request */ | 297 /* call it to actually make the geometry request */ |
294 scer = (ShellClassExtensionRec *) gcer; | 298 scer = (ShellClassExtensionRec *) gcer; |