/* Returns: (transfer full) (type GObject.Object) : a new instance of @object_type  */
gpointer g_object_new(GType object_type, const gchar *first_property_name,...)
/* Returns: (transfer full) (type GObject.Object) : a new instance of @object_type  */
gpointer g_object_new(GType object_type, const gchar *first_property_name,...)
{
  GObject *object;
  va_list var_args;
  g_return_val_if_fail (G_TYPE_IS_OBJECT (object_type), NULL);
  if (!first_property_name)
    return g_object_newv (object_type, 0, NULL);
  va_start (var_args, first_property_name);
  object = g_object_new_valist (object_type, first_property_name, var_args);
  va_end (var_args);
  return object;
}