Commit 66f6f8dd1ab6d3710e632c5b8df2ebc92b216562
Exists in
master
and in
1 other branch
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
src/selection/text.c
@@ -196,7 +196,12 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const | @@ -196,7 +196,12 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const | ||
196 | 196 | ||
197 | if(error) | 197 | if(error) |
198 | { | 198 | { |
199 | - g_signal_emit(widget,v3270_widget_signal[V3270_SIGNAL_PASTENEXT], 0, FALSE); | 199 | + g_signal_emit( |
200 | + widget, | ||
201 | + v3270_widget_signal[V3270_SIGNAL_PASTENEXT], | ||
202 | + 0, | ||
203 | + FALSE | ||
204 | + ); | ||
200 | v3270_popup_gerror(widget,error,NULL,"%s",_("Can't paste text")); | 205 | v3270_popup_gerror(widget,error,NULL,"%s",_("Can't paste text")); |
201 | g_error_free(error); | 206 | g_error_free(error); |
202 | return; | 207 | return; |
@@ -209,7 +214,7 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const | @@ -209,7 +214,7 @@ LIB3270_EXPORT void v3270_input_text(GtkWidget *widget, const gchar *text, const | ||
209 | ) ? TRUE : FALSE; | 214 | ) ? TRUE : FALSE; |
210 | 215 | ||
211 | g_signal_emit( | 216 | g_signal_emit( |
212 | - v3270_get_session(widget), | 217 | + widget, |
213 | v3270_widget_signal[V3270_SIGNAL_PASTENEXT], | 218 | v3270_widget_signal[V3270_SIGNAL_PASTENEXT], |
214 | 0, | 219 | 0, |
215 | next | 220 | next |