Please don't use the org.gnome.ScreenSaver interface, as it has other issues (such as leaking inhibitors if a process exits without removing them). Use the org.gnome.SessionManager interface instead, and gnome-session will clean up inhibitors if the registering application exits without removing them (ie, if it crashes. This is currently an issue with Totem, which uses the problematic interface)
Please don't use the org.gnome. ScreenSaver interface, as it has other issues (such as leaking inhibitors if a process exits without removing them). Use the org.gnome. SessionManager interface instead, and gnome-session will clean up inhibitors if the registering application exits without removing them (ie, if it crashes. This is currently an issue with Totem, which uses the problematic interface)