~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to libgd/libgd/gd-types-catalog.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2012 Red Hat, Inc.
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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
 
17
 *
 
18
 */
 
19
 
 
20
#ifdef HAVE_CONFIG_H
 
21
# include <config.h>
 
22
#endif
 
23
 
 
24
#include "gd-types-catalog.h"
 
25
 
 
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"
 
31
#endif
 
32
 
 
33
#ifdef LIBGD_MAIN_ICON_VIEW
 
34
# include "gd-main-icon-view.h"
 
35
#endif
 
36
 
 
37
#ifdef LIBGD_MAIN_LIST_VIEW
 
38
# include "gd-main-list-view.h"
 
39
#endif
 
40
 
 
41
#ifdef LIBGD_MAIN_VIEW
 
42
# include "gd-main-view.h"
 
43
#endif
 
44
 
 
45
#ifdef LIBGD_MAIN_TOOLBAR
 
46
# include "gd-main-toolbar.h"
 
47
#endif
 
48
 
 
49
#ifdef LIBGD_HEADER_BAR
 
50
# include "gd-header-bar.h"
 
51
#endif
 
52
 
 
53
#ifdef LIBGD__HEADER_BUTTON
 
54
# include "gd-header-button.h"
 
55
#endif
 
56
 
 
57
#ifdef LIBGD_MARGIN_CONTAINER
 
58
# include "gd-margin-container.h"
 
59
#endif
 
60
 
 
61
#ifdef LIBGD_TAGGED_ENTRY
 
62
# include "gd-tagged-entry.h"
 
63
#endif
 
64
 
 
65
#ifdef LIBGD_NOTIFICATION
 
66
# include "gd-notification.h"
 
67
#endif
 
68
 
 
69
#ifdef LIBGD_REVEALER
 
70
# include "gd-revealer.h"
 
71
#endif
 
72
 
 
73
#ifdef LIBGD_STACK
 
74
# include "gd-stack.h"
 
75
# include "gd-stack-switcher.h"
 
76
#endif
 
77
 
 
78
/**
 
79
 * gd_ensure_types:
 
80
 *
 
81
 * This functions must be called during initialization
 
82
 * to make sure the widget types are available to GtkBuilder.
 
83
 */
 
84
void
 
85
gd_ensure_types (void)
 
86
{
 
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);
 
92
#endif
 
93
 
 
94
#ifdef LIBGD_MAIN_ICON_VIEW
 
95
  g_type_ensure (GD_TYPE_MAIN_ICON_VIEW);
 
96
#endif
 
97
 
 
98
#ifdef LIBGD_MAIN_LIST_VIEW
 
99
  g_type_ensure (GD_TYPE_MAIN_LIST_VIEW);
 
100
#endif
 
101
 
 
102
#ifdef LIBGD_MAIN_VIEW
 
103
  g_type_ensure (GD_TYPE_MAIN_VIEW);
 
104
#endif
 
105
 
 
106
#ifdef LIBGD_MAIN_TOOLBAR
 
107
  g_type_ensure (GD_TYPE_MAIN_TOOLBAR);
 
108
#endif
 
109
 
 
110
#ifdef LIBGD_HEADER_BAR
 
111
  g_type_ensure (GD_TYPE_HEADER_BAR);
 
112
#endif
 
113
 
 
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);
 
119
#endif
 
120
 
 
121
#ifdef LIBGD_MARGIN_CONTAINER
 
122
  g_type_ensure (GD_TYPE_MARGIN_CONTAINER);
 
123
#endif
 
124
 
 
125
#ifdef LIBGD_TAGGED_ENTRY
 
126
  g_type_ensure (GD_TYPE_TAGGED_ENTRY);
 
127
#endif
 
128
 
 
129
#ifdef LIBGD_NOTIFICATION
 
130
  g_type_ensure (GD_TYPE_NOTIFICATION);
 
131
#endif
 
132
 
 
133
#ifdef LIBGD_REVEALER
 
134
  g_type_ensure (GD_TYPE_REVEALER);
 
135
#endif
 
136
 
 
137
#ifdef LIBGD_STACK
 
138
  g_type_ensure (GD_TYPE_STACK);
 
139
  g_type_ensure (GD_TYPE_STACK_SWITCHER);
 
140
#endif
 
141
}
 
142