Mercurial > vim
comparison src/proto/gui_gtk_x11.pro @ 12409:2c020bc30f62 v8.0.1084
patch 8.0.1084: GTK build has compiler warnings
commit https://github.com/vim/vim/commit/7be9b50fd7e238722c9ba5c0ef1d2a7e7e52b9e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 9 18:45:26 2017 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Sep 2017 19:00:04 +0200 |
parents | 5a5709918a98 |
children | f4c3a7f410f4 |
comparison
equal
deleted
inserted
replaced
12408:587fc0ce700e | 12409:2c020bc30f62 |
---|---|
23 void gui_mch_set_winpos(int x, int y); | 23 void gui_mch_set_winpos(int x, int y); |
24 int gui_mch_maximized(void); | 24 int gui_mch_maximized(void); |
25 void gui_mch_unmaximize(void); | 25 void gui_mch_unmaximize(void); |
26 void gui_mch_newfont(void); | 26 void gui_mch_newfont(void); |
27 void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); | 27 void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); |
28 void gui_gtk_get_screen_size_of_win(GtkWidget *win, int *width, int *height); | |
28 void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h); | 29 void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h); |
29 void gui_mch_settitle(char_u *title, char_u *icon); | 30 void gui_mch_settitle(char_u *title, char_u *icon); |
30 void gui_mch_enable_menu(int showit); | 31 void gui_mch_enable_menu(int showit); |
31 void gui_mch_show_toolbar(int showit); | 32 void gui_mch_show_toolbar(int showit); |
32 int gui_mch_adjust_charheight(void); | 33 int gui_mch_adjust_charheight(void); |