diff src/EmacsShell-sub.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
line wrap: on
line diff
--- a/src/EmacsShell-sub.c	Mon Aug 13 11:19:22 2007 +0200
+++ b/src/EmacsShell-sub.c	Mon Aug 13 11:20:41 2007 +0200
@@ -137,32 +137,26 @@
      the default values for X and Y, for no obvious reason.  This
      causes Shell to indicate that the defaults of (0,0) were
      program-specified, instead of letting the WM do what it wants. */
-  { XtNx, XtCPosition,
-    XtRPosition, sizeof (Position),
-    coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE },
-  { XtNy, XtCPosition,
-    XtRPosition, sizeof (Position),
-    coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE },
+  {XtNx, XtCPosition, XtRPosition, sizeof(Position),
+     coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE},
+  {XtNy, XtCPosition, XtRPosition, sizeof(Position),
+     coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE},
 #endif
-  { XtNwidthCells, XtCWidthCells,
-    XtRInt, sizeof (int),
-    offset (width_cells), XtRImmediate, (XtPointer)0 },
-  { XtNheightCells, XtCHeightCells,
-    XtRInt, sizeof (int),
-    offset (height_cells), XtRImmediate, (XtPointer)0 },
-  { XtNminWidthCells, XtCMinWidthCells,
-    XtRInt, sizeof (int),
-    offset (min_width_cells), XtRImmediate, (XtPointer)0 },
-  { XtNminHeightCells, XtCMinHeightCells,
-    XtRInt, sizeof (int),
-    offset (min_height_cells), XtRImmediate, (XtPointer)0 },
+  { XtNwidthCells, XtCWidthCells, XtRInt, sizeof(int),
+      offset (width_cells), XtRImmediate, (XtPointer)0},
+  { XtNheightCells, XtCHeightCells, XtRInt, sizeof(int),
+      offset (height_cells), XtRImmediate, (XtPointer)0},
+  { XtNminWidthCells, XtCMinWidthCells, XtRInt, sizeof(int),
+      offset (min_width_cells), XtRImmediate, (XtPointer)0},
+  { XtNminHeightCells, XtCMinHeightCells, XtRInt, sizeof(int),
+      offset (min_height_cells), XtRImmediate, (XtPointer)0},
 };
 
 static CompositeClassExtensionRec compositeClassExtRec = {
     NULL,
     NULLQUARK,
     XtCompositeExtensionVersion,
-    sizeof (CompositeClassExtensionRec),
+    sizeof(CompositeClassExtensionRec),
     TRUE,
 };
 
@@ -170,7 +164,7 @@
     NULL,
     NULLQUARK,
     XtShellExtensionVersion,
-    sizeof (ShellClassExtensionRec),
+    sizeof(ShellClassExtensionRec),
     RootGeometryManager
 };
 
@@ -180,7 +174,7 @@
        */
     /* superclass	  */	(WidgetClass) &SUPERCLASS_CLASS_REC,
     /* class_name	  */	(String) EMACS_SHELL_CLASS_NAME,
-    /* size		  */	sizeof (EMACS_SHELL_REC),
+    /* size		  */	sizeof(EMACS_SHELL_REC),
     /* Class Initializer  */	NULL,
     /* class_part_initialize*/	NULL, /* XtInheritClassPartInitialize, */
     /* Class init'ed ?	  */	FALSE,