diff options
author | marha <marha@users.sourceforge.net> | 2012-06-15 14:04:46 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-15 14:04:46 +0200 |
commit | a33de30073bfa0ee1abba186dba9fa52cf0aa23a (patch) | |
tree | 9eae122e901b9a1d1c7cfcfc2385202793a1f92a /libXaw/src/Sme.c | |
parent | 7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb (diff) | |
download | vcxsrv-a33de30073bfa0ee1abba186dba9fa52cf0aa23a.tar.gz vcxsrv-a33de30073bfa0ee1abba186dba9fa52cf0aa23a.tar.bz2 vcxsrv-a33de30073bfa0ee1abba186dba9fa52cf0aa23a.zip |
Updated to following packages:
freetype-2.4.10
libXaw-1.0.11
openssl-1.0.1c
Diffstat (limited to 'libXaw/src/Sme.c')
-rw-r--r-- | libXaw/src/Sme.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libXaw/src/Sme.c b/libXaw/src/Sme.c index b01a81c6c..24d4fedb2 100644 --- a/libXaw/src/Sme.c +++ b/libXaw/src/Sme.c @@ -26,7 +26,7 @@ in this Software without prior written authorization from The Open Group. * Date: September 26, 1989 * * By: Chris D. Peterson - * MIT X Consortium + * MIT X Consortium * kit@expo.lcs.mit.edu */ @@ -75,7 +75,7 @@ static XtResource resources[] = { XtRImmediate, (XtPointer)False }, -}; +}; #undef offset #define Superclass (&rectObjClassRec) @@ -147,13 +147,13 @@ XawSmeClassPartInitialize(WidgetClass cclass) m_ent = (SmeObjectClass)cclass; superC = (SmeObjectClass)m_ent->rect_class.superclass; - if (m_ent->sme_class.highlight == XtInheritHighlight) + if (m_ent->sme_class.highlight == XtInheritHighlight) m_ent->sme_class.highlight = superC->sme_class.highlight; if (m_ent->sme_class.unhighlight == XtInheritUnhighlight) m_ent->sme_class.unhighlight = superC->sme_class.unhighlight; - if (m_ent->sme_class.notify == XtInheritNotify) + if (m_ent->sme_class.notify == XtInheritNotify) m_ent->sme_class.notify = superC->sme_class.notify; } @@ -164,7 +164,7 @@ XawSmeClassPartInitialize(WidgetClass cclass) * Parameters: * request - widget requested by the argument list * cnew - new widget with both resource and non resource values - * + * * Description: * Initializes the simple menu widget entry */ @@ -234,7 +234,7 @@ Notify(Widget w) * w - menu entry object * itended - intended and return geometry info * return_val - - * + * * Description: * Returns the preferred geometry for this widget. * @@ -259,7 +259,7 @@ XawSmeQueryGeometry(Widget w, XtWidgetGeometry *intended, return_val->request_mode |= CWWidth; return_val->width = width; mode = return_val->request_mode; - + if ((mode & CWWidth) && width == XtWidth(entry)) return (XtGeometryNo); return (XtGeometryAlmost); |