From 9d76273d550a6ec24e716beb63e3c31c6f71552b Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Tue, 8 Jul 2014 13:12:49 +0200 Subject: Removed obsolete compatibility code --- mate-panel/panel-action-button.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mate-panel/panel-action-button.c') diff --git a/mate-panel/panel-action-button.c b/mate-panel/panel-action-button.c index 30e03541..67be0f78 100644 --- a/mate-panel/panel-action-button.c +++ b/mate-panel/panel-action-button.c @@ -713,18 +713,16 @@ panel_action_button_load (PanelActionButtonType type, const char *id) { PanelActionButton *button; - PanelObjectType object_type; g_return_if_fail (panel != NULL); button = g_object_new (PANEL_TYPE_ACTION_BUTTON, "action-type", type, NULL); - object_type = PANEL_OBJECT_ACTION; button->priv->info = mate_panel_applet_register (GTK_WIDGET (button), NULL, NULL, panel, locked, position, - exactpos, object_type, id); + exactpos, PANEL_OBJECT_ACTION, id); if (!button->priv->info) { gtk_widget_destroy (GTK_WIDGET (button)); return; -- cgit v1.2.1