[gnome-panel/wip-warnings] multiscreen: make panel_multiscreen_reinit static



commit 8c8ac2317c38c2132b3b28104018fe1665a23832
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Feb 25 00:04:49 2020 +0100

    multiscreen: make panel_multiscreen_reinit static

 gnome-panel/panel-multiscreen.c | 4 +++-
 gnome-panel/panel-multiscreen.h | 1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index c171db14e..8a6668a97 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -41,6 +41,8 @@ static gboolean       have_randr  = FALSE;
 static gboolean       have_randr_1_3 = FALSE;
 static guint          reinit_id   = 0;
 
+static void panel_multiscreen_reinit (void);
+
 static gboolean
 _panel_multiscreen_output_should_be_first (Display       *xdisplay,
                                           RROutput       output,
@@ -446,7 +448,7 @@ panel_multiscreen_init (void)
        initialized = TRUE;
 }
 
-void
+static void
 panel_multiscreen_reinit (void)
 {
        GdkScreen *screen;
diff --git a/gnome-panel/panel-multiscreen.h b/gnome-panel/panel-multiscreen.h
index 9876cdbfd..2e97ae21c 100644
--- a/gnome-panel/panel-multiscreen.h
+++ b/gnome-panel/panel-multiscreen.h
@@ -29,7 +29,6 @@
 #include <gtk/gtk.h>
 
 void   panel_multiscreen_init                  (void);
-void   panel_multiscreen_reinit                (void);
 
 int    panel_multiscreen_x                     (GdkScreen *screen,
                                                 int        monitor);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]