[gegl] gegl-config: remove deprecated property "cache-size"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-config: remove deprecated property "cache-size"
- Date: Wed, 5 Jun 2013 22:01:25 +0000 (UTC)
commit e260a1e878285cb181fafdd4f0dba0564b0c30e9
Author: Michael Natterer <mitch gimp org>
Date: Thu Jun 6 00:00:14 2013 +0200
gegl-config: remove deprecated property "cache-size"
gegl/gegl-config.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 9d67bd9..60b66b2 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -37,7 +37,6 @@ enum
{
PROP_0,
PROP_QUALITY,
- PROP_CACHE_SIZE, /* deprecated */
PROP_TILE_CACHE_SIZE,
PROP_CHUNK_SIZE,
PROP_SWAP,
@@ -59,10 +58,6 @@ gegl_config_get_property (GObject *gobject,
switch (property_id)
{
- case PROP_CACHE_SIZE:
- g_value_set_int (value, config->tile_cache_size);
- break;
-
case PROP_TILE_CACHE_SIZE:
g_value_set_uint64 (value, config->tile_cache_size);
break;
@@ -119,9 +114,6 @@ gegl_config_set_property (GObject *gobject,
switch (property_id)
{
- case PROP_CACHE_SIZE:
- config->tile_cache_size = g_value_get_int (value);
- break;
case PROP_TILE_CACHE_SIZE:
config->tile_cache_size = g_value_get_uint64 (value);
break;
@@ -225,14 +217,6 @@ gegl_config_class_init (GeglConfigClass *klass)
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
- /* deprecated */
- g_object_class_install_property (gobject_class, PROP_CACHE_SIZE,
- g_param_spec_int ("cache-size",
- "Cache size",
- "deprecated, use tile-cache-size instead",
- 0, G_MAXINT, 512 * 1024 * 1024,
- G_PARAM_READWRITE));
-
g_object_class_install_property (gobject_class, PROP_TILE_CACHE_SIZE,
g_param_spec_uint64 ("tile-cache-size",
"Tile Cache size",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]