Revert "Merge branch 'type-safe-g-clear-pointer-1425' into 'master'"

This reverts merge request !165
This commit is contained in:
Emmanuele Bassi
2018-07-11 21:52:31 +00:00
parent aa6721f1ee
commit d3881bb1bf
4 changed files with 3 additions and 14 deletions

View File

@@ -3378,7 +3378,7 @@ g_object_unref (gpointer _object)
**/
#undef g_clear_object
void
g_clear_object (GObject **object_ptr)
g_clear_object (volatile GObject **object_ptr)
{
g_clear_pointer (object_ptr, g_object_unref);
}