mouse: Replace ifdefs with #pragma once

This commit is contained in:
Robert Ancell 2019-11-21 20:36:35 +13:00 committed by Georges Basile Stavracas Neto
parent cd813016e4
commit 17c5c3932a
2 changed files with 5 additions and 7 deletions

View file

@ -18,15 +18,16 @@
* Author: Felipe Borges <feborges@redhat.com>
*/
#ifndef _CC_MOUSE_CAPS_HELPER_H_
#define _CC_MOUSE_CAPS_HELPER_H_
#pragma once
#include <glib.h>
G_BEGIN_DECLS
gboolean cc_touchpad_check_capabilities (gboolean *have_two_finger_scrolling,
gboolean *have_edge_scrolling,
gboolean *have_tap_to_click);
gboolean cc_synaptics_check (void);
#endif /* _CC_MOUSE_CAPS_HELPER_H_ */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _CC_MOUSE_TEST_H
#define _CC_MOUSE_TEST_H
#pragma once
#include <gtk/gtk.h>
@ -31,5 +30,3 @@ G_DECLARE_FINAL_TYPE (CcMouseTest, cc_mouse_test, CC, MOUSE_TEST, GtkBin)
GtkWidget *cc_mouse_test_new (void);
G_END_DECLS
#endif /* _CC_MOUSE_TEST_H */