diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-03-16 14:14:41 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-03-16 14:14:41 -0300 |
commit | 4496b60c732984fb59c9a63c2145eb7299888d12 (patch) | |
tree | 0d8d6f23b381ee70149ecddc1442b6d5eba97e42 /panels | |
parent | 2416b4278d7dccd9075d9d662da945606387cccb (diff) | |
download | gnome-control-center-4496b60c732984fb59c9a63c2145eb7299888d12.tar.gz |
keyboard: Make unused public function static
It is not used outside wm-common.c, so let's not export
it as a public function.
Diffstat (limited to 'panels')
-rw-r--r-- | panels/keyboard/wm-common.c | 3 | ||||
-rw-r--r-- | panels/keyboard/wm-common.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/panels/keyboard/wm-common.c b/panels/keyboard/wm-common.c index c7270d139..458a7ee25 100644 --- a/panels/keyboard/wm-common.c +++ b/panels/keyboard/wm-common.c @@ -58,8 +58,7 @@ wm_common_get_window_manager_property (Atom atom) return retval; } - -char* +static gchar* wm_common_get_current_window_manager (void) { Atom atom = XInternAtom (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "_NET_WM_NAME", False); diff --git a/panels/keyboard/wm-common.h b/panels/keyboard/wm-common.h index 8e4f2c44b..c68b7ab84 100644 --- a/panels/keyboard/wm-common.h +++ b/panels/keyboard/wm-common.h @@ -5,7 +5,6 @@ #define WM_COMMON_SAWFISH "Sawfish" #define WM_COMMON_UNKNOWN "Unknown" -gchar *wm_common_get_current_window_manager (void); /* Returns a strv of keybinding names for the window manager; * using _GNOME_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */ char **wm_common_get_current_keybindings (void); |