1
/* GIMP - The GNU Image Manipulation Program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
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 2 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, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
#include "tools-types.h"
25
#include "gimpalignoptions.h"
26
#include "gimptooloptions-gui.h"
29
G_DEFINE_TYPE (GimpAlignOptions, gimp_align_options, GIMP_TYPE_TOOL_OPTIONS)
33
gimp_align_options_class_init (GimpAlignOptionsClass *klass)
38
gimp_align_options_init (GimpAlignOptions *options)
43
gimp_align_options_gui (GimpToolOptions *tool_options)
45
GtkWidget *vbox = gimp_tool_options_gui (tool_options);
48
container = gtk_vbox_new (FALSE, 0);
49
gtk_box_pack_start (GTK_BOX (vbox), container, FALSE, FALSE, 0);
50
gtk_widget_show (container);
52
g_object_set_data (G_OBJECT (tool_options), "controls-container", container);