Clean up dead assignments.
This commit is contained in:
parent
d9a310a691
commit
b3ccabe627
|
@ -1997,9 +1997,7 @@ static void
|
||||||
oper_select_queue_draw (LdDiagramView *self)
|
oper_select_queue_draw (LdDiagramView *self)
|
||||||
{
|
{
|
||||||
LdRectangle rect;
|
LdRectangle rect;
|
||||||
SelectData *data;
|
|
||||||
|
|
||||||
data = &OPER_DATA (self, select);
|
|
||||||
oper_select_get_rectangle (self, &rect);
|
oper_select_get_rectangle (self, &rect);
|
||||||
queue_draw (self, &rect);
|
queue_draw (self, &rect);
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,11 +125,8 @@ static void
|
||||||
ld_library_toolbar_class_init (LdLibraryToolbarClass *klass)
|
ld_library_toolbar_class_init (LdLibraryToolbarClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class;
|
GObjectClass *object_class;
|
||||||
GtkWidgetClass *widget_class;
|
|
||||||
GParamSpec *pspec;
|
GParamSpec *pspec;
|
||||||
|
|
||||||
widget_class = GTK_WIDGET_CLASS (klass);
|
|
||||||
|
|
||||||
object_class = G_OBJECT_CLASS (klass);
|
object_class = G_OBJECT_CLASS (klass);
|
||||||
object_class->get_property = ld_library_toolbar_get_property;
|
object_class->get_property = ld_library_toolbar_get_property;
|
||||||
object_class->set_property = ld_library_toolbar_set_property;
|
object_class->set_property = ld_library_toolbar_set_property;
|
||||||
|
|
|
@ -216,13 +216,10 @@ static void
|
||||||
ld_window_main_class_init (LdWindowMainClass *klass)
|
ld_window_main_class_init (LdWindowMainClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class;
|
GObjectClass *object_class;
|
||||||
GtkWidgetClass *widget_class;
|
|
||||||
|
|
||||||
object_class = G_OBJECT_CLASS (klass);
|
object_class = G_OBJECT_CLASS (klass);
|
||||||
object_class->finalize = ld_window_main_finalize;
|
object_class->finalize = ld_window_main_finalize;
|
||||||
|
|
||||||
widget_class = GTK_WIDGET_CLASS (klass);
|
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (LdWindowMainPrivate));
|
g_type_class_add_private (klass, sizeof (LdWindowMainPrivate));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue