mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Merge branch 'matthiasc/for-main' into 'main'
docs: Fix a spinbutton example See merge request GNOME/gtk!4686
This commit is contained in:
commit
a0374334d4
@ -514,7 +514,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
|
||||
* adjustment = gtk_spin_button_get_adjustment (spin);
|
||||
* value = (int)gtk_adjustment_get_value (adjustment);
|
||||
* text = g_strdup_printf ("%02d", value);
|
||||
* gtk_spin_button_set_text (spin, text):
|
||||
* gtk_editable_set_text (GTK_EDITABLE (spin), text):
|
||||
* g_free (text);
|
||||
*
|
||||
* return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user