When I run gVim from Terminal in Ubuntu 10.04 with Gnome I get this error:
(gvim:6226): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
It looks like that everytime except that the number in between the parans (gvim: ) is always slightly different. How can I fix this with out having to run
gksudo gvim
?
which by the way starts gVim with out loading my .vimrc file and which is also annoying because of having to enter the password everytime.
Apparently I think the issue was in the blackboard.vim colorscheme I was using. I switched from this version of blackboard.vim
http://www.vim.org/scripts/script.php?script_id=2280
to this version
http://concisionandconcinnity.blogspot.com/2009/07/vim-part-i-improved-python-syntax.html
Now it works fine without any error.