ServerContextService: Drop GObject boilerplate

G_DECLARE_FINAL_TYPE does this for us
This commit is contained in:
Guido Günther
2020-09-11 18:13:08 +02:00
parent 6756fb423a
commit 97f51591b3
2 changed files with 1 additions and 15 deletions

View File

@ -34,8 +34,6 @@ enum {
PROP_LAST
};
typedef struct _ServerContextServiceClass ServerContextServiceClass;
struct _ServerContextService {
GObject parent;
@ -52,10 +50,6 @@ struct _ServerContextService {
guint last_requested_height;
};
struct _ServerContextServiceClass {
GObjectClass parent_class;
};
G_DEFINE_TYPE(ServerContextService, server_context_service, G_TYPE_OBJECT);
static void