prefs: Make init function private
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1833>
This commit is contained in:
parent
7b390b4c5b
commit
af501ac472
@ -79,11 +79,11 @@
|
||||
#include "clutter/clutter.h"
|
||||
#include "core/display-private.h"
|
||||
#include "core/main-private.h"
|
||||
#include "core/prefs-private.h"
|
||||
#include "core/util-private.h"
|
||||
#include "meta/compositor.h"
|
||||
#include "meta/meta-backend.h"
|
||||
#include "meta/meta-x11-errors.h"
|
||||
#include "meta/prefs.h"
|
||||
#include "ui/ui.h"
|
||||
#include "x11/session.h"
|
||||
|
||||
|
26
src/core/prefs-private.h
Normal file
26
src/core/prefs-private.h
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Red Hat Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
* 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PREFS_PRIVATE_H
|
||||
#define PREFS_PRIVATE_H
|
||||
|
||||
void meta_prefs_init (void);
|
||||
|
||||
#endif /* PREFS_PRIVATE_H */
|
@ -36,6 +36,7 @@
|
||||
#include "compositor/meta-plugin-manager.h"
|
||||
#include "core/keybindings-private.h"
|
||||
#include "core/meta-accel-parse.h"
|
||||
#include "core/prefs-private.h"
|
||||
#include "core/util-private.h"
|
||||
#include "meta/prefs.h"
|
||||
#include "x11/meta-x11-display-private.h"
|
||||
|
@ -388,6 +388,7 @@ mutter_sources = [
|
||||
'core/meta-workspace-manager-private.h',
|
||||
'core/place.c',
|
||||
'core/place.h',
|
||||
'core/prefs-private.h',
|
||||
'core/prefs.c',
|
||||
'core/restart.c',
|
||||
'core/stack.c',
|
||||
|
@ -119,9 +119,6 @@ META_EXPORT
|
||||
void meta_prefs_remove_listener (MetaPrefsChangedFunc func,
|
||||
gpointer user_data);
|
||||
|
||||
META_EXPORT
|
||||
void meta_prefs_init (void);
|
||||
|
||||
META_EXPORT
|
||||
const char* meta_preference_to_string (MetaPreference pref);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user