Commit 337947de authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

reverted previous change for now.

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

	* app/core/gimpdata.c: reverted previous change for now.
parent f0224fe1
2005-05-27 Sven Neumann <sven@gimp.org>
* app/core/gimpdata.c: reverted previous change for now.
2005-05-27 Sven Neumann <sven@gimp.org>
* app/core/gimpdata.c: mark properties as serializable.
......
......@@ -32,7 +32,6 @@
#include <glib/gstdio.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpconfig/gimpconfig.h"
#ifdef G_OS_WIN32
#include "libgimpbase/gimpwin32-io.h"
......@@ -145,18 +144,26 @@ gimp_data_class_init (GimpDataClass *klass)
klass->get_extension = NULL;
klass->duplicate = NULL;
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);
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));
}
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