diff options
author | jstebbins <[email protected]> | 2011-03-22 01:07:07 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-22 01:07:07 +0000 |
commit | 3ae6df83154db68e292efd9aace5309c3fbc5312 (patch) | |
tree | bec2696315059685ca29544ce3d87f9d4828f238 | |
parent | 0bbe89324d25c6e1e6ca68198dfe2356175dcf8f (diff) |
LinGui: Remove deprecated use of GDK_* keysyms
They have been changed to GDK_KEY_*
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3862 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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); |