summaryrefslogtreecommitdiff
path: root/glib/src/thread.hg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/thread.hg')
-rw-r--r--glib/src/thread.hg6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/src/thread.hg b/glib/src/thread.hg
index dd116c35..b5efa43b 100644
--- a/glib/src/thread.hg
+++ b/glib/src/thread.hg
@@ -106,7 +106,7 @@ _WRAP_ENUM(ThreadPriority, GThreadPriority, NO_GTYPE)
/** Initializes the GLib thread system.
* @deprecated Calling thread_init() is no longer necessary and no longer has any effect.
*/
-void thread_init(GThreadFunctions* vtable = 0);
+void thread_init(GThreadFunctions* vtable = nullptr);
/** Returns whether the thread system is initialized.
* @return @c true, if the thread system is initialized.
@@ -630,7 +630,7 @@ private:
* @code
* Glib::Cond data_cond;
* Glib::Mutex data_mutex;
- * void* current_data = 0;
+ * void* current_data = nullptr;
*
* void push_data(void* data)
* {
@@ -648,7 +648,7 @@ private:
* data_cond.wait(data_mutex);
*
* void *const data = current_data;
- * current_data = 0;
+ * current_data = nullptr;
*
* return data;
* }