diff options
author | Gymnasiast <[email protected]> | 2014-07-08 13:12:49 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-29 14:07:19 +0200 |
commit | 9d76273d550a6ec24e716beb63e3c31c6f71552b (patch) | |
tree | baf90936d4b6fd16adc90cdac1d9ac9ea49b6dd5 /mate-panel/panel-action-button.c | |
parent | f22c5a77f194d54d811cb21916edb5f1fa909b53 (diff) | |
download | mate-panel-9d76273d550a6ec24e716beb63e3c31c6f71552b.tar.bz2 mate-panel-9d76273d550a6ec24e716beb63e3c31c6f71552b.tar.xz |
Removed obsolete compatibility code
Diffstat (limited to 'mate-panel/panel-action-button.c')
-rw-r--r-- | mate-panel/panel-action-button.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |