[gnome-panel/wip-warnings: 2/21] multiscreen: remove unused panel_multiscreen_monitors()
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-warnings: 2/21] multiscreen: remove unused panel_multiscreen_monitors()
- Date: Tue, 25 Feb 2020 15:04:17 +0000 (UTC)
commit 95b68b7b06923cd38dc01e2986231c93ad200654
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Feb 25 15:57:29 2020 +0100
multiscreen: remove unused panel_multiscreen_monitors()
gnome-panel/panel-multiscreen.c | 12 ------------
gnome-panel/panel-multiscreen.h | 2 --
2 files changed, 14 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index 935a0665a..caf4ae398 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -487,18 +487,6 @@ panel_multiscreen_reinit (void)
g_list_free (toplevels);
}
-int
-panel_multiscreen_monitors (GdkScreen *screen)
-{
- int n_screen;
-
- n_screen = gdk_screen_get_number (screen);
-
- g_return_val_if_fail (n_screen >= 0 && n_screen < screens, 1);
-
- return monitors [n_screen];
-}
-
int
panel_multiscreen_x (GdkScreen *screen,
int monitor)
diff --git a/gnome-panel/panel-multiscreen.h b/gnome-panel/panel-multiscreen.h
index 652faac2a..c55fcdde9 100644
--- a/gnome-panel/panel-multiscreen.h
+++ b/gnome-panel/panel-multiscreen.h
@@ -31,8 +31,6 @@
void panel_multiscreen_init (void);
void panel_multiscreen_reinit (void);
-int panel_multiscreen_monitors (GdkScreen *screen);
-
int panel_multiscreen_x (GdkScreen *screen,
int monitor);
int panel_multiscreen_y (GdkScreen *screen,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]