Commit f0224fe1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

mark properties as serializable.

2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: mark properties as serializable.
parent 5d401872
2005-05-27 Sven Neumann <sven@gimp.org>
* app/core/gimpdata.c: mark properties as serializable.
2005-05-26 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c
......
......@@ -32,6 +32,7 @@
#include <glib/gstdio.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpconfig/gimpconfig.h"
#ifdef G_OS_WIN32
#include "libgimpbase/gimpwin32-io.h"
......@@ -144,26 +145,18 @@ gimp_data_class_init (GimpDataClass *klass)
klass->get_extension = NULL;
klass->duplicate = NULL;
g_object_class_install_property (object_class, PROP_FILENAME,
g_param_spec_string ("filename", NULL, NULL,
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_WRITABLE,
g_param_spec_boolean ("writable", NULL, NULL,
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_WRITABLE,
g_param_spec_boolean ("deletable", NULL, NULL,
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_MIME_TYPE,
g_param_spec_string ("mime-type", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_WRITABLE, "writable",
NULL, FALSE,
0);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_WRITABLE, "deletable",
NULL, FALSE,
0);
GIMP_CONFIG_INSTALL_PROP_STRING (object_class, PROP_FILENAME, "filename",
NULL, NULL,
0);
GIMP_CONFIG_INSTALL_PROP_STRING (object_class, PROP_MIME_TYPE, "mime-type",
NULL, NULL,
0);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment