summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-22 01:07:07 +0000
committerjstebbins <[email protected]>2011-03-22 01:07:07 +0000
commit3ae6df83154db68e292efd9aace5309c3fbc5312 (patch)
treebec2696315059685ca29544ce3d87f9d4828f238 /gtk/src/callbacks.c
parent0bbe89324d25c6e1e6ca68198dfe2356175dcf8f (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
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c4
1 files changed, 2 insertions, 2 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);