зеркало из
1
0
Форкнуть 0
svn path=/trunk/diacanvas-sharp/; revision=22516
This commit is contained in:
Martin Willemoes Hansen 2004-01-26 22:01:39 +00:00
Родитель 2efd105e38
Коммит 17e56d4e44
2 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -22,6 +22,14 @@ in <0x00023> .Sample:Main ()
Seems to be the same problem as gtksourceview-sharp, see
SourceLanguagesManager.custom
This problem seems to steem from badly coded gobject code.
The destination type is not registred as a new gtype.
Subclassing objects without registering a new GType for the object, is buggy.
There is no way a language binding can properly introspect aGObject type
that's coded in this manner.
File a bugreport when such code is found.
================================================================================
Crashes

Просмотреть файл

@ -97,8 +97,8 @@ public class Sample {
view.UnselectAll();
// Trigers a bug, same as in gtksourceview-sharp
// CanvasViewItem vitem = view.FindViewItem (image);
// view.Focus (vitem);
CanvasViewItem vitem = view.FindViewItem (image);
view.Focus (vitem);
}
void SelectionTool (object sender, EventArgs args)