diff options
author | monsta <[email protected]> | 2019-07-22 17:58:13 +0300 |
---|---|---|
committer | Clement Lefebvre <[email protected]> | 2019-07-25 13:20:26 +0200 |
commit | 053315539251d211e156dc7c5e99f5f8b416de4f (patch) | |
tree | 14262f100eb603c04a3717b46d1300f78b369e7b | |
parent | 71f796cdf6bf15fd986ea3edf91da2380488dc3b (diff) | |
download | mate-panel-053315539251d211e156dc7c5e99f5f8b416de4f.tar.bz2 mate-panel-053315539251d211e156dc7c5e99f5f8b416de4f.tar.xz |
panel-toplevel: fix coding style and spacing a bit
-rw-r--r-- | mate-panel/panel-toplevel.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index 223d72b0..9af07674 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -2931,10 +2931,8 @@ panel_toplevel_move_resize_window (PanelToplevel *toplevel, toplevel->priv->geometry.width, toplevel->priv->geometry.height); - if(resize || move) - { - for(list = toplevel->priv->panel_widget->applet_list;list!=NULL;list = g_list_next(list)) - { + if (resize || move) { + for (list = toplevel->priv->panel_widget->applet_list; list != NULL; list = g_list_next (list)) { AppletData *ad = list->data; id = mate_panel_applet_get_id_by_widget (ad->applet); @@ -2946,8 +2944,7 @@ panel_toplevel_move_resize_window (PanelToplevel *toplevel, stick = g_settings_get_boolean (info->settings, PANEL_OBJECT_PANEL_RIGHT_STICK_KEY); - if(stick) - { + if (stick) { position = g_settings_get_int (info->settings, PANEL_OBJECT_POSITION_KEY); ad->pos = toplevel->priv->geometry.width - position; } |