summaryrefslogtreecommitdiff
path: root/gtk/gtktestutils.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-31 15:11:10 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-03-31 15:11:10 -0400
commita1c5a806b3985b442d78506f0afae476567e597a (patch)
tree43cc71a014eafe1308912667c42bbb2924f67451 /gtk/gtktestutils.h
parent515f39f161d73e4e58fcb58ed330db11c3bc8642 (diff)
downloadgtk+-a1c5a806b3985b442d78506f0afae476567e597a.tar.gz
Convert headers to #pragma once
The conversion was done by guard2one.
Diffstat (limited to 'gtk/gtktestutils.h')
-rw-r--r--gtk/gtktestutils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtktestutils.h b/gtk/gtktestutils.h
index 1ea7c0a1b9..4ef8fd0bb8 100644
--- a/gtk/gtktestutils.h
+++ b/gtk/gtktestutils.h
@@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __GTK_TEST_UTILS_H__
-#define __GTK_TEST_UTILS_H__
+#pragma once
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
@@ -42,4 +41,3 @@ void gtk_test_widget_wait_for_draw (GtkWidget *widget);
G_END_DECLS
-#endif /* __GTK_TEST_UTILS_H__ */