Commit 01d3c732 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 9cde596b
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)
......
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)
......
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)
......
......@@ -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))
......
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