forked from AuroraMiddleware/gtk
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:
parent
6f163985a7
commit
65ec902df9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user