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:
parent
2416b4278d
commit
4496b60c73
2 changed files with 1 additions and 3 deletions
|
@ -58,8 +58,7 @@ wm_common_get_window_manager_property (Atom atom)
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
static gchar*
|
||||||
char*
|
|
||||||
wm_common_get_current_window_manager (void)
|
wm_common_get_current_window_manager (void)
|
||||||
{
|
{
|
||||||
Atom atom = XInternAtom (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "_NET_WM_NAME", False);
|
Atom atom = XInternAtom (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "_NET_WM_NAME", False);
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#define WM_COMMON_SAWFISH "Sawfish"
|
#define WM_COMMON_SAWFISH "Sawfish"
|
||||||
#define WM_COMMON_UNKNOWN "Unknown"
|
#define WM_COMMON_UNKNOWN "Unknown"
|
||||||
|
|
||||||
gchar *wm_common_get_current_window_manager (void);
|
|
||||||
/* Returns a strv of keybinding names for the window manager;
|
/* Returns a strv of keybinding names for the window manager;
|
||||||
* using _GNOME_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */
|
* using _GNOME_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */
|
||||||
char **wm_common_get_current_keybindings (void);
|
char **wm_common_get_current_keybindings (void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue