patch 8.1.1531: clipboard type name is inconsistent
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index a994869..509cfc2 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -1394,7 +1394,7 @@
guint time_ UNUSED,
gpointer user_data UNUSED)
{
- VimClipboard *cbd;
+ Clipboard_T *cbd;
char_u *text;
char_u *tmpbuf = NULL;
guchar *tmpbuf_utf8 = NULL;
@@ -1511,7 +1511,7 @@
int length;
int motion_type;
GdkAtom type;
- VimClipboard *cbd;
+ Clipboard_T *cbd;
if (gtk_selection_data_get_selection(selection_data)
== clip_plus.gtk_sel_atom)
@@ -6602,7 +6602,7 @@
* X Selection stuff, for cutting and pasting text to other windows.
*/
void
-clip_mch_request_selection(VimClipboard *cbd)
+clip_mch_request_selection(Clipboard_T *cbd)
{
GdkAtom target;
unsigned i;
@@ -6639,7 +6639,7 @@
* Disown the selection.
*/
void
-clip_mch_lose_selection(VimClipboard *cbd UNUSED)
+clip_mch_lose_selection(Clipboard_T *cbd UNUSED)
{
if (!in_selection_clear_event)
{
@@ -6652,7 +6652,7 @@
* Own the selection and return OK if it worked.
*/
int
-clip_mch_own_selection(VimClipboard *cbd)
+clip_mch_own_selection(Clipboard_T *cbd)
{
int success;
@@ -6667,13 +6667,13 @@
* will fill in the selection only when requested by another app.
*/
void
-clip_mch_set_selection(VimClipboard *cbd UNUSED)
+clip_mch_set_selection(Clipboard_T *cbd UNUSED)
{
}
#if (defined(FEAT_XCLIPBOARD) && defined(USE_SYSTEM)) || defined(PROTO)
int
-clip_gtk_owner_exists(VimClipboard *cbd)
+clip_gtk_owner_exists(Clipboard_T *cbd)
{
return gdk_selection_owner_get(cbd->gtk_sel_atom) != NULL;
}