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/
/*
* talkatu
* Copyright (C) 2017-2019 Gary Kramlich <grim@reaperworld.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TALKATU_DEMO_WINDOW_H
#define TALKATU_DEMO_WINDOW_H
#include <glib.h>
#include <glib-object.h>
#include <talkatu/talkatu.h>
G_BEGIN_DECLS
#define TALKATU_DEMO_TYPE_WINDOW (talkatu_demo_window_get_type())
G_DECLARE_FINAL_TYPE(TalkatuDemoWindow, talkatu_demo_window, TALKATU_DEMO, WINDOW, GtkWindow)
GtkWidget *talkatu_demo_window_new(void);
G_END_DECLS
#endif /* TALKATU_DEMO_WINDOW_H */