diff options
author | Philippe Normand <philn@igalia.com> | 2018-06-08 18:03:22 +0100 |
---|---|---|
committer | Philippe Normand <philn@igalia.com> | 2018-06-08 18:39:38 +0100 |
commit | 542ad4fdc579e689e3e0486e45f4ba7b0c6ee433 (patch) | |
tree | a01b17f031f1c9ffb0938e1d8a963cdf5d3a8254 /gtk/gtkmain.h | |
parent | 085368eb93ecbe2d973fb36c6a8801617d5eaccb (diff) | |
download | gtk+-542ad4fdc579e689e3e0486e45f4ba7b0c6ee433.tar.gz |
gtkmain: Add gtk_is_initialized()
This utility function can be useful to check whether GTK+ was already
initialized or not.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index deacf59b32..438e5985e0 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -78,6 +78,9 @@ void gtk_init (void); GDK_AVAILABLE_IN_ALL gboolean gtk_init_check (void); +GDK_AVAILABLE_IN_ALL +gboolean gtk_is_initialized (void); + #ifdef G_OS_WIN32 /* Variants that are used to check for correct struct packing |