color: Fix fallout from the GtkTemplate port

Correct a typoed variable name so that calibration works again, instead
of crashing.

GLib-GObject-WARNING **: 15:52:50.561: invalid cast from 'GtkBox' to 'GtkEntry'
This commit is contained in:
Kalev Lember 2018-09-15 17:27:44 +02:00
parent 71b4d679b3
commit edc52c170d

View file

@ -574,7 +574,7 @@ gcm_prefs_title_entry_changed_cb (GtkWidget *widget,
const gchar *value;
assistant = GTK_ASSISTANT (prefs->assistant_calib);
value = gtk_entry_get_text (GTK_ENTRY (prefs->box_calib_title));
value = gtk_entry_get_text (GTK_ENTRY (prefs->entry_calib_title));
cc_color_calibrate_set_title (prefs->calibrate, value);
gtk_assistant_set_page_complete (assistant, prefs->box_calib_title, value[0] != '\0');
}