aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.c
blob: 080372a51ed67380918af7f6e49593edbf0aa076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "menuitem.h"

typedef struct _DbusmenuMenuitemPrivate DbusmenuMenuitemPrivate;

struct _DbusmenuMenuitemPrivate
{
};

#define DBUSMENU_MENUITEM_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE ((o), DBUSMENU_MENUITEM_TYPE, DbusmenuMenuitemPrivate))

static void dbusmenu_menuitem_class_init (DbusmenuMenuitemClass *klass);
static void dbusmenu_menuitem_init       (DbusmenuMenuitem *self);
static void dbusmenu_menuitem_dispose    (GObject *object);
static void dbusmenu_menuitem_finalize   (GObject *object);

G_DEFINE_TYPE (DbusmenuMenuitem, dbusmenu_menuitem, G_TYPE_OBJECT);

static void
dbusmenu_menuitem_class_init (DbusmenuMenuitemClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);

g_type_class_add_private (klass, sizeof (DbusmenuMenuitemPrivate));

object_class->dispose = dbusmenu_menuitem_dispose;
object_class->finalize = dbusmenu_menuitem_finalize;
}

static void
dbusmenu_menuitem_init (DbusmenuMenuitem *self)
{
}

static void
dbusmenu_menuitem_dispose (GObject *object)
{
G_OBJECT_CLASS (dbusmenu_menuitem_parent_class)->dispose (object);
}

static void
dbusmenu_menuitem_finalize (GObject *object)
{
G_OBJECT_CLASS (dbusmenu_menuitem_parent_class)->finalize (object);
}