sparkline: Remove unused variables to silence compiler warnings (Guido Gunther)
This commit is contained in:
parent
370d0b9aba
commit
cded97af91
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue