summaryrefslogtreecommitdiff
path: root/mate-panel/panel-multiscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-multiscreen.c')
-rw-r--r--mate-panel/panel-multiscreen.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mate-panel/panel-multiscreen.c b/mate-panel/panel-multiscreen.c
index 64dda92e..7c6df59f 100644
--- a/mate-panel/panel-multiscreen.c
+++ b/mate-panel/panel-multiscreen.c
@@ -481,7 +481,7 @@ panel_multiscreen_monitors (GdkScreen *screen)
{
int n_screen;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 1);
@@ -494,7 +494,7 @@ panel_multiscreen_x (GdkScreen *screen,
{
int n_screen;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 0);
g_return_val_if_fail (monitor >= 0 && monitor < monitors [n_screen], 0);
@@ -508,7 +508,7 @@ panel_multiscreen_y (GdkScreen *screen,
{
int n_screen;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 0);
g_return_val_if_fail (monitor >= 0 && monitor < monitors [n_screen], 0);
@@ -522,7 +522,7 @@ panel_multiscreen_width (GdkScreen *screen,
{
int n_screen;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 0);
g_return_val_if_fail (monitor >= 0 && monitor < monitors [n_screen], 0);
@@ -536,7 +536,7 @@ panel_multiscreen_height (GdkScreen *screen,
{
int n_screen;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 0);
g_return_val_if_fail (monitor >= 0 && monitor < monitors [n_screen], 0);
@@ -588,7 +588,7 @@ panel_multiscreen_get_monitor_at_point (GdkScreen *screen,
/* not -1 as callers expect a real monitor */
g_return_val_if_fail (GDK_IS_SCREEN (screen), 0);
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
n_monitors = monitors[n_screen];
geoms = geometries[n_screen];
@@ -653,7 +653,7 @@ panel_multiscreen_is_at_visible_extreme (GdkScreen *screen,
MonitorBounds monitor;
int n_screen, i;
- n_screen = gdk_screen_get_number (screen);
+ n_screen = gdk_x11_screen_get_screen_number (screen);
*leftmost = TRUE;
*rightmost = TRUE;