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.
This commit is contained in:
Matthias Clasen 2015-09-27 14:06:27 -04:00
parent 6f163985a7
commit 65ec902df9

View File

@ -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;
}