Commit 65ec902d authored by Matthias Clasen's avatar Matthias Clasen

Remove overhead in gdk_window_get_user_data

This function is called very frequently during in GTK+'s drawing
paths, and thus should not carry unexpected costs.
parent 6f163985
......@@ -2174,8 +2174,6 @@ void
gdk_window_get_user_data (GdkWindow *window,
gpointer *data)
{
g_return_if_fail (GDK_IS_WINDOW (window));
*data = window->user_data;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment