summaryrefslogtreecommitdiff
path: root/tests/testaccel.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2005-09-22 16:33:50 +0000
committerMichael Natterer <mitch@src.gnome.org>2005-09-22 16:33:50 +0000
commit080889e0740c8c6991b46052fb66fca08e118a8e (patch)
tree1fe70ffd795f31382a22975f1f9ffd3c86921ab5 /tests/testaccel.c
parent155cfe3e9e87971d392feff7fa3f366c5d0e53f5 (diff)
downloadgtk+-080889e0740c8c6991b46052fb66fca08e118a8e.tar.gz
Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent with
2005-09-22 Michael Natterer <mitch@imendio.com> Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent with GTK+ terminology: * gtk/gtkcellrendererkeys.[ch] * tests/testkeys.c: removed... * gtk/gtkcellrendereraccel.[ch] * tests/testaccel.c: ...and added. * gtk/Makefile.am * gtk/gtk.h * gtk/gtk.symbols * tests/Makefile.am: changed accordingly.
Diffstat (limited to 'tests/testaccel.c')
-rw-r--r--tests/testaccel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testaccel.c b/tests/testaccel.c
index d92d5d69d0..537ef07605 100644
--- a/tests/testaccel.c
+++ b/tests/testaccel.c
@@ -1,4 +1,4 @@
-/* gtkcellrendererkeys.h
+/* gtkcellrendereraccel.h
* Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford <jrb@redhat.com>
*
* This library is free software; you can redistribute it and/or
@@ -63,9 +63,9 @@ key_test (void)
tv = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
gtk_container_add (GTK_CONTAINER (sw), tv);
column = gtk_tree_view_column_new ();
- rend = gtk_cell_renderer_keys_new ();
+ rend = gtk_cell_renderer_accel_new ();
g_object_set (G_OBJECT (rend),
- "accel-mode", GTK_CELL_RENDERER_KEYS_MODE_GTK,
+ "accel-mode", GTK_CELL_RENDERER_ACCEL_MODE_GTK,
"editable", TRUE,
NULL);
g_signal_connect (G_OBJECT (rend),