blob: 75f7d5775175d9dc9601da6b66e5dd1fd9a4c4ff (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
/*
* Copyright (c) 2012 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#include "gd-types-catalog.h"
#ifdef LIBGD__BOX_COMMON
# include "gd-main-box-child.h"
# include "gd-main-box-generic.h"
# include "gd-main-box-item.h"
#endif
#ifdef LIBGD_MAIN_ICON_BOX
# include "gd-main-icon-box.h"
# include "gd-main-icon-box-child.h"
#endif
#ifdef LIBGD_MAIN_BOX
# include "gd-main-box.h"
#endif
#ifdef LIBGD__VIEW_COMMON
# include "gd-main-view-generic.h"
# include "gd-styled-text-renderer.h"
# include "gd-two-lines-renderer.h"
#endif
#ifdef LIBGD_MAIN_ICON_VIEW
# include "gd-main-icon-view.h"
# include "gd-toggle-pixbuf-renderer.h"
#endif
#ifdef LIBGD_MAIN_LIST_VIEW
# include "gd-main-list-view.h"
#endif
#ifdef LIBGD_MAIN_VIEW
# include "gd-main-view.h"
#endif
#ifdef LIBGD_MARGIN_CONTAINER
# include "gd-margin-container.h"
#endif
#ifdef LIBGD_TAGGED_ENTRY
# include "gd-tagged-entry.h"
#endif
#ifdef LIBGD_NOTIFICATION
# include "gd-notification.h"
#endif
/**
* gd_ensure_types:
*
* This functions must be called during initialization
* to make sure the widget types are available to GtkBuilder.
*/
void
gd_ensure_types (void)
{
#ifdef LIBGD__BOX_COMMON
g_type_ensure (GD_TYPE_MAIN_BOX_CHILD);
g_type_ensure (GD_TYPE_MAIN_BOX_GENERIC);
g_type_ensure (GD_TYPE_MAIN_BOX_ITEM);
#endif
#ifdef LIBGD_MAIN_ICON_BOX
g_type_ensure (GD_TYPE_MAIN_ICON_BOX);
g_type_ensure (GD_TYPE_MAIN_ICON_BOX_CHILD);
#endif
#ifdef LIBGD_MAIN_BOX
g_type_ensure (GD_TYPE_MAIN_BOX);
#endif
#ifdef LIBGD__VIEW_COMMON
g_type_ensure (GD_TYPE_MAIN_VIEW_GENERIC);
g_type_ensure (GD_TYPE_STYLED_TEXT_RENDERER);
g_type_ensure (GD_TYPE_TWO_LINES_RENDERER);
#endif
#ifdef LIBGD_MAIN_ICON_VIEW
g_type_ensure (GD_TYPE_MAIN_ICON_VIEW);
g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER);
#endif
#ifdef LIBGD_MAIN_LIST_VIEW
g_type_ensure (GD_TYPE_MAIN_LIST_VIEW);
#endif
#ifdef LIBGD_MAIN_VIEW
g_type_ensure (GD_TYPE_MAIN_VIEW);
#endif
#ifdef LIBGD_MARGIN_CONTAINER
g_type_ensure (GD_TYPE_MARGIN_CONTAINER);
#endif
#ifdef LIBGD_TAGGED_ENTRY
g_type_ensure (GD_TYPE_TAGGED_ENTRY);
#endif
#ifdef LIBGD_NOTIFICATION
g_type_ensure (GD_TYPE_NOTIFICATION);
#endif
}
|