summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-12-10 09:17:58 -0800
committerJohn Stebbins <[email protected]>2019-12-10 09:18:57 -0800
commit116b4f776fc393e894c2535ef48c215d37fa222c (patch)
tree12198b313835e61926e8f9ba556db161c54063b2 /gtk
parent15488668bc372f8d4b1d01811ea238a3803619fb (diff)
LinGui: fix display of chapter start time
they were all showing 0:00 start time :( (cherry picked from commit 4e566864794df77ff9ab1c998531b06c88fa7151)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/chapters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/chapters.c b/gtk/src/chapters.c
index eb911579a..5227d58b7 100644
--- a/gtk/src/chapters.c
+++ b/gtk/src/chapters.c
@@ -172,6 +172,7 @@ chapter_refresh_list_ui(signal_user_data_t *ud)
GtkListBox * lb;
GtkWidget * row;
gint ii, count;
+ int64_t start = 0, duration;
lb = GTK_LIST_BOX(GHB_WIDGET(ud->builder, "chapters_list"));
@@ -182,7 +183,6 @@ chapter_refresh_list_ui(signal_user_data_t *ud)
GhbValue * chapter_dict;
GhbValue * duration_dict;
const char * name;
- int64_t start = 0, duration;
chapter_dict = ghb_array_get(chapter_list, ii);
name = ghb_dict_get_string(chapter_dict, "Name");