And add a test to check that everything is set correctly. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This patch also adds a unit test checking that the image is initialized properly. In addition, I simplify things by changing the image widget to be a direct child of the GtkButton. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
I think this is cleaner, and it should make it easier to maintain this code. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>