e09cc46
To: vim-dev@vim.org
e09cc46
Subject: Patch 7.2.257
e09cc46
Fcc: outbox
e09cc46
From: Bram Moolenaar <Bram@moolenaar.net>
e09cc46
Mime-Version: 1.0
e09cc46
Content-Type: text/plain; charset=UTF-8
e09cc46
Content-Transfer-Encoding: 8bit
e09cc46
------------
e09cc46
e09cc46
Patch 7.2.257
e09cc46
Problem:    With GTK 2.17 lots of assertion error messages.
e09cc46
Solution:   Remove check for static gravity. (Sebastian Droege)
e09cc46
Files:	    src/gui_gtk_f.c
e09cc46
e09cc46
e09cc46
*** ../vim-7.2.256/src/gui_gtk_f.c	2009-05-17 23:25:16.000000000 +0200
e09cc46
--- src/gui_gtk_f.c	2009-09-11 15:15:41.000000000 +0200
e09cc46
***************
e09cc46
*** 860,870 ****
e09cc46
  gtk_form_set_static_gravity(GdkWindow *window, gboolean use_static)
e09cc46
  {
e09cc46
  #ifdef HAVE_GTK2
e09cc46
!     gboolean static_gravity_supported;
e09cc46
! 
e09cc46
!     static_gravity_supported = gdk_window_set_static_gravities(window,
e09cc46
! 							       use_static);
e09cc46
!     g_return_if_fail(static_gravity_supported);
e09cc46
  #else
e09cc46
      XSetWindowAttributes xattributes;
e09cc46
  
e09cc46
--- 860,868 ----
e09cc46
  gtk_form_set_static_gravity(GdkWindow *window, gboolean use_static)
e09cc46
  {
e09cc46
  #ifdef HAVE_GTK2
e09cc46
!     /* We don't check if static gravity is actually supported, because it
e09cc46
!      * results in an annoying assertion error message. */
e09cc46
!     gdk_window_set_static_gravities(window, use_static);
e09cc46
  #else
e09cc46
      XSetWindowAttributes xattributes;
e09cc46
  
e09cc46
*** ../vim-7.2.256/src/version.c	2009-09-11 15:46:20.000000000 +0200
e09cc46
--- src/version.c	2009-09-11 16:16:52.000000000 +0200
e09cc46
***************
e09cc46
*** 678,679 ****
e09cc46
--- 678,681 ----
e09cc46
  {   /* Add new patch number below this line */
e09cc46
+ /**/
e09cc46
+     257,
e09cc46
  /**/
e09cc46
e09cc46
-- 
e09cc46
hundred-and-one symptoms of being an internet addict:
e09cc46
231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner
e09cc46
     in the front doorway permanently so it always looks like you are
e09cc46
     actually attempting to do something about that mess that has amassed
e09cc46
     since you discovered the Internet.
e09cc46
e09cc46
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
e09cc46
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
e09cc46
\\\        download, build and distribute -- http://www.A-A-P.org        ///
e09cc46
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///