| GNOME Video Arcade Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
gboolean gva_dbus_init (GError **error); gboolean gva_dbus_inhibit_screen_saver (GvaProcess *process,const gchar *reason,GError **error);
gboolean gva_dbus_init (GError **error);
Connects to D-Bus and sets up proxy objects. If an error occurs,
the function returns FALSE and sets error.
This function should be called once when the application starts.
gboolean gva_dbus_inhibit_screen_saver (GvaProcess *process,const gchar *reason,GError **error);
If the full screen preference is enabled, inhibits GNOME screen
saver for the duration of process. If an error occurs, the
function returns FALSE and sets error.
|
a GvaProcess |
|
the reason for the inhibit |
|
return location for a GError, or NULL
|
Returns : |
TRUE on success, FALSE if an error occurred
|