summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}