Mercurial > vim
diff src/gui_gtk_f.h @ 11271:cd8dbed175a1 v8.0.0521
patch 8.0.0521: GtkForm handling is outdated
commit https://github.com/vim/vim/commit/99a6e8dd824399332563caa6cacfcda33da1f366
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 29 18:07:40 2017 +0200
patch 8.0.0521: GtkForm handling is outdated
Problem: GtkForm handling is outdated.
Solution: Get rid of event filter functions. Get rid of GtkForm.width and
.height. Eliminate gtk_widget_size_request() calls. (Kazunobu
Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 29 Mar 2017 18:15:05 +0200 |
parents | 4aead6a9b7a9 |
children | 6e3dc2d630c2 |
line wrap: on
line diff
--- a/src/gui_gtk_f.h +++ b/src/gui_gtk_f.h @@ -43,19 +43,7 @@ struct _GtkForm GtkContainer container; GList *children; - -#ifndef USE_GTK3 - guint width; - guint height; -#endif - GdkWindow *bin_window; - -#ifndef USE_GTK3 - GdkVisibilityState visibility; - gulong configure_serial; -#endif - gint freeze_count; };