Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
11270:eacea025e9b9 | 11271:cd8dbed175a1 |
---|---|
41 struct _GtkForm | 41 struct _GtkForm |
42 { | 42 { |
43 GtkContainer container; | 43 GtkContainer container; |
44 | 44 |
45 GList *children; | 45 GList *children; |
46 | |
47 #ifndef USE_GTK3 | |
48 guint width; | |
49 guint height; | |
50 #endif | |
51 | |
52 GdkWindow *bin_window; | 46 GdkWindow *bin_window; |
53 | |
54 #ifndef USE_GTK3 | |
55 GdkVisibilityState visibility; | |
56 gulong configure_serial; | |
57 #endif | |
58 | |
59 gint freeze_count; | 47 gint freeze_count; |
60 }; | 48 }; |
61 | 49 |
62 struct _GtkFormClass | 50 struct _GtkFormClass |
63 { | 51 { |