diff options
author | John Stebbins <[email protected]> | 2019-07-29 16:40:09 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-07-29 16:40:09 -0700 |
commit | 7192eab2b82783c7a180865e35dc39f1d0a31a90 (patch) | |
tree | 24929d99c22e42b84e17720eda4d6aa404a99890 /gtk/src/queuehandler.c | |
parent | f1eb28e3fcef8d5a01d99845781f4eede5b3cc44 (diff) |
LinGui: gtk4 port, fix reading/writing GtkSpinButton text
In GTK4, GtkSpinButton is no longer a subclass of GtkEntry. Must use
GtkEditable APIs in GTK4
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 8d522075d..80549c014 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -2830,7 +2830,7 @@ queue_add_all_action_cb(GSimpleAction *action, GVariant *param, dest_dir = ghb_dict_get_string(settings, "dest_dir"); gtk_label_set_markup(label, title_label); - ghb_entry_set_text(entry, dest_file); + ghb_editable_set_text(entry, dest_file); gtk_file_chooser_set_filename(chooser, dest_dir); g_free(title_label); |