summaryrefslogtreecommitdiffstats
path: root/test/egg-property-cell-renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/egg-property-cell-renderer.c')
-rw-r--r--test/egg-property-cell-renderer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/egg-property-cell-renderer.c b/test/egg-property-cell-renderer.c
index d6cc5d5..c04e7c4 100644
--- a/test/egg-property-cell-renderer.c
+++ b/test/egg-property-cell-renderer.c
@@ -111,7 +111,6 @@ egg_property_cell_renderer_set_renderer (EggPropertyCellRenderer *renderer,
GParamSpec *pspec;
gchar *text = NULL;
gdouble number;
- gboolean change_adjustment = FALSE;
priv = EGG_PROPERTY_CELL_RENDERER_GET_PRIVATE (renderer);
pspec = get_pspec_from_object (priv->object, prop_name);
@@ -133,7 +132,6 @@ egg_property_cell_renderer_set_renderer (EggPropertyCellRenderer *renderer,
priv->renderer = priv->spin_renderer;
g_object_set (renderer, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
g_object_set (priv->renderer, "digits", 5, NULL);
- change_adjustment = TRUE;
break;
case G_TYPE_INT:
@@ -145,7 +143,6 @@ egg_property_cell_renderer_set_renderer (EggPropertyCellRenderer *renderer,
priv->renderer = priv->spin_renderer;
g_object_set (renderer, "mode", GTK_CELL_RENDERER_MODE_EDITABLE, NULL);
g_object_set (priv->renderer, "digits", 0, NULL);
- change_adjustment = TRUE;
break;
/* text renderers */