Mercurial > hg > xemacs-beta
comparison src/input-method-motif.c @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 3ecd8885ac67 |
children | 8de8e3f6228a |
comparison
equal
deleted
inserted
replaced
437:e2a4e8b94b82 | 438:84b14dcb0985 |
---|---|
113 | 113 |
114 /* mrb: #### Fix so that background and foreground is set from | 114 /* mrb: #### Fix so that background and foreground is set from |
115 default face, rather than foreground and background resources, or | 115 default face, rather than foreground and background resources, or |
116 that the user can use set-frame-parameters to set xic attributes */ | 116 that the user can use set-frame-parameters to set xic attributes */ |
117 | 117 |
118 #define res(name, class, representation, field, default_value) \ | 118 #define res(name, class, representation, field, default_value) \ |
119 { name, class, representation, sizeof(xim_resources.field), \ | 119 { name, class, representation, sizeof(xim_resources.field), \ |
120 XtOffsetOf(xim_resources_t, field), XtRString, default_value } | 120 XtOffsetOf(xim_resources_t, field), \ |
121 XtRString, (XtPointer) (default_value) } | |
121 | 122 |
122 static XtResource resources[] = | 123 static XtResource resources[] = |
123 { | 124 { |
124 /* name class represent'n field default value */ | 125 /* name class represent'n field default value */ |
125 res(XtNfontSet, XtCFontSet, XtRFontSet, fontset, XtDefaultFontSet), | 126 res(XtNfontSet, XtCFontSet, XtRFontSet, fontset, XtDefaultFontSet), |