removed unused includes and property blurbs.

2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpguide.c: removed unused includes and property
blurbs.
This commit is contained in:
Sven Neumann 2006-06-07 18:32:25 +00:00 committed by Sven Neumann
parent 7499fc89ff
commit f55b151430
2 changed files with 7 additions and 11 deletions

View file

@ -1,3 +1,7 @@
2006-06-07 Sven Neumann <sven@gimp.org>
* app/core/gimpguide.c: removed unused includes and property blurbs.
2006-06-07 Michael Natterer <mitch@gimp.org>
* app/core/gimpguide.[ch]: added gimp_guide_get_ID().

View file

@ -21,20 +21,15 @@
#include "config.h"
#include <string.h> /* strcmp */
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpbase/gimplimits.h"
#include "libgimpconfig/gimpconfig.h"
#include "core-types.h"
#include "gimpguide.h"
#include "gimp-intl.h"
enum
{
@ -67,23 +62,20 @@ gimp_guide_class_init (GimpGuideClass *klass)
object_class->set_property = gimp_guide_set_property;
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_ID,
"id",
N_("Identifying number for the guide."),
"id", NULL,
0,
G_MAXINT, 0,
G_PARAM_CONSTRUCT_ONLY |
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_ORIENTATION,
"orientation",
N_("Orientation of the guide."),
"orientation", NULL,
GIMP_TYPE_ORIENTATION_TYPE,
GIMP_ORIENTATION_UNKNOWN,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_POSITION,
"position",
N_("Offset of the guide."),
"position", NULL,
-1,
GIMP_MAX_IMAGE_SIZE, -1,
GIMP_PARAM_STATIC_STRINGS);