2006-01-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c: (gtk_action_sync_property): Removed.
This commit is contained in:
Matthias Clasen 2006-01-05 14:40:27 +00:00 committed by Matthias Clasen
parent 2ffc74793b
commit 013349c2ea
3 changed files with 8 additions and 22 deletions

View File

@ -1,3 +1,7 @@
2006-01-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c: (gtk_action_sync_property): Removed.
2006-01-05 Rodrigo Moya <rodrigo@novell.com>
* gtk/gtkbindings.c (binding_signal_new): allocate correct amount for

View File

@ -1,3 +1,7 @@
2006-01-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c: (gtk_action_sync_property): Removed.
2006-01-05 Rodrigo Moya <rodrigo@novell.com>
* gtk/gtkbindings.c (binding_signal_new): allocate correct amount for

View File

@ -573,23 +573,6 @@ remove_proxy (GtkWidget *proxy,
action->private_data->proxies = g_slist_remove (action->private_data->proxies, proxy);
}
static void
gtk_action_sync_property (GtkAction *action,
GParamSpec *pspec,
GtkWidget *proxy)
{
const gchar *property;
GValue value = { 0, };
property = g_param_spec_get_name (pspec);
g_value_init (&value, G_PARAM_SPEC_VALUE_TYPE (pspec));
g_object_get_property (G_OBJECT (action), property, &value);
g_object_set_property (G_OBJECT (proxy), property, &value);
g_value_unset (&value);
}
/**
* _gtk_action_sync_menu_visible:
* @action: a #GtkAction, or %NULL to determine the action from @proxy
@ -835,11 +818,6 @@ disconnect_proxy (GtkAction *action,
G_CALLBACK (gtk_action_activate),
action);
/* disconnect handlers for notify::* signals */
g_signal_handlers_disconnect_by_func (action,
G_CALLBACK (gtk_action_sync_property),
proxy);
g_signal_handlers_disconnect_by_func (action,
G_CALLBACK (gtk_action_sync_stock_id), proxy);