]> git.ipfire.org Git - thirdparty/plymouth.git/commit
renderer: add way to get device_name that was passed to constructor
authorRay Strode <rstrode@redhat.com>
Tue, 10 Dec 2013 02:13:13 +0000 (21:13 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 10 Dec 2013 06:01:33 +0000 (01:01 -0500)
commit83c59f344ee67950e66eaa214600e24df900c54d
tree5ca4881c3384514016b0177c38d7ac7c6baaa7b2
parent42d885c83b6be5104fd397f412662922d9641a01
renderer: add way to get device_name that was passed to constructor

It's useful to be able to figure out which renderer a given renderer
is, by examining the device that is associated with it.

This commit adds and accessor function to return the device that
was passed to ply_renderer_new.

At the moment, it does not return the device name if NULL was passed
to the constructor and the device was figured out automatically.  A
future commit may add that ability if it becomes necessary.
src/libply-splash-core/ply-renderer.c
src/libply-splash-core/ply-renderer.h