home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.2 / 7.2.182 < prev    next >
Encoding:
Internet Message Format  |  2009-05-16  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.182
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.2.182 (after 7.2.181)
  11. Problem:    Compilation problems after previous patch for Motif.  Gvim with
  12.         GTK crashes on startup.
  13. Solution:   Add comma.  Init form structure to zeroes.
  14. Files:        src/netbeans.c, src/gui_gtk_f.c
  15.  
  16.  
  17. *** ../vim-7.2.181/src/netbeans.c    2009-05-17 16:23:20.000000000 +0200
  18. --- src/netbeans.c    2009-05-17 22:34:11.000000000 +0200
  19. ***************
  20. *** 707,713 ****
  21.   #else
  22.   # ifdef FEAT_GUI_MOTIF
  23.       static void
  24. ! messageFromNetbeans(XtPointer clientData UNUSED
  25.               int *unused1 UNUSED,
  26.               XtInputId *unused2 UNUSED)
  27.   # endif
  28. --- 707,713 ----
  29.   #else
  30.   # ifdef FEAT_GUI_MOTIF
  31.       static void
  32. ! messageFromNetbeans(XtPointer clientData UNUSED,
  33.               int *unused1 UNUSED,
  34.               XtInputId *unused2 UNUSED)
  35.   # endif
  36. *** ../vim-7.2.181/src/gui_gtk_f.c    2009-05-17 16:23:20.000000000 +0200
  37. --- src/gui_gtk_f.c    2009-05-17 23:20:41.000000000 +0200
  38. ***************
  39. *** 229,234 ****
  40. --- 229,235 ----
  41.       {
  42.       GtkTypeInfo form_info;
  43.   
  44. +     vim_memset(&form_info, 0, sizeof(form_info));
  45.       form_info.type_name = "GtkForm";
  46.       form_info.object_size = sizeof(GtkForm);
  47.       form_info.class_size = sizeof(GtkFormClass);
  48. *** ../vim-7.2.181/src/version.c    2009-05-17 16:23:20.000000000 +0200
  49. --- src/version.c    2009-05-17 23:21:41.000000000 +0200
  50. ***************
  51. *** 678,679 ****
  52. --- 678,681 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     182,
  56.   /**/
  57.  
  58. -- 
  59. We apologise again for the fault in the subtitles.  Those responsible for
  60. sacking the people who have just been sacked have been sacked.
  61.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  62.  
  63.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  64. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  65. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  66.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  67.