ServerContextService: Drop GObject boilerplate
G_DECLARE_FINAL_TYPE does this for us
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user