forked from AuroraMiddleware/gtk
Use NULL instead of g_direct_equal
GHashTable has built-in support for pointer comparison.
This commit is contained in:
parent
f1414a125f
commit
27db410fd5
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user