Apply patch from Lee Mallabone to add object properties.
Mon Mar 5 14:55:19 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcellrenderertoggle.c: Apply patch from Lee Mallabone to add object properties. * gtk/gtkcellrenderertextpixbuf.c: Apply patch from Lee Mallabone to add object properties. * gtk/gtkcellrenderertext.c: Apply patch from Lee Mallabone to add object properties. * gtk/gtkcellrendererpixbuf.c: Apply patch from Lee Mallabone to add object properties. * gtk/gtkcellrenderer.c: Apply patch from Lee Mallabone to add object properties.
This commit is contained in:

committed by
Jonathan Blandford

parent
3b2ffda1f5
commit
a7f524bbd6
@ -182,15 +182,19 @@ gtk_cell_renderer_set_property (GObject *object,
|
||||
{
|
||||
case PROP_XALIGN:
|
||||
cell->xalign = g_value_get_float (value);
|
||||
g_object_notify (object, "xalign");
|
||||
break;
|
||||
case PROP_YALIGN:
|
||||
cell->yalign = g_value_get_float (value);
|
||||
g_object_notify (object, "yalign");
|
||||
break;
|
||||
case PROP_XPAD:
|
||||
cell->xpad = g_value_get_int (value);
|
||||
g_object_notify (object, "xpad");
|
||||
break;
|
||||
case PROP_YPAD:
|
||||
cell->ypad = g_value_get_int (value);
|
||||
g_object_notify (object, "ypad");
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
|
||||
|
Reference in New Issue
Block a user