2000-09-29 12:00:00 +00:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2000-12-16 21:37:03 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
#include "apptypes.h"
|
|
|
|
|
|
|
|
#include "gimpobject.h"
|
1998-06-28 10:39:58 +00:00
|
|
|
|
2000-12-16 21:37:03 +00:00
|
|
|
|
1998-06-28 10:39:58 +00:00
|
|
|
static void
|
2000-09-29 12:00:00 +00:00
|
|
|
gimp_object_init (GimpObject *object)
|
1998-06-28 10:39:58 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2000-09-29 12:00:00 +00:00
|
|
|
gimp_object_class_init (GimpObjectClass *klass)
|
1998-06-28 10:39:58 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
1999-11-06 18:19:41 +00:00
|
|
|
GtkType
|
|
|
|
gimp_object_get_type (void)
|
1998-06-28 10:39:58 +00:00
|
|
|
{
|
2001-01-10 00:36:54 +00:00
|
|
|
static GtkType object_type = 0;
|
|
|
|
|
|
|
|
if (! object_type)
|
|
|
|
{
|
|
|
|
GtkTypeInfo object_info =
|
|
|
|
{
|
|
|
|
"GimpObject",
|
|
|
|
sizeof (GimpObject),
|
|
|
|
sizeof (GimpObjectClass),
|
|
|
|
(GtkClassInitFunc) gimp_object_class_init,
|
|
|
|
(GtkObjectInitFunc) gimp_object_init,
|
|
|
|
/* reserved_1 */ NULL,
|
|
|
|
/* reserved_2 */ NULL,
|
|
|
|
(GtkClassInitFunc) NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
object_type = gtk_type_unique (GTK_TYPE_OBJECT, &object_info);
|
|
|
|
}
|
|
|
|
|
|
|
|
return object_type;
|
2000-09-29 12:00:00 +00:00
|
|
|
}
|