(gedit:4778): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
What does this error mean?
This is a harmless message that you will see popup when running most gtk applications on the command line. You can ignore it really. I'm not sure what causes it, but usually it's no problem, unless you are getting other problems with the application.