Commit e733664f7d8ceef384c9973c573b59fc625edbd2

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

Fixing windows build.

Showing 1 changed file with 8 additions and 3 deletions   Show diff stats
src/selection/windows/paste.c
... ... @@ -18,7 +18,7 @@
18 18 * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19 19 * St, Fifth Floor, Boston, MA 02110-1301 USA
20 20 *
21   - * Este programa está nomeado como selection.c e possui - linhas de código.
  21 + * Este programa está nomeado como - e possui - linhas de código.
22 22 *
23 23 * Contatos:
24 24 *
... ... @@ -32,9 +32,9 @@
32 32  
33 33 /*--[ Implement ]------------------------------------------------------------------------------------*/
34 34  
35   -LIB3270_EXPORT void v3270_paste(GtkWidget *widget)
  35 +LIB3270_EXPORT void v3270_paste_text(GtkWidget *widget)
36 36 {
37   - g_return_if_fail(GTK_IS_V3270(session));
  37 + g_return_if_fail(GTK_IS_V3270(widget));
38 38  
39 39 if (!OpenClipboard(NULL))
40 40 return;
... ... @@ -59,3 +59,8 @@ LIB3270_EXPORT void v3270_paste(GtkWidget *widget)
59 59 CloseClipboard();
60 60  
61 61 }
  62 +
  63 +LIB3270_EXPORT void v3270_paste(GtkWidget *widget)
  64 +{
  65 + v3270_paste(widget);
  66 +}
... ...