Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.182
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.182 (after 7.2.181)
Karsten Hopp 81c285
Problem:    Compilation problems after previous patch for Motif.  Gvim with
Karsten Hopp 81c285
	    GTK crashes on startup.
Karsten Hopp 81c285
Solution:   Add comma.  Init form structure to zeroes.
Karsten Hopp 81c285
Files:	    src/netbeans.c, src/gui_gtk_f.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.181/src/netbeans.c	2009-05-17 16:23:20.000000000 +0200
Karsten Hopp 81c285
--- src/netbeans.c	2009-05-17 22:34:11.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 707,713 ****
Karsten Hopp 81c285
  #else
Karsten Hopp 81c285
  # ifdef FEAT_GUI_MOTIF
Karsten Hopp 81c285
      static void
Karsten Hopp 81c285
! messageFromNetbeans(XtPointer clientData UNUSED
Karsten Hopp 81c285
  		    int *unused1 UNUSED,
Karsten Hopp 81c285
  		    XtInputId *unused2 UNUSED)
Karsten Hopp 81c285
  # endif
Karsten Hopp 81c285
--- 707,713 ----
Karsten Hopp 81c285
  #else
Karsten Hopp 81c285
  # ifdef FEAT_GUI_MOTIF
Karsten Hopp 81c285
      static void
Karsten Hopp 81c285
! messageFromNetbeans(XtPointer clientData UNUSED,
Karsten Hopp 81c285
  		    int *unused1 UNUSED,
Karsten Hopp 81c285
  		    XtInputId *unused2 UNUSED)
Karsten Hopp 81c285
  # endif
Karsten Hopp 81c285
*** ../vim-7.2.181/src/gui_gtk_f.c	2009-05-17 16:23:20.000000000 +0200
Karsten Hopp 81c285
--- src/gui_gtk_f.c	2009-05-17 23:20:41.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 229,234 ****
Karsten Hopp 81c285
--- 229,235 ----
Karsten Hopp 81c285
      {
Karsten Hopp 81c285
  	GtkTypeInfo form_info;
Karsten Hopp 81c285
  
Karsten Hopp 81c285
+ 	vim_memset(&form_info, 0, sizeof(form_info));
Karsten Hopp 81c285
  	form_info.type_name = "GtkForm";
Karsten Hopp 81c285
  	form_info.object_size = sizeof(GtkForm);
Karsten Hopp 81c285
  	form_info.class_size = sizeof(GtkFormClass);
Karsten Hopp 81c285
*** ../vim-7.2.181/src/version.c	2009-05-17 16:23:20.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-05-17 23:21:41.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     182,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
We apologise again for the fault in the subtitles.  Those responsible for
Karsten Hopp 81c285
sacking the people who have just been sacked have been sacked.
Karsten Hopp 81c285
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///