Get rid of local unused variable "config"

This commit is contained in:
Michael Natterer 2009-10-12 14:46:27 +02:00
parent 77faffe4b7
commit 824be894a1
1 changed files with 2 additions and 7 deletions

View File

@ -94,7 +94,6 @@ gimp_dynamics_editor_init (GimpDynamicsEditor *editor)
{
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (editor);
GimpDynamics *dynamics;
GObject *config;
GtkWidget *vbox;
GtkWidget *table;
GtkWidget *inner_frame;
@ -103,16 +102,12 @@ gimp_dynamics_editor_init (GimpDynamicsEditor *editor)
gint n_inputs = G_N_ELEMENTS (input_labels);
gint i;
editor->dynamics_model = g_object_new (GIMP_TYPE_DYNAMICS, NULL);
dynamics = editor->dynamics_model = g_object_new (GIMP_TYPE_DYNAMICS, NULL);
g_signal_connect (editor->dynamics_model, "notify",
g_signal_connect (dynamics, "notify",
G_CALLBACK (gimp_dynamics_editor_notify_model),
editor);
dynamics = editor->dynamics_model;
config = G_OBJECT (dynamics);
vbox = gtk_vbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (data_editor), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);