aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2012-02-02 13:28:27 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2012-02-02 13:28:27 +0100
commitb3ccabe6273a87ae9b60666098895d4f5e6c5a5f (patch)
tree9017fa62edbe232acee085171fcc56459d84cdce
parentd9a310a691e547af34aeca58e4b0b6b29b3e6a79 (diff)
downloadlogdiag-b3ccabe6273a87ae9b60666098895d4f5e6c5a5f.tar.gz
logdiag-b3ccabe6273a87ae9b60666098895d4f5e6c5a5f.tar.xz
logdiag-b3ccabe6273a87ae9b60666098895d4f5e6c5a5f.zip
Clean up dead assignments.
-rw-r--r--liblogdiag/ld-diagram-view.c2
-rw-r--r--liblogdiag/ld-library-toolbar.c3
-rw-r--r--src/ld-window-main.c3
3 files changed, 0 insertions, 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));
}