sparkline: Remove unused variables to silence compiler warnings (Guido Gunther)

This commit is contained in:
Cole Robinson 2008-10-06 12:52:22 -04:00
parent 370d0b9aba
commit cded97af91
2 changed files with 0 additions and 10 deletions

View File

@ -142,7 +142,6 @@ static void gtk_cell_renderer_sparkline_class_init (GtkCellRendererSparklineClas
static void gtk_cell_renderer_sparkline_finalize (GObject *object)
{
GtkCellRendererSparkline *cellsparkline = GTK_CELL_RENDERER_SPARKLINE (object);
GtkCellRendererSparklinePrivate *priv;
priv = GTK_CELL_RENDERER_SPARKLINE_GET_PRIVATE (object);
@ -156,7 +155,6 @@ static void gtk_cell_renderer_sparkline_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GtkCellRendererSparkline *cellsparkline = GTK_CELL_RENDERER_SPARKLINE (object);
GtkCellRendererSparklinePrivate *priv;
priv = GTK_CELL_RENDERER_SPARKLINE_GET_PRIVATE (object);
@ -179,7 +177,6 @@ gtk_cell_renderer_sparkline_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
GtkCellRendererSparkline *cellsparkline = GTK_CELL_RENDERER_SPARKLINE (object);
GtkCellRendererSparklinePrivate *priv;
priv = GTK_CELL_RENDERER_SPARKLINE_GET_PRIVATE (object);
@ -205,7 +202,6 @@ static void gtk_cell_renderer_sparkline_get_size (GtkCellRenderer *cell,
gint *width,
gint *height)
{
GtkCellRendererSparkline *cellsparkline = (GtkCellRendererSparkline *) cell;
GtkCellRendererSparklinePrivate *priv;
GValueArray *data;

View File

@ -130,12 +130,9 @@ static void gtk_sparkline_class_init (GtkSparklineClass *class)
static void gtk_sparkline_finalize (GObject *object)
{
GtkSparkline *cellsparkline = GTK_SPARKLINE (object);
GtkSparklinePrivate *priv;
priv = GTK_SPARKLINE_GET_PRIVATE (object);
(* G_OBJECT_CLASS (parent_class)->finalize) (object);
}
@ -144,7 +141,6 @@ static void gtk_sparkline_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GtkSparkline *cellsparkline = GTK_SPARKLINE (object);
GtkSparklinePrivate *priv;
priv = GTK_SPARKLINE_GET_PRIVATE (object);
@ -167,7 +163,6 @@ gtk_sparkline_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
GtkSparkline *cellsparkline = GTK_SPARKLINE (object);
GtkSparklinePrivate *priv;
priv = GTK_SPARKLINE_GET_PRIVATE (object);
@ -189,7 +184,6 @@ gtk_sparkline_set_property (GObject *object,
static void gtk_sparkline_size_request(GtkWidget *widget,
GtkRequisition *area)
{
GtkSparkline *sparkline = (GtkSparkline *) widget;
GtkSparklinePrivate *priv;
GValueArray *data;