2
* Copyright (c) 2011 Red Hat, Inc.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
* License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Cosimo Cecchi <cosimoc@redhat.com>
22
#ifndef _GD_MARGIN_CONTAINER_H
23
#define _GD_MARGIN_CONTAINER_H
25
#include <glib-object.h>
31
#define GD_TYPE_MARGIN_CONTAINER gd_margin_container_get_type()
33
#define GD_MARGIN_CONTAINER(obj) \
34
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
35
GD_TYPE_MARGIN_CONTAINER, GdMarginContainer))
37
#define GD_MARGIN_CONTAINER_CLASS(klass) \
38
(G_TYPE_CHECK_CLASS_CAST ((klass), \
39
GD_TYPE_MARGIN_CONTAINER, GdMarginContainerClass))
41
#define GD_IS_MARGIN_CONTAINER(obj) \
42
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
43
GD_TYPE_MARGIN_CONTAINER))
45
#define GD_IS_MARGIN_CONTAINER_CLASS(klass) \
46
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
47
GD_TYPE_MARGIN_CONTAINER))
49
#define GD_MARGIN_CONTAINER_GET_CLASS(obj) \
50
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
51
GD_TYPE_MARGIN_CONTAINER, GdMarginContainerClass))
53
typedef struct _GdMarginContainer GdMarginContainer;
54
typedef struct _GdMarginContainerClass GdMarginContainerClass;
55
typedef struct _GdMarginContainerPrivate GdMarginContainerPrivate;
57
struct _GdMarginContainer
61
GdMarginContainerPrivate *priv;
64
struct _GdMarginContainerClass
66
GtkBinClass parent_class;
69
GType gd_margin_container_get_type (void) G_GNUC_CONST;
71
GdMarginContainer *gd_margin_container_new (void);
75
#endif /* _GD_MARGIN_CONTAINER_H */