diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-09 18:45:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-09 18:45:26 +0200 |
commit | 7be9b50fd7e238722c9ba5c0ef1d2a7e7e52b9e3 (patch) | |
tree | f1a9c077e1846b5926b91b8221edc7fb0c12797f /src/proto | |
parent | 5b5adf5b9cd226d775643872e65c62674d6ada95 (diff) | |
download | vim-7be9b50fd7e238722c9ba5c0ef1d2a7e7e52b9e3.zip |
patch 8.0.1084: GTK build has compiler warnings
Problem: GTK build has compiler warnings. (Christian Brabandt)
Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
Matsumoto)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/gui_gtk_x11.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/gui_gtk_x11.pro b/src/proto/gui_gtk_x11.pro index aaf710c17..51546ae9e 100644 --- a/src/proto/gui_gtk_x11.pro +++ b/src/proto/gui_gtk_x11.pro @@ -25,6 +25,7 @@ int gui_mch_maximized(void); void gui_mch_unmaximize(void); void gui_mch_newfont(void); void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); +void gui_gtk_get_screen_size_of_win(GtkWidget *win, int *width, int *height); void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h); void gui_mch_settitle(char_u *title, char_u *icon); void gui_mch_enable_menu(int showit); |