]> code.delx.au - gnu-emacs/blobdiff - oldXMenu/AddPane.c
Add 2009 to copyright years.
[gnu-emacs] / oldXMenu / AddPane.c
index 739cdfe43e88b8ef220ae327ecfc60dd06694c6d..54b55a150c9d2e58d8cc09853f407556b4143849 100644 (file)
@@ -1,8 +1,7 @@
-#include "copyright.h"
-
-/* $Header: /u/src/emacs/19.0/oldXMenu/RCS/AddPane.c,v 1.1 1992/04/11 22:10:17 jimb Exp $ */
 /* Copyright    Massachusetts Institute of Technology    1985  */
 
+#include "copyright.h"
+
 /*
  * XMenu:      MIT Project Athena, X Window system menu package
  *
 
 int
 XMenuAddPane(display, menu, label, active)
-    Display *display;           
+    Display *display;
     register XMenu *menu;      /* Menu object to be modified. */
     register char *label;      /* Selection label. */
     int active;                        /* Make selection active? */
 {
     register XMPane *pane;     /* Newly created pane. */
     register XMSelect *select; /* Initial selection for the new pane. */
-        
+
     int label_length;          /* Label length in characters. */
     int label_width;           /* Label width in pixels. */
 
@@ -50,7 +49,7 @@ XMenuAddPane(display, menu, label, active)
        _XMErrorCode = XME_CALLOC;
        return(XM_FAILURE);
     }
-    
+
     /*
      * Determine label size.
      */
@@ -58,7 +57,7 @@ XMenuAddPane(display, menu, label, active)
     label_width = XTextWidth(menu->p_fnt_info,
                             label,
                             label_length);
-    
+
     /*
      * Set up the initial selection.
      * Values not explicitly set are zeroed by calloc.
@@ -87,7 +86,7 @@ XMenuAddPane(display, menu, label, active)
     emacs_insque(pane, menu->p_list->prev);
 
     /*
-     * Update the pane count. 
+     * Update the pane count.
      */
     menu->p_count++;
 
@@ -102,3 +101,6 @@ XMenuAddPane(display, menu, label, active)
     _XMErrorCode = XME_NO_ERROR;
     return((menu->p_count - 1));
 }
+
+/* arch-tag: 62a26021-f29d-48ba-96ef-3b6c4ebd6547
+   (do not change this comment) */