keyboard: Make unused public function static

It is not used outside wm-common.c, so let's not export
it as a public function.
This commit is contained in:
Georges Basile Stavracas Neto 2018-03-16 14:14:41 -03:00
parent 2416b4278d
commit 4496b60c73
2 changed files with 1 additions and 3 deletions

View file

@ -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);

View file

@ -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);