Commit e776c665 authored by Matthias Clasen's avatar Matthias Clasen

GtkModelButton: Drop unused :accel property

parent 1fee63d0
......@@ -304,8 +304,6 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE);
g_object_bind_property (item, "role", widget, "action-role", G_BINDING_SYNC_CREATE);
g_object_bind_property (item, "toggled", widget, "active", G_BINDING_SYNC_CREATE);
g_object_bind_property (item, "accel", widget, "accel", G_BINDING_SYNC_CREATE);
g_signal_connect (widget, "clicked", G_CALLBACK (gtk_popover_item_activate), item);
}
......
......@@ -59,7 +59,6 @@ enum
PROP_ICON,
PROP_TEXT,
PROP_ACTIVE,
PROP_ACCEL,
PROP_MENU_NAME,
PROP_INVERTED,
PROP_CENTERED,
......@@ -130,13 +129,6 @@ gtk_model_button_set_text (GtkModelButton *button,
update_visibility (button);
}
static void
gtk_model_button_set_accel (GtkModelButton *button,
const gchar *accel)
{
/* ignore */
}
static void
gtk_model_button_update_state (GtkModelButton *button)
{
......@@ -267,10 +259,6 @@ gtk_model_button_set_property (GObject *object,
gtk_model_button_set_active (button, g_value_get_boolean (value));
break;
case PROP_ACCEL:
gtk_model_button_set_accel (button, g_value_get_string (value));
break;
case PROP_MENU_NAME:
gtk_model_button_set_menu_name (button, g_value_get_string (value));
break;
......@@ -740,9 +728,6 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
g_object_class_install_property (object_class, PROP_ACTIVE,
g_param_spec_boolean ("active", "", "", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_ACCEL,
g_param_spec_string ("accel", "", "", NULL,
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_MENU_NAME,
g_param_spec_string ("menu-name", "", "", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
......
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