event-editor/time-selector: Port to GTK4

This commit is contained in:
Georges Basile Stavracas Neto
2022-02-11 09:18:38 -03:00
parent b5dc363a3b
commit e390706e44
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ on_output (GtkWidget *widget,
adjustment = gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (widget));
value = (gint) gtk_adjustment_get_value (adjustment);
text = g_strdup_printf ("%02d", value);
gtk_entry_set_text (GTK_ENTRY (widget), text);
gtk_editable_set_text (GTK_EDITABLE (widget), text);
g_free (text);