summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gtk/gtkcellrendereraccel.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ecd7141f8a..c0b66e3ef6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-14 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property):
+ implement getter for keycode property. (#476665, patch by
+ Christian Persch).
+
2007-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscalebutton.c: Use the right value type when setting
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index 139f7701f9..e6ff68b90c 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -274,6 +274,10 @@ gtk_cell_renderer_accel_get_property (GObject *object,
g_value_set_flags (value, accel->accel_mods);
break;
+ case PROP_KEYCODE:
+ g_value_set_uint (value, accel->keycode);
+ break;
+
case PROP_ACCEL_MODE:
g_value_set_enum (value, accel->accel_mode);
break;