X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;fp=xoptions.c;h=04ad0773a607938594f3b9bb759e1a285e2b98b5;hb=da51e2493eb3cfdf87a21946857be26d90aa7480;hp=f209698c8751f00e033a9b3226150de2f61e071f;hpb=70b0db4aa5acf071dd6a7adfd2b25e92511745db;p=xboard.git diff --git a/xoptions.c b/xoptions.c index f209698..04ad077 100644 --- a/xoptions.c +++ b/xoptions.c @@ -1231,6 +1231,7 @@ GenericPopUp (Option *option, char *title, DialogClass dlgNr, DialogClass parent else gtk_text_buffer_set_text (textbuffer, "", -1); option[i].handle = (void*)textbuffer; + option[i].textValue = (char*)textview; if(option[i].choice) { // textviews can request a handler for mouse events in the choice field g_signal_connect(textview, "button-press-event", G_CALLBACK (MemoEvent), (gpointer) &option[i] ); g_signal_connect(textview, "button-release-event", G_CALLBACK (MemoEvent), (gpointer) &option[i] );