Commit e523ba2c authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

implement getter for keycode property. (#476665, patch by Christian

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).


svn path=/trunk/; revision=18817
parent e297090f
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment