From 25b4514330b8051f9b1d98debba4dfec4c517c93 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 29 Oct 2019 12:39:36 -0300 Subject: [PATCH] Fixing another smart-patch issue. --- src/selection/windows/paste.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection/windows/paste.c b/src/selection/windows/paste.c index e9bc93a..09e6131 100644 --- a/src/selection/windows/paste.c +++ b/src/selection/windows/paste.c @@ -149,7 +149,7 @@ static void formatted_received(GtkClipboard *clipboard, GtkSelectionData *select static void targets_received(GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, GtkWidget *widget) { - if(lib3270_toggle(GTK_V3270(widget)->host,LIB3270_TOGGLE_SMART_PASTE) && has_target(GTK_V3270_GET_CLASS(widget)->clipboard_formatted,atoms,n_atoms)) + if(lib3270_get_toggle(GTK_V3270(widget)->host,LIB3270_TOGGLE_SMART_PASTE) && has_target(GTK_V3270_GET_CLASS(widget)->clipboard_formatted,atoms,n_atoms)) { debug("Clipboard as TN3270 \"%s\" data",gdk_atom_name(GTK_V3270_GET_CLASS(widget)->clipboard_formatted)); -- libgit2 0.21.2