comparison src/gui_gtk_x11.c @ 15555:d89c5b339c2a v8.1.0785

patch 8.1.0785: depending on the configuration some functions are unused commit https://github.com/vim/vim/commit/113e10721f42fc2500b63fe95193f8665658a90c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 20 15:30:40 2019 +0100 patch 8.1.0785: depending on the configuration some functions are unused Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jan 2019 15:45:07 +0100
parents 55ccc2d353bd
children 31367ce5aac7
comparison
equal deleted inserted replaced
15554:496f146a0836 15555:d89c5b339c2a
6735 void 6735 void
6736 clip_mch_set_selection(VimClipboard *cbd UNUSED) 6736 clip_mch_set_selection(VimClipboard *cbd UNUSED)
6737 { 6737 {
6738 } 6738 }
6739 6739
6740 #if (defined(FEAT_XCLIPBOARD) && defined(USE_SYSTEM)) || defined(PROTO)
6740 int 6741 int
6741 clip_gtk_owner_exists(VimClipboard *cbd) 6742 clip_gtk_owner_exists(VimClipboard *cbd)
6742 { 6743 {
6743 return gdk_selection_owner_get(cbd->gtk_sel_atom) != NULL; 6744 return gdk_selection_owner_get(cbd->gtk_sel_atom) != NULL;
6744 } 6745 }
6746 #endif
6745 6747
6746 6748
6747 #if defined(FEAT_MENU) || defined(PROTO) 6749 #if defined(FEAT_MENU) || defined(PROTO)
6748 /* 6750 /*
6749 * Make a menu item appear either active or not active (grey or not grey). 6751 * Make a menu item appear either active or not active (grey or not grey).