Use gtk_* instead of g_* functions to ensure that the X11-lock is held