diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-03-31 15:11:10 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-03-31 15:11:10 -0400 |
commit | a1c5a806b3985b442d78506f0afae476567e597a (patch) | |
tree | 43cc71a014eafe1308912667c42bbb2924f67451 /gtk/gtkswitch.h | |
parent | 515f39f161d73e4e58fcb58ed330db11c3bc8642 (diff) | |
download | gtk+-a1c5a806b3985b442d78506f0afae476567e597a.tar.gz |
Convert headers to #pragma once
The conversion was done by guard2one.
Diffstat (limited to 'gtk/gtkswitch.h')
-rw-r--r-- | gtk/gtkswitch.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkswitch.h b/gtk/gtkswitch.h index 74b018926e..52ac3d9c44 100644 --- a/gtk/gtkswitch.h +++ b/gtk/gtkswitch.h @@ -23,8 +23,7 @@ * Based on similar code from Mx. */ -#ifndef __GTK_SWITCH_H__ -#define __GTK_SWITCH_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gtk/gtk.h> can be included directly." @@ -63,4 +62,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSwitch, g_object_unref) G_END_DECLS -#endif /* __GTK_SWITCH_H__ */ |