Commit 25b4514330b8051f9b1d98debba4dfec4c517c93

Authored by Perry Werneck
1 parent d2503b0a
Exists in master and in 1 other branch develop

Fixing another smart-patch issue.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/selection/windows/paste.c
... ... @@ -149,7 +149,7 @@ static void formatted_received(GtkClipboard *clipboard, GtkSelectionData *select
149 149  
150 150 static void targets_received(GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, GtkWidget *widget)
151 151 {
152   - if(lib3270_toggle(GTK_V3270(widget)->host,LIB3270_TOGGLE_SMART_PASTE) && has_target(GTK_V3270_GET_CLASS(widget)->clipboard_formatted,atoms,n_atoms))
  152 + if(lib3270_get_toggle(GTK_V3270(widget)->host,LIB3270_TOGGLE_SMART_PASTE) && has_target(GTK_V3270_GET_CLASS(widget)->clipboard_formatted,atoms,n_atoms))
153 153 {
154 154 debug("Clipboard as TN3270 \"%s\" data",gdk_atom_name(GTK_V3270_GET_CLASS(widget)->clipboard_formatted));
155 155  
... ...