Avoid to typedef twice MainChannel

MainChannel is already defined in main-channel.h.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-10-20 13:00:25 +01:00
parent beec1b4175
commit 177c331c53
2 changed files with 1 additions and 4 deletions

View File

@ -21,12 +21,10 @@
#include <common/messages.h>
#include "red-channel-client.h"
#include "main-channel.h"
G_BEGIN_DECLS
/* FIXME: remove extra MainChannel typedef when possible */
typedef struct MainChannel MainChannel;
#define TYPE_MAIN_CHANNEL_CLIENT main_channel_client_get_type()
#define MAIN_CHANNEL_CLIENT(obj) \

View File

@ -23,7 +23,6 @@
#include <common/marshaller.h>
#include "red-channel.h"
#include "main-channel-client.h"
#define MAIN_CHANNEL(channel) ((MainChannel*)(channel))