g_object_set() takes a gpointer as argument, so there is no need to cast the argument using G_OBJECT()