summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
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");