[gnome-panel/wip/muktupavels/default-layout: 3/9] layout: make panel_layout_append_from_file static



commit e5cc6e83078872f67787a07639123f615c613601
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Dec 16 13:53:29 2019 +0200

    layout: make panel_layout_append_from_file static

 gnome-panel/panel-layout.c | 2 +-
 gnome-panel/panel-layout.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gnome-panel/panel-layout.c b/gnome-panel/panel-layout.c
index bde670936..8696d94ba 100644
--- a/gnome-panel/panel-layout.c
+++ b/gnome-panel/panel-layout.c
@@ -543,7 +543,7 @@ panel_layout_append_group (GKeyFile    *keyfile,
         return FALSE;
 }
 
-void
+static void
 panel_layout_append_from_file (const char *layout_file)
 {
         GError    *error = NULL;
diff --git a/gnome-panel/panel-layout.h b/gnome-panel/panel-layout.h
index ed3af9647..8f9b0abcb 100644
--- a/gnome-panel/panel-layout.h
+++ b/gnome-panel/panel-layout.h
@@ -30,8 +30,6 @@
 
 G_BEGIN_DECLS
 
-void panel_layout_append_from_file (const char *layout_file);
-
 gboolean panel_layout_load         (void);
 
 gboolean panel_layout_is_writable  (void);


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