diff options
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/callbacks.c | 4 | ||||
-rw-r--r-- | gtk/src/queuehandler.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index daa5d97ef..3fccd80ea 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -3479,7 +3479,7 @@ chapter_edited_cb( chapters = ghb_settings_get_value(ud->settings, "chapter_list"); chapter = ghb_array_get_nth(chapters, index-1); g_value_set_string(chapter, text); - if ((chapter_edit_key == GDK_Return || chapter_edit_key == GDK_Down) && + if ((chapter_edit_key == GDK_KEY_Return || chapter_edit_key == GDK_KEY_Down) && gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &iter)) { GtkTreeViewColumn *column; @@ -3512,7 +3512,7 @@ chapter_edited_cb( column = gtk_tree_view_get_column(treeview, 2); gtk_tree_view_set_cursor(treeview, treepath, column, TRUE); } - else if (chapter_edit_key == GDK_Up && row > 0) + else if (chapter_edit_key == GDK_KEY_Up && row > 0) { GtkTreeViewColumn *column; gtk_tree_path_prev(treepath); diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 58def99c2..dfa0e1738 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -1340,7 +1340,7 @@ queue_key_press_cb( gint status; g_debug("queue_key_press_cb ()"); - if (event->keyval != GDK_Delete) + if (event->keyval != GDK_KEY_Delete) return FALSE; treeview = GTK_TREE_VIEW(GHB_WIDGET(ud->builder, "queue_list")); store = gtk_tree_view_get_model(treeview); |