Also support "draw_as_radio".

2003-08-29  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_get_property):
	(gtk_check_menu_item_set_property): Also support "draw_as_radio".
This commit is contained in:
Matthias Clasen 2003-08-29 19:19:44 +00:00 committed by Matthias Clasen
parent 2ed71f131e
commit 24fb8e7d6f
6 changed files with 16 additions and 0 deletions

View File

@ -2,6 +2,8 @@
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
as a separate property, not as an alias of "inconsistent".
(gtk_check_menu_item_get_property):
(gtk_check_menu_item_set_property): Also support "draw_as_radio".
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>

View File

@ -2,6 +2,8 @@
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
as a separate property, not as an alias of "inconsistent".
(gtk_check_menu_item_get_property):
(gtk_check_menu_item_set_property): Also support "draw_as_radio".
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>

View File

@ -2,6 +2,8 @@
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
as a separate property, not as an alias of "inconsistent".
(gtk_check_menu_item_get_property):
(gtk_check_menu_item_set_property): Also support "draw_as_radio".
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>

View File

@ -2,6 +2,8 @@
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
as a separate property, not as an alias of "inconsistent".
(gtk_check_menu_item_get_property):
(gtk_check_menu_item_set_property): Also support "draw_as_radio".
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>

View File

@ -2,6 +2,8 @@
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
as a separate property, not as an alias of "inconsistent".
(gtk_check_menu_item_get_property):
(gtk_check_menu_item_set_property): Also support "draw_as_radio".
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>

View File

@ -494,6 +494,9 @@ gtk_check_menu_item_get_property (GObject *object,
case PROP_INCONSISTENT:
g_value_set_boolean (value, checkitem->inconsistent);
break;
case PROP_DRAW_AS_RADIO:
g_value_set_boolean (value, checkitem->draw_as_radio);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@ -517,6 +520,9 @@ gtk_check_menu_item_set_property (GObject *object,
case PROP_INCONSISTENT:
gtk_check_menu_item_set_inconsistent (checkitem, g_value_get_boolean (value));
break;
case PROP_DRAW_AS_RADIO:
gtk_check_menu_item_set_draw_as_radio (checkitem, g_value_get_boolean (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;