talkatu/talkatu

Change TalkatuAttachment to an interface and move it's implementation to TalkatuSimpleAttachment.

Also included the fix for TALKATU-82.

Testing Done:
Ran the demo in gdb with `G_DEBUG=fatal-warnings` and verified that attachments still worked as expected.

Bugs closed: TALKATU-82

Reviewed at https://reviews.imfreedom.org/r/24/
###############################################################################
# Variables
###############################################################################
sources = [
'talkatudemo.c',
'talkatudemowindow.c',
'talkatudemowindow.h',
]
###############################################################################
# Resources
###############################################################################
talkatudemo_resources = gnome.compile_resources(
'talkatudemoresources',
'data/talkatudemo.gresource.xml',
c_name: 'talkatudemo',
source_dir: 'data'
)
###############################################################################
# Demo program
###############################################################################
talkatudemo = executable('talkatu-demo',
sources,
talkatudemo_resources,
dependencies: [GLIB, GTK3, talkatu_dep],
include_directories : top_srcdir,
install: true,
)
if get_option('help2man')
custom_target('talkatu-demo.1',
command : [HELP2MAN,
'--name=Talkatu Demo', '--section=1',
'--help-option=--help-all', '--no-info',
'--output', '@OUTPUT@',
talkatudemo],
output : 'talkatu-demo.1',
install : true,
install_dir : join_paths(get_option('mandir'), 'man1'))
endif