Updated Spanish translation
[evolution.git] / e-util / gal-a11y-util.c
blobbcb993c9509b4a524596b9754f20e7ffd6414020
1 /*
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
10 * for more details.
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/>.
16 * Authors:
17 * Christopher James Lahey <clahey@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
27 #include "gal-a11y-util.h"
29 GType
30 gal_a11y_type_register_static_with_private (GType parent_type,
31 const gchar *type_name,
32 GTypeInfo *info,
33 GTypeFlags flags,
34 gint priv_size,
35 gint *priv_offset)
37 GTypeQuery query;
39 g_type_query (parent_type, &query);
41 info->class_size = query.class_size;
42 info->instance_size = query.instance_size + priv_size;
44 if (priv_offset)
45 *priv_offset = query.instance_size;
47 return g_type_register_static (parent_type, type_name, info, flags);