Commit 9b4316cbe9d6b9886801bbe8b0cf433515ff81a2

Authored by perry.werneck@gmail.com
1 parent d6577d48

Corrigindo tratamento do clipboard

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/gtk/v3270/clipboard.c
@@ -53,7 +53,7 @@ static void clipboard_clear(GtkClipboard *clipboard, GObject *obj) @@ -53,7 +53,7 @@ static void clipboard_clear(GtkClipboard *clipboard, GObject *obj)
53 53
54 } 54 }
55 55
56 -void clipboard_get(GtkClipboard *clipboard, GtkSelectionData *selection_data, guint target, GObject *obj) 56 +void clipboard_get(GtkClipboard *clipboard, GtkSelectionData *selection, guint target, GObject *obj)
57 { 57 {
58 v3270 *widget = GTK_V3270(obj); 58 v3270 *widget = GTK_V3270(obj);
59 59
@@ -62,7 +62,7 @@ void clipboard_get(GtkClipboard *clipboard, GtkSelectionData *selection_data, gu @@ -62,7 +62,7 @@ void clipboard_get(GtkClipboard *clipboard, GtkSelectionData *selection_data, gu
62 switch(target) 62 switch(target)
63 { 63 {
64 case CLIPBOARD_TYPE_TEXT: 64 case CLIPBOARD_TYPE_TEXT:
65 - gtk_clipboard_set_text(clipboard,"TESTE",-1); 65 + gtk_selection_data_set_text(selection,"teste",-1);
66 break; 66 break;
67 67
68 default: 68 default: