Clean up dead assignments.

This commit is contained in:
Přemysl Eric Janouch 2012-02-02 13:28:27 +01:00
parent d9a310a691
commit b3ccabe627
3 changed files with 0 additions and 8 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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));
}