* BUG: Fix a memory leak that leads to a crash in the TextArea.Paste() 
  method.


git-svn-id: svn://localhost/gambas/trunk@3409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2010-12-29 09:05:28 +00:00
parent adf553d56b
commit a4056f9d53
2 changed files with 0 additions and 13 deletions

1
TODO
View file

@ -23,7 +23,6 @@ INTERPRETER
- MOD with floats.
- Make the error information associated with the current stack frame.
- Timer.TimeLeft.
- NOT LIKE, NOT BEGINS and NOT ENDS.
- OPEN ... LOCK. True lock while reading/writing a file.
DEVELOPMENT ENVIRONMENT

View file

@ -279,11 +279,7 @@ void gTextArea::paste()
txt = gClipboard::getText();
if (txt)
{
gtk_text_buffer_insert_at_cursor(buf,(const gchar *)txt,-1);
g_free(txt);
}
}
void gTextArea::insert(const char *txt)
@ -471,11 +467,3 @@ int gTextArea::textHeight()
waitForLayout(&w, &h);
return h;
}