forked from AuroraMiddleware/gtk
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:
parent
9cde596b73
commit
01d3c73210
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user