(tumme-thumbnail-storage): Fix docstring.
[bpt/emacs.git] / oldXMenu / AddPane.c
index 739cdfe..2e122ea 100644 (file)
@@ -1,7 +1,8 @@
 #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  */
+/* Copyright (C) 2002, 2003, 2004, 2005,
+                 2006 Free Software Foundation, Inc.  */
 
 /*
  * 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 +51,7 @@ XMenuAddPane(display, menu, label, active)
        _XMErrorCode = XME_CALLOC;
        return(XM_FAILURE);
     }
-    
+
     /*
      * Determine label size.
      */
@@ -58,7 +59,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 +88,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 +103,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) */