1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2019-01-20 15:30:40 +01:00
parent 1f20daa1d7
commit 113e10721f
28 changed files with 88 additions and 52 deletions

View File

@@ -6737,11 +6737,13 @@ clip_mch_set_selection(VimClipboard *cbd UNUSED)
{
}
#if (defined(FEAT_XCLIPBOARD) && defined(USE_SYSTEM)) || defined(PROTO)
int
clip_gtk_owner_exists(VimClipboard *cbd)
{
return gdk_selection_owner_get(cbd->gtk_sel_atom) != NULL;
}
#endif
#if defined(FEAT_MENU) || defined(PROTO)