Use NULL instead of g_direct_equal

GHashTable has built-in support for pointer comparison.
This commit is contained in:
Matthias Clasen 2015-09-12 18:48:17 -04:00
parent f1414a125f
commit 27db410fd5

View File

@ -16681,9 +16681,8 @@ get_auto_child_hash (GtkWidget *widget,
widget->priv->auto_children =
g_hash_table_new_full (g_direct_hash,
g_direct_equal,
NULL,
(GDestroyNotify)g_hash_table_destroy);
NULL,
NULL, (GDestroyNotify)g_hash_table_destroy);
}
auto_child_hash =