"org.gnome.evince.Daemon",
"RegisterDocument",
g_variant_new ("(s)", uri),
+ G_VARIANT_TYPE ("(s)"),
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
APPLICATION_DBUS_INTERFACE,
"OpenURI",
g_variant_builder_end (&builder),
+ NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
"org.gnome.evince.Daemon",
"UnregisterDocument",
g_variant_new ("(s)", uri),
+ NULL,
G_DBUS_CALL_FLAGS_NO_AUTO_START,
-1,
NULL,
ev_application->registration_id =
g_dbus_connection_register_object (ev_application->connection,
APPLICATION_DBUS_OBJECT_PATH,
- APPLICATION_DBUS_INTERFACE,
introspection_data->interfaces[0],
&interface_vtable,
ev_application, NULL,
g_error_free (error);
}
- ev_application->keys = ev_media_player_keys_new (ev_application->connection);
+ ev_application->keys = ev_media_player_keys_new ();
- ev_application->scr_saver = totem_scrsaver_new (ev_application->connection);
+ ev_application->scr_saver = totem_scrsaver_new ();
}
#else
- ev_application->scr_saver = totem_scrsaver_new (NULL);
+ ev_application->scr_saver = totem_scrsaver_new ();
#endif /* ENABLE_DBUS */
}