Update the patch for GTK+2.

Fix initialization to avoid crash on certain condition.