diff --git a/widget/src/gtk/nsWindow.cpp b/widget/src/gtk/nsWindow.cpp index 2ee03b59fcbd..a9f7f2566302 100644 --- a/widget/src/gtk/nsWindow.cpp +++ b/widget/src/gtk/nsWindow.cpp @@ -142,7 +142,7 @@ nsWindow::nsWindow() mBlockFocusEvents = PR_FALSE; // init the hash table if it hasn't happened already if (mWindowLookupTable == NULL) { - mWindowLookupTable = g_hash_table_new(g_int_hash, g_int_equal); + mWindowLookupTable = g_hash_table_new(g_direct_hash, g_direct_equal); } if (mLastLeaveWindow == this) mLastLeaveWindow = NULL;