/[emacs]/emacs/oldXMenu/DelPane.c
ViewVC logotype

Diff of /emacs/oldXMenu/DelPane.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by fx, Sun Oct 3 19:34:57 1999 UTC revision 1.1.18.1 by miles, Fri Apr 4 06:20:52 2003 UTC
# Line 24  XMenuDeletePane(display, menu, p_num) Line 24  XMenuDeletePane(display, menu, p_num)
24      register XMPane *p_ptr;     /* Pointer to pane being deleted. */      register XMPane *p_ptr;     /* Pointer to pane being deleted. */
25      register XMSelect *s_ptr;   /* Pointer to selections being deleted. */      register XMSelect *s_ptr;   /* Pointer to selections being deleted. */
26      register XMSelect *s_next;  /* Pointer to next selection to be deleted. */      register XMSelect *s_next;  /* Pointer to next selection to be deleted. */
27            
28      /*      /*
29       * Find the right pane.       * Find the right pane.
30       */       */
# Line 48  XMenuDeletePane(display, menu, p_num) Line 48  XMenuDeletePane(display, menu, p_num)
48       * association table and free their XMSelect structures.       * association table and free their XMSelect structures.
49       */       */
50      for (      for (
51          s_ptr = p_ptr->s_list->next;          s_ptr = p_ptr->s_list->next;
52          s_ptr != p_ptr->s_list;          s_ptr != p_ptr->s_list;
53          s_ptr = s_next          s_ptr = s_next
54      ) {      ) {
# Line 63  XMenuDeletePane(display, menu, p_num) Line 63  XMenuDeletePane(display, menu, p_num)
63           * Destroy the selection transparencies.           * Destroy the selection transparencies.
64           */           */
65          XDestroySubwindows(display, p_ptr->window);          XDestroySubwindows(display, p_ptr->window);
66        
67          /*          /*
68           * Destroy the pane window.           * Destroy the pane window.
69           */           */
70          XDestroyWindow(display, p_ptr->window);          XDestroyWindow(display, p_ptr->window);
71      }      }
72        
73      /*      /*
74       * Free the pane's XMPane structure.       * Free the pane's XMPane structure.
75       */       */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.18.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26