From b3ccabe6273a87ae9b60666098895d4f5e6c5a5f Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 2 Feb 2012 13:28:27 +0100
Subject: Clean up dead assignments.
---
liblogdiag/ld-diagram-view.c | 2 --
liblogdiag/ld-library-toolbar.c | 3 ---
src/ld-window-main.c | 3 ---
3 files changed, 8 deletions(-)
diff --git a/liblogdiag/ld-diagram-view.c b/liblogdiag/ld-diagram-view.c
index 1898177..d8b5d0a 100644
--- a/liblogdiag/ld-diagram-view.c
+++ b/liblogdiag/ld-diagram-view.c
@@ -1997,9 +1997,7 @@ static void
oper_select_queue_draw (LdDiagramView *self)
{
LdRectangle rect;
- SelectData *data;
- data = &OPER_DATA (self, select);
oper_select_get_rectangle (self, &rect);
queue_draw (self, &rect);
}
diff --git a/liblogdiag/ld-library-toolbar.c b/liblogdiag/ld-library-toolbar.c
index 295589e..bd1baae 100644
--- a/liblogdiag/ld-library-toolbar.c
+++ b/liblogdiag/ld-library-toolbar.c
@@ -125,11 +125,8 @@ static void
ld_library_toolbar_class_init (LdLibraryToolbarClass *klass)
{
GObjectClass *object_class;
- GtkWidgetClass *widget_class;
GParamSpec *pspec;
- widget_class = GTK_WIDGET_CLASS (klass);
-
object_class = G_OBJECT_CLASS (klass);
object_class->get_property = ld_library_toolbar_get_property;
object_class->set_property = ld_library_toolbar_set_property;
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 22278ab..1a448f6 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -216,13 +216,10 @@ static void
ld_window_main_class_init (LdWindowMainClass *klass)
{
GObjectClass *object_class;
- GtkWidgetClass *widget_class;
object_class = G_OBJECT_CLASS (klass);
object_class->finalize = ld_window_main_finalize;
- widget_class = GTK_WIDGET_CLASS (klass);
-
g_type_class_add_private (klass, sizeof (LdWindowMainPrivate));
}
--
cgit v1.2.3-70-g09d2