2
* Copyright (c) 2012 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
24
#include "gd-types-catalog.h"
26
#ifdef LIBGD__VIEW_COMMON
27
# include "gd-main-view-generic.h"
28
# include "gd-styled-text-renderer.h"
29
# include "gd-toggle-pixbuf-renderer.h"
30
# include "gd-two-lines-renderer.h"
33
#ifdef LIBGD_MAIN_ICON_VIEW
34
# include "gd-main-icon-view.h"
37
#ifdef LIBGD_MAIN_LIST_VIEW
38
# include "gd-main-list-view.h"
41
#ifdef LIBGD_MAIN_VIEW
42
# include "gd-main-view.h"
45
#ifdef LIBGD_MAIN_TOOLBAR
46
# include "gd-main-toolbar.h"
49
#ifdef LIBGD_HEADER_BAR
50
# include "gd-header-bar.h"
53
#ifdef LIBGD__HEADER_BUTTON
54
# include "gd-header-button.h"
57
#ifdef LIBGD_MARGIN_CONTAINER
58
# include "gd-margin-container.h"
61
#ifdef LIBGD_TAGGED_ENTRY
62
# include "gd-tagged-entry.h"
65
#ifdef LIBGD_NOTIFICATION
66
# include "gd-notification.h"
70
# include "gd-revealer.h"
74
# include "gd-stack.h"
75
# include "gd-stack-switcher.h"
81
* This functions must be called during initialization
82
* to make sure the widget types are available to GtkBuilder.
85
gd_ensure_types (void)
87
#ifdef LIBGD__VIEW_COMMON
88
g_type_ensure (GD_TYPE_MAIN_VIEW_GENERIC);
89
g_type_ensure (GD_TYPE_STYLED_TEXT_RENDERER);
90
g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER);
91
g_type_ensure (GD_TYPE_TWO_LINES_RENDERER);
94
#ifdef LIBGD_MAIN_ICON_VIEW
95
g_type_ensure (GD_TYPE_MAIN_ICON_VIEW);
98
#ifdef LIBGD_MAIN_LIST_VIEW
99
g_type_ensure (GD_TYPE_MAIN_LIST_VIEW);
102
#ifdef LIBGD_MAIN_VIEW
103
g_type_ensure (GD_TYPE_MAIN_VIEW);
106
#ifdef LIBGD_MAIN_TOOLBAR
107
g_type_ensure (GD_TYPE_MAIN_TOOLBAR);
110
#ifdef LIBGD_HEADER_BAR
111
g_type_ensure (GD_TYPE_HEADER_BAR);
114
#ifdef LIBGD__HEADER_BUTTON
115
g_type_ensure (GD_TYPE_HEADER_SIMPLE_BUTTON);
116
g_type_ensure (GD_TYPE_HEADER_MENU_BUTTON);
117
g_type_ensure (GD_TYPE_HEADER_TOGGLE_BUTTON);
118
g_type_ensure (GD_TYPE_HEADER_RADIO_BUTTON);
121
#ifdef LIBGD_MARGIN_CONTAINER
122
g_type_ensure (GD_TYPE_MARGIN_CONTAINER);
125
#ifdef LIBGD_TAGGED_ENTRY
126
g_type_ensure (GD_TYPE_TAGGED_ENTRY);
129
#ifdef LIBGD_NOTIFICATION
130
g_type_ensure (GD_TYPE_NOTIFICATION);
133
#ifdef LIBGD_REVEALER
134
g_type_ensure (GD_TYPE_REVEALER);
138
g_type_ensure (GD_TYPE_STACK);
139
g_type_ensure (GD_TYPE_STACK_SWITCHER);