1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2009, 2010 Free Software Foundation
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #include "psppire-select-dest.h"
23 psppire_select_dest_widget_get_type (void)
25 static GType dest_widget_type = 0;
27 if (! dest_widget_type)
29 const GTypeInfo dest_widget_info =
31 sizeof (PsppireSelectDestWidgetIface), /* class_size */
33 NULL, /* base_finalize */
35 NULL, /* class_finalize */
36 NULL, /* class_data */
40 NULL /* value_table */
44 g_type_register_static (G_TYPE_INTERFACE, "PsppireSelectDestWidget",
45 &dest_widget_info, 0);
47 g_type_interface_add_prerequisite (dest_widget_type, GTK_TYPE_WIDGET);
50 return dest_widget_type;
55 psppire_select_dest_widget_contains_var (PsppireSelectDestWidget *sdm, const GValue *value)
57 return PSPPIRE_SELECT_DEST_GET_IFACE (sdm)->contains_var (sdm, value);