[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/oldXMenu/AddPane.c
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/oldXMenu/AddPane.c |
Date: |
Fri, 04 Apr 2003 01:23:41 -0500 |
Index: emacs/oldXMenu/AddPane.c
diff -c emacs/oldXMenu/AddPane.c:1.1 emacs/oldXMenu/AddPane.c:1.2
*** emacs/oldXMenu/AddPane.c:1.1 Sun Oct 3 15:34:51 1999
--- emacs/oldXMenu/AddPane.c Tue Feb 4 09:19:01 2003
***************
*** 1,6 ****
#include "copyright.h"
! /* $Header: /cvsroot/emacs/emacs/oldXMenu/AddPane.c,v 1.1 1999/10/03 19:34:51
fx Exp $ */
/* Copyright Massachusetts Institute of Technology 1985 */
/*
--- 1,6 ----
#include "copyright.h"
! /* $Header: /cvsroot/emacs/emacs/oldXMenu/AddPane.c,v 1.2 2003/02/04 14:19:01
lektu Exp $ */
/* Copyright Massachusetts Institute of Technology 1985 */
/*
***************
*** 18,31 ****
int
XMenuAddPane(display, menu, label, active)
! 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. */
--- 18,31 ----
int
XMenuAddPane(display, menu, label, active)
! 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,56 ****
_XMErrorCode = XME_CALLOC;
return(XM_FAILURE);
}
!
/*
* Determine label size.
*/
--- 50,56 ----
_XMErrorCode = XME_CALLOC;
return(XM_FAILURE);
}
!
/*
* Determine label size.
*/
***************
*** 58,64 ****
label_width = XTextWidth(menu->p_fnt_info,
label,
label_length);
!
/*
* Set up the initial selection.
* Values not explicitly set are zeroed by calloc.
--- 58,64 ----
label_width = XTextWidth(menu->p_fnt_info,
label,
label_length);
!
/*
* Set up the initial selection.
* Values not explicitly set are zeroed by calloc.
***************
*** 87,93 ****
emacs_insque(pane, menu->p_list->prev);
/*
! * Update the pane count.
*/
menu->p_count++;
--- 87,93 ----
emacs_insque(pane, menu->p_list->prev);
/*
! * Update the pane count.
*/
menu->p_count++;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/oldXMenu/AddPane.c,
Miles Bader <=