1 /*
2  * glade-gtk-arrow.c - GladeWidgetAdaptor for GtkArrow
3  *
4  * Copyright (C) 2013 Tristan Van Berkom
5  *
6  * Authors:
7  *      Tristan Van Berkom <tristan.van.berkom@gmail.com>
8  *
9  * This library is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as
11  * published by the Free Software Foundation; either version 2.1 of
12  * the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  */
23 
24 #include <config.h>
25 #include <glib/gi18n-lib.h>
26 #include <gladeui/glade.h>
27 
28 #include "glade-arrow-editor.h"
29 
30 GladeEditable *
31 glade_gtk_arrow_create_editable (GladeWidgetAdaptor * adaptor,
32                                  GladeEditorPageType type)
33 {
34   GladeEditable *editable;
35 
36   if (type == GLADE_PAGE_GENERAL)
37     editable = (GladeEditable *) glade_arrow_editor_new ();
38   else
39     editable = GWA_GET_CLASS (GTK_TYPE_WIDGET)->create_editable (adaptor, type);
40 
41   return editable;
42 }
43