3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * You should have received a copy of the GNU Lesser General Public License
13 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 * Christopher James Lahey <clahey@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
27 #include "gal-a11y-util.h"
30 gal_a11y_type_register_static_with_private (GType parent_type
,
31 const gchar
*type_name
,
39 g_type_query (parent_type
, &query
);
41 info
->class_size
= query
.class_size
;
42 info
->instance_size
= query
.instance_size
+ priv_size
;
45 *priv_offset
= query
.instance_size
;
47 return g_type_register_static (parent_type
, type_name
, info
, flags
);