Pass the split option array to the D-BUS call, not the original unsplit string.
proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.UDisks", object_path, "org.freedesktop.UDisks.Device");
error = NULL;
- if (!org_freedesktop_UDisks_Device_drive_eject (proxy, (const char **) options, &error))
+ if (!org_freedesktop_UDisks_Device_drive_eject (proxy, (const char **) eject_options, &error))
{
g_print ("Eject failed: %s\n", error->message);
g_error_free (error);