Commit 488463ef authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Notify on the ::active property _here_, not in

Tue Nov 27 20:17:55 2001  Owen Taylor  <otaylor@redhat.com>
	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
	Notify on the ::active property _here_, not in
	gtk_check_menu_item_set_active.
parent b2676e92
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrendererpixbuf.c
......
......@@ -204,10 +204,7 @@ gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item,
is_active = is_active != 0;
if (check_menu_item->active != is_active)
{
gtk_menu_item_activate (GTK_MENU_ITEM (check_menu_item));
g_object_notify (G_OBJECT(check_menu_item), "active");
}
gtk_menu_item_activate (GTK_MENU_ITEM (check_menu_item));
}
/**
......@@ -335,6 +332,8 @@ gtk_check_menu_item_activate (GtkMenuItem *menu_item)
gtk_check_menu_item_toggled (check_menu_item);
gtk_widget_queue_draw (GTK_WIDGET (check_menu_item));
g_object_notify (G_OBJECT(check_menu_item), "active");
}
static void
......
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