diff options
author | William Wold <[email protected]> | 2019-06-19 19:00:12 +0000 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-21 18:47:54 +0200 |
commit | 3cd3758a35cb0027bee8bda80e89864eaa24c2a8 (patch) | |
tree | a4c4568d365a12036b1a48e7dd17e033ab33c3af /mate-panel/panel-profile.c | |
parent | 0a818dee94ddee0a510973e482def9945c0c267e (diff) | |
download | mate-panel-3cd3758a35cb0027bee8bda80e89864eaa24c2a8.tar.bz2 mate-panel-3cd3758a35cb0027bee8bda80e89864eaa24c2a8.tar.xz |
Update to the new panel_multimonitor functions
Diffstat (limited to 'mate-panel/panel-profile.c')
-rw-r--r-- | mate-panel/panel-profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index 28549fd9..8acd96a9 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -909,7 +909,7 @@ panel_profile_find_empty_spot (GdkScreen *screen, *monitor = 0; *orientation = PANEL_ORIENTATION_TOP; - filled_spots = g_new0 (int, panel_multiscreen_monitors (screen)); + filled_spots = g_new0 (int, panel_multimonitor_monitors ()); for (li = panel_toplevel_list_toplevels (); li != NULL; li = li->next) { PanelToplevel *toplevel = li->data; @@ -924,7 +924,7 @@ panel_profile_find_empty_spot (GdkScreen *screen, filled_spots[toplevel_monitor] |= panel_toplevel_get_orientation (toplevel); } - for (i = 0; i < panel_multiscreen_monitors (screen); i++) { + for (i = 0; i < panel_multimonitor_monitors (); i++) { /* These are ordered based on "priority" of the orientation when picking it */ if ( ! (filled_spots[i] & PANEL_ORIENTATION_TOP)) { |