Be more careful when casting. (#304089, Philip Langdale)

2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
	casting.  (#304089, Philip Langdale)
This commit is contained in:
Matthias Clasen 2005-05-16 05:03:44 +00:00 committed by Matthias Clasen
parent 9cde596b73
commit 01d3c73210
4 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-05-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
casting. (#304089, Philip Langdale)
* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
the label if we need to. (#169390, Felix Riemann)

View File

@ -1,5 +1,8 @@
2005-05-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
casting. (#304089, Philip Langdale)
* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
the label if we need to. (#169390, Felix Riemann)

View File

@ -1,5 +1,8 @@
2005-05-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
casting. (#304089, Philip Langdale)
* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
the label if we need to. (#169390, Felix Riemann)

View File

@ -276,7 +276,7 @@ connect_proxy (GtkAction *action,
toggle_action = GTK_TOGGLE_ACTION (action);
/* do this before hand, so that we don't call the "activate" handler */
if (GTK_IS_MENU_ITEM (proxy))
if (GTK_IS_CHECK_MENU_ITEM (proxy))
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (proxy),
toggle_action->private_data->active);
else if (GTK_IS_TOGGLE_TOOL_BUTTON (proxy))